Re: Hide, show details button in WORepetition
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.