It was me being brain dead...

When I show the AMC, I fire an action that creates and inserts into the EC a 
'newJob'. The problem was that if the user presses the 'close' label, the EC 
was left dirty....

So I woke up this morning and said, "Why not just put a EC.revert(); at the top 
of my createNewJob()....".

But yes, I am also using the AMdilog now instead of the container.

Thanks for responding,

Ted


--- On Sat, 5/1/10, Farrukh Ijaz <[email protected]> wrote:

> From: Farrukh Ijaz <[email protected]>
> Subject: Re: action on close....
> To: "Theodore Petrosky" <[email protected]>
> Cc: [email protected]
> Date: Saturday, May 1, 2010, 12:02 AM
> If AjaxModalContainer is not the
> constraint, try using AjaxModalDialog.
> 
> Everything is possible BTW with the technologies available
> today. If you don't find simple/straightforward option,
> there are workarounds. A simple workaround is that, if you
> can use jQuery, you can quite easily attach a javascript
> function, and inside that function you can create an Ajax
> request to your action.
> 
> I believe someone would definitely come up with the easiest
> solution.
> 
> Farrukh 
> 
> On 2010-05-01, at 6:38 AM, Theodore Petrosky wrote:
> 
> > Is it possible to fire an action when clicking the
> closeLabel in a AjaxModalContainer?
> > 
> > if the docs make this clear, I don't understand how to
> read the docs....
> > 
> > 
> > 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/farrukh.ijaz%40fuegodigitalmedia.com
> > 
> > This email sent to [email protected]
> 
> 



 _______________________________________________
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