• 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: Hide, show details button in WORepetition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hide, show details button in WORepetition


  • Subject: Re: Hide, show details button in WORepetition
  • From: Kevin Xiaowen Ren <email@hidden>
  • Date: Thu, 22 Jul 2004 10:02:59 +1200

Hi,

Thanks for you all suggestions, I think this one is better.
Even I don't have showDetail attribute with aPerson, but I can setup it by using NSMutableDictionary.
Only difference is WORepitition item is NSDictionary rather than Person type,


thanks

kevin


At 16:24 19/07/2004 +1000, you wrote:
Say your WORepitition list = peopleList and your WORepitition item = aPerson

then in the person class

add a variable:   public boolean showDetail;

Then bind  your WOConditional  to aPerson.showDetail;
Then  change your code on the page to the below code.


public WOComponent clickShowBtn(){ { aPerson.showDetail = true; return context().page(); }

Cheers
Dave
_______________________________________________
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: 
 >Hide, show details button in WORepetition (From: Kevin Xiaowen Ren <email@hidden>)
 >Re: Hide, show details button in WORepetition (From: David Elsner <email@hidden>)

  • Prev by Date: Re: Sorting Relationed Records
  • Next by Date: RE: Using pageWithName method problem
  • Previous by thread: Re: Hide, show details button in WORepetition
  • Next by thread: Re: Hide, show details button in WORepetition
  • Index(es):
    • Date
    • Thread