Hi, all

I got the following question,

supose that I want to define an accordion like this...

<t:jquery.accordion  t:panels="AccordionDemoTabs1,AccordionDemoTabs2,
>               AccordionDemoTabs3,AccordionDemoTabs4"
>               t:activeElementId="activeElement">
>
> <p:AccordionDemoTabs1>
>       <h3>Element 1</h3>
>       <hr/>
>       content from block 1
> </p:AccordionDemoTabs1>
>
> <p:AccordionDemoTabs2>
>       <h3>Element 2</h3>
>       <hr/>   
>       content from block 2
> </p:AccordionDemoTabs2>
>
> </t:jquery.accordion>
>
>
but, that I want to decide dynamically how many elements the accordion has,

so I thought about using a t:loop inside the t:jquery.accordion... like
this:

<t:jquery.accordion  ...>
> <t:loop ... >
>   <p:AccordionDemoTabs1>
>       <h3>Element 1</h3>
>       <hr/>
>       content from block 1
>   </p:AccordionDemoTabs1>
> </t:loop>
> </t:jquery>
>
>
but I experienced some problems with the loop thinking that
AccordionDemoTabs1 was a parameter for him while in fact the intention was
that it was a parameter for t:jquery.accordion...

does anyone knows how would I "escape" the <p: tag so that loop don't take
it as own?

cheers and thanks in advance!

Nicolás.-

Reply via email to