Project

General

Profile

Defect #562

Form in Dialog does not appear to work

Added by Tom Parry over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
10/14/2012
Due date:
% Done:

0%

Estimated time:
Browser (if web client):
any

Description

The replacement for the plugins.dialogs.xxx appear to work fine.
I am trying to use form in dialog in both smart and web client using same code.
The form that I have is already defined using the Servoy developer. I pass the form name to the scopes.globals.DIALOGS.showFormInModalDialog(...)
bit it gives an error saying form already exists and then an exception raised when attempting to do form.setupForm(...).
I found the cause and fixed in my copy. Basically the existing form was not extended properly due to naming issues.
Has anyone had this issue?
I can also check out the trunk and make a patch if anyone is interested.


Files

patch_mod_dialog_module.txt (5.19 KB) patch_mod_dialog_module.txt Tom Parry, 11/20/2012 05:21 AM

History

#1

Updated by Patrick Talbot over 11 years ago

Hi Tom,
I just hit the same issue. Could you submit a patch so that I can test it and integrate?
Thanks,
-Patrick

#2

Updated by Tom Parry over 11 years ago

I have attached the patch that I made. I know it all works well in Smart client. Not sure if I fully tested or checked in web client. The changes I made may have to be applied for the web client case. There were some changes made to the trunk after I took my copy a month ago so I hope that it integrates ok.

#3

Updated by Patrick Talbot over 11 years ago

Thanks Tom!
I will have a look, test on Smart and Web and integrate asap.

#4

Updated by Patrick Talbot over 11 years ago

  • Status changed from New to Closed

Patch integrated in v1.5.2 - fix for Web client added as well.

#5

Updated by Tom Parry over 11 years ago

Great!
I will go and use this super new version in my app. I hope the web client changes were straight forward.

Also available in: Atom PDF