Insert Components depending on SubClass

2006-10-04 Thread Skorpien126
. Is there a way realize that?!?! -- View this message in context: http://www.nabble.com/Insert-Components-depending-on-SubClass-tf2382665.html#a6640638 Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Insert Components depending on SubClass

2006-10-04 Thread Christian Haselbach
Quoting Skorpien126 [EMAIL PROTECTED]: In another Component I read the array. This one should entry a the Non-worker component or the Worker-Component for each object depending on which object i want to visualize. Is there a way realize that?!?! You can use the If component to choose how to

Re: Insert Components depending on SubClass

2006-10-04 Thread Norbert Sándor
Use the For and the If components. Pseudo code: span jwcid=@For source=ognl:arrayOfPersons value=ognl:person span jwcid=@If condition=ognl:person instanceof Worker span jwcid=@Worker ... / /span span jwcid=@If condition=ognl:person instanceof NonWorker span jwcid=@NonWorker

Re: Insert Components depending on SubClass

2006-10-04 Thread Skorpien126
://www.nabble.com/Insert-Components-depending-on-SubClass-tf2382665.html#a6641608 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL