• 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: wo features
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wo features


  • Subject: Re: wo features
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 20 Feb 2008 11:57:34 -0500

HasItems:  WOConditinal {
var1 = theStore.itemsWithCategoryId@[123];
var2 = session.sessionUser.isMemberOf@theStore;
expr = (var2 == true && var1 > 0);
}
You can do all of this (well except for the expression operating on other bindings of the same object, but that's sort of weird anyway) with WOOgnl.

ms

_______________________________________________
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


References: 
 >Re: EOF operation ordering (From: Dov Rosenberg <email@hidden>)
 >Re: EOF operation ordering (From: Mike Schrag <email@hidden>)
 >Re: EOF operation ordering (From: Chuck Hill <email@hidden>)
 >Re: EOF operation ordering (From: David Avendasora <email@hidden>)
 >wo features (From: "Elim Qiu" <email@hidden>)

  • Prev by Date: wo features
  • Next by Date: Re: slow app when having a lot of D2W rules ?
  • Previous by thread: wo features
  • Next by thread: Re: EOF operation ordering
  • Index(es):
    • Date
    • Thread