Hi,
I am new to the tapestry. I have a question to the layout of dynanmic
generated checkout box(or other components).
I know that I could put dynamic generated checkbox items into a list and use
following mechanism to display in each rows:
<component id="eachEntry" type="For">
<binding name="source" value="itemss"/>
<binding name="element" value="literal:tr"/>
<binding name="index" value="index"/>
<binding name="keyExpression" value="index"/>
</component>
<component id="eachTerminal" type="Checkbox">
<binding name="value" value="item[index].checked"/>
</component>
The above will put the checkbox in each rows (defined by "literal:tr"). But
I can't figure out how to put the dynamic generated items into a better
layout format such as (rows + columns). For example, I like the checkout
boxes displayed on the first rows (maximum to 5 items), then the next 5
items displayed to the second rows, and so on...
Could anyone let me know the best way to do it?
Thanks in advance...
Ajit
_________________________________________________________________
Live Search Maps find all the local information you need, right when you
need it. http://maps.live.com/?icid=hmtag2&FORM=MGAC01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]