Re: action on close....
Re: action on close....
- Subject: Re: action on close....
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 1 May 2010 04:41:50 -0700 (PDT)
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@hidden> wrote:
> From: Farrukh Ijaz <email@hidden>
> Subject: Re: action on close....
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> 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@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
>
_______________________________________________
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