Hi Robin,

if I do that, then I'll have :

<t:loop source="1..3"  value="outerLoopValue">
            <t:loop source="1..4" value="innerLoopValue">

now, how to uses these two values to access the element of List of size 12?


Robin Helgelin wrote:
> 
> On 9/21/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>> I have a nested loop to create a table, the data displayed is from a List
>> of
>> 12 elements:
>>
>> <table>
>>         <t:loop source="1..3" >
>>         <tr>
>>             <t:loop source="1..4">
>>              <td >element of List to be displayed here</td>
>>             </t:loop>
>>         </tr>
>>         </t:loop>
>> </table>
>>
>> Since the List is not directly specified as source, I can't use value to
>> access its current elelement, any way to access the element in the loop?
>> thanks.
> 
> You can always define value, <t:loop source="1..3"
> value="outerLoopValue">, and use that.
> 
> -- 
>         regards,
>         Robin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-nested-loop-tf4492636.html#a12813996
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to