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
>

Reply via email to