Re: ModalDialog example
Re: ModalDialog example
- Subject: Re: ModalDialog example
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 11 May 2010 11:26:53 -0700 (PDT)
boy I screwed up that reply...
I am opening a modalDialog with this
SearchJobsModalDilog : AjaxModalDialog {
id = "searchJobsMD";
action = searchJobs;
label = "Search";
class= "text1";
width = 300;
overlayOpacity = "0.4";
overlayDuration = "0.1";
slideDownDuration = "0.2";
slideUpDuration = "0.2";
locked = true;
onClose = refreshJobListWithQualifier;
closeUpdateContainerID = "tableBody";
}
and :
public WOActionResults searchJobs() {
WorkListSearchDialogComponent nextPage = (WorkListSearchDialogComponent)pageWithName(WorkListSearchDialogComponent.class.getName());
return nextPage;
}
the component that is generating the contents of the modalDialog has a setter and getter... so right before the return I put
nextPage.setMyText("hello:);
return nextPage;
so far so good. I can send stuff to the AMD component..
I want to send stuff from the AMD back to the Component that originally called it... I don't get that..
Ted
--- On Tue, 5/11/10, Chuck Hill <email@hidden> wrote:
> From: Chuck Hill <email@hidden>
> Subject: Re: ModalDialog example
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> Date: Tuesday, May 11, 2010, 1:35 PM
> Not sure what you are doing.
> Can you provide more details about what you are trying to
> accomplish?
>
>
> On May 11, 2010, at 7:21 AM, Theodore Petrosky wrote:
>
> > I am playing with the ModalDialog examples. I see that
> if I create a ModalDialog with external component, I can
> create setters and getters in the AMD Component and pass
> stuff to the new component.
> >
> > I can not seem to figure out how to pass stuff back to
> the 'calling' component. I created setters and getters in
> the calling component and I thought I could access them...
> >
> > Maybe there is some more magic that I am missing. Of
> course I could just pass my data to the session()... but I
> thought there is a different way.
> >
> >
> > 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
>
> --Chuck Hill
> Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase
> their overall knowledge of WebObjects or who are trying to
> solve specific problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
>
>
_______________________________________________
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