From: Henrique P. <hp...@gm...> - 2009-01-30 15:24:52
|
Hi Juergen, Juergen Lorenz Simon wrote: > The dialog opens alright, but the inner form is gone! I know ERXForm > skips itself > when inside another form, however the dialog seems to open a new page, > so this > restriction should not apply? Could this be some bug with ERXForm and > AjaxModalDialog? Just to explain a little bit better. The contents of your AjaxModalDialog are loaded right after the <body> tag. So, everything you add inside of your AjaxModalDialog is loaded outside of the outer WOForm. On the other hand, the component processing is made using the components hierarchy and the inner WOForm is considered inside of the outer WOForm. So, the inner WOForm is omitted. For that reason you should declare the AjaxModalDialogOpener inside the form and the AjaxModalDialog outside of it. The AjaxExample app has a very descriptive illustration of this situation. Hope this help. Cheers, Henrique |