wood burning stoves 2.0
The moose likes JSF and the fly likes Generate dynamic id for rowlayout in Trinidad Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Generate dynamic id for rowlayout in Trinidad" Watch "Generate dynamic id for rowlayout in Trinidad" New topic
Author

Generate dynamic id for rowlayout in Trinidad

Supri dharshni
Greenhorn

Joined: Jul 14, 2009
Posts: 25
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
 
rocket mass heater kickstarter
 
subject: Generate dynamic id for rowlayout in Trinidad