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.