Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generate dynamic id for rowlayout in Trinidad

 
Supri dharshni
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

In JSF-Trinidad I am using the < tr:forEach > to iterate and display the details in list. Inside the <tr:foreach> I am using <trh:rowLayout> . I have to generated dynamic id for this row layout. For example , <trh:rowLayout id=”child<%=i%>”> . But using scriptlet in id attribute throws me illegalstateId exception.
Based on this id only I have expand or collapse this particular row.

Please help me in solving this issue. Thanks in advance.

Regards,
Supri
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic