I'm not sure how I can use this? Each block represents a tab and each tab will have potentially different content. e.g.
<t:tab source="tab1,tab2,tab3" active="tab1"> <t:block t:id="tab1" markup A </t:block> <t:block t:id="tab2"> markup B </t:block> <t:block t:id="tab3"> Markup C </t:block> </t:tab> On 22 July 2010 11:22, Bryan Lewis <br...@maine.rr.com> wrote: > Why not use a Loop in your component and pass in a List? > > > > On Thu, Jul 22, 2010 at 6:03 AM, Jabbar <aja...@gmail.com> wrote: > > > 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 > > > -- Thanks A Jabbar Azam