Conditionally Opening AjaxModalDialog
Conditionally Opening AjaxModalDialog
- Subject: Conditionally Opening AjaxModalDialog
- From: Joe Kramer <email@hidden>
- Date: Wed, 08 Jun 2011 18:30:59 -0700
Hi all,
I feel like this should be easy, but I am struggling. I have an AjaxModalDialogOpener inside of a form. When I click the opener, I want to save the data from that form by calling a server side action. If the save is successful, I want to open the AjaxModalDialog, but if the save fails I want to update an AjaxUpdateContainer on the page with the error messages. I'm pretty sure I've tried every combination of the action, enabled, and onFailure bindings on the AjaxModalDialogOpener, but nothing has worked as I want it to so far. Am I missing something obvious? Could someone kindly point me in the right direction?
Thanks,
Joe
_______________________________________________
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