Submit form and pop up a AjaxModalDialog confirming submission
Submit form and pop up a AjaxModalDialog confirming submission
- Subject: Submit form and pop up a AjaxModalDialog confirming submission
- From: Benjamin Chew <email@hidden>
- Date: Wed, 21 Apr 2010 10:56:23 -0700
How do you tie a form submission to an AjaxModalDialog?
I'm trying to submit a form, process the values with the method "purchase" and pop up the result (added to cart or error). Right now I have this and it doesn't work:
<wo:form>
<wo:FocusTextField id = "purchasePart" size = "20" value = "$purchasePartNumber" focus = "true" />
<wo:textfield id = "purchaseQty" size = "20" value = "$purchaseQty" numberformat = "0" />
<wo:AjaxModalDialogOpener dialogId = "addToCartModalDialog"><wo:submitButton action = "$purchase">Purchase</wo:submitButton></wo:AjaxModalDialogOpener>
</wo:form>
Thanks,
Ben
_______________________________________________
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