i am creating a Search function.

If the user want to see the 'closed jobs' and a partial word from the 
description...

so I want to add different qualifiers depending on the selection of the user 
and I don't want to add a complicated 'if then' statement.

EOQualifier qual1 = something..

if this.jobDescription is not null (meaning the user put something here)

qual1.addQualifierForJobDescription.

the end result is a qualifier built of only the items that the user want to 
search through.

oh they added a date... 

qual1.addQualifierForDate

then present this concatenated qualifier to the fetch...

I understand how to make the qualifiers. I just don't understand how to make a 
single qualifier out of many individual qualifiers..

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