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 protected]> wrote:

> From: Chuck Hill <[email protected]>
> Subject: Re: ModalDialog example
> To: "Theodore Petrosky" <[email protected]>
> Cc: [email protected]
> 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 protected])
> > Help/Unsubscribe/Update your Subscription:
> > http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> > 
> > This email sent to [email protected]
> 
> --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 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