AjaxModalContainer question..
AjaxModalContainer question..
- Subject: AjaxModalContainer question..
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 21 Apr 2009 10:02:30 -0700 (PDT)
I am experimenting with the AjaxModalContainer and I noticed that it has a feature that I think is neat. I just want to be sure it is a feature...
I am using the AjaxModalContainer to edit the meta data from a table. User clicks the row and the AjaxModalContainer comes up.
I have a save button and a cancel button. Of course the cancel button reverts the editing context. I was experimenting and I notice that clicking the 'close' link in the upper right corner also closes the container but doesn't leave me in a dirty state.
I don't quite understand the mechanics of what is going on but thank you for a wonderful Container.
thank heavens I found:
AjaxUtils.appendScript(context(), "AMC.close();") in the example...
I am questioning the dirtyness of the object. What is the magic that is going on when I click the 'close' link that doesn't leave the object filled with trash?
Ted
_______________________________________________
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