问题
Can i assign dynamic ID to Grid component?
for example, i have a grid inside the loop and i am not able to assign the dynamic id for the grid.
<t:loop source="listOfAttachmentVOList" value="attachmentVOList" t:index="index">
<t:grid t:source="allCelebrities" t:id="myGrid"/>
</t:loop>
in above code ID is "myGrid" but that is not dynamic.
is there any way to assign the ID dynamically?
Regards,
Mahendra
来源:https://stackoverflow.com/questions/8653094/dynamic-id-to-grid-component-in-tapestry-5