AjaxModalDialog
AjaxModalDialog
- Subject: AjaxModalDialog
- From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>
- Date: Tue, 03 Jan 2012 14:12:24 +0100
Hello,
We used the Ajax framework with webobjects 5.3 and since I updated to version 5.4 (last month), some AjaxModalDialog doesn't work anymore... those that are inserted in a WOForm.
Doesn't work means that a click on the submit button generates the _javascript_ error below :
Erreur : form is null Ligne : 379
I digged into the html code and found that the WOForm inside the AjaxModalDialog (code below) is not generated id the modal dialog is already in a WOForm... so the AjaxSubmitButton (_javascript_) can not send the form.
But sometimes (example : opening a wizard inside a component inside a form), the modal dialog contained in a component has to be in a form because the parent contains a form.
Worked like a charm with wo 5.3 no more with wo 5.4
Any idea ?
Jérémy
--
<webobject name = "AjaxModalDialog"> <webobject name = "WOForm"> <p><webobject name = "AjaxSubmitButton" /></p> </webobject> </webobject>
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden