This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue with t:selectManyCheckbox  RSS feed

 
Ravi Sankar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing a issue with tomahawk SelectManyCheckBox. If I am maintaining the entries value in session, the implementation is working fine. But I need to maintain entries value in request scope only. I tried binding property also for maintaining the list value in request scope. Its working fine but I am getting Duplicate Id Error while rendering the page again and again. Can anybody suggest some ideas to resolve this issue.

Please find the implemented code below.

<t:selectManyCheckbox id="entries" layout="spread" style="width:100%" value="#{group.selected}" >
<f:selectItems value="#{group.entries}" />
</t:selectManyCheckbox>


<table>
<c:forEach>
<tr><td>
<t:checkbox index="#{row}" for="entries"></t:checkbox>
</td>
</tr>
</c:forEach>
</table>


Thanks in Advance.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!