• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: creating a qualifier in EOModeler with like and a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating a qualifier in EOModeler with like and a variable


  • Subject: Re: creating a qualifier in EOModeler with like and a variable
  • From: Art Isbell <email@hidden>
  • Date: Thu, 21 Aug 2003 17:34:03 -1000

On Thursday, August 21, 2003, at 04:57  PM, Jeff Martirano wrote:

Yeah, I already have it working with preset strings, and variables, but when I put a variable with a wildcard (title like $partialWord?) or similar variations in the Qualifier panel in EOModeler it doesn't work. Your methods also of course work for setting qualifiers programmatically in a Java class, but I'd like to be able to do it using EOModeler.

Ah, I didn't read your original posting carefully enough. EOModeler doesn't understand wildcard characters to my knowledge. What you'd need to do is specify "title like $partialWord" in EOModeler and then append a wildcard character to the partialWord variable in the action method that performs the fetch. This is a one-liner for each variable that uses a wildcard character.


A gotcha is to forget to remove the wildcard character from the variable value after the fetch so that it won't display on your page with the wildcard character included.

Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: creating a qualifier in EOModeler with like and a variable (From: Jeff Martirano <email@hidden>)

  • Prev by Date: Re: creating a qualifier in EOModeler with like and a variable
  • Next by Date: session control
  • Previous by thread: Re: creating a qualifier in EOModeler with like and a variable
  • Next by thread: session control
  • Index(es):
    • Date
    • Thread