You will need to convert block into a component as well, which then renders a 
variable number of times depending on the size of the source tab list. 
Hint: look at one of the 3rd party Tapestry component libraries for some sample 
source code.

Cheers,
Peter

----- Original Message -----
From: "Jabbar" <[email protected]>
To: [email protected]
Sent: Thursday, 22 July, 2010 13:03:04 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Custom tab panel

Hello all,

I'm trying to make a custom tab component. I want to use it like the
following

<t:tab source="tab1,tab2,tab3" active="tab1">

   <t:block t:id="tab1"
   </t:block>

   <t:block t:id="tab2">
   </t:block>

   <t:block t:id="tab3">
   </t:block>

</t:tab>

In my java tab component class I don't know how to refer to the potentially
variable number of blocks that can be inserted by the user.

-- 
Thanks

 A Jabbar Azam

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to