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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to