Defect #562
Form in Dialog does not appear to work
0%
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
History
Updated by Patrick Talbot over 12 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
Updated by Tom Parry over 12 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.
Updated by Patrick Talbot over 12 years ago
Thanks Tom!
I will have a look, test on Smart and Web and integrate asap.
Updated by Patrick Talbot over 12 years ago
- Status changed from New to Closed
Patch integrated in v1.5.2 - fix for Web client added as well.
Updated by Tom Parry over 12 years ago
Great!
I will go and use this super new version in my app. I hope the web client changes were straight forward.