Re: ModalDialog example
Re: ModalDialog example
- Subject: Re: ModalDialog example
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 11 May 2010 12:28:00 -0700 (PDT)
I figured it out.....
EOQualifier theSearchQualifier;
if (includeClosedJobs) {
theSearchQualifier = ERXQ.is("isComplete", includeClosedJobs).or(ERXQ.not(ERXQ.is("isComplete", includeClosedJobs)));
} else {
theSearchQualifier = ERXQ.is("isComplete", includeClosedJobs);
} if (this.theDescString != null) {
theSearchQualifier = ERXQ.and(ERXQ.contains("jobDescription", this.theDescString), (theSearchQualifier));
}
((Session)session()).setSearchQualifier(theSearchQualifier);
AjaxModalDialog.close(context());
return null;
Now I can add to the EOQualifier and pass this concatenated qualifier to the fetch. It just took looking at it for a while and all my years of training at Juilliard didn't seem to help...
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