Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

selectManyListbox tag bug in JSF Jsp  RSS feed

Abhishek Yadav
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<td class="textInput"><h:selectManyListbox id="allowableEntity" styleClass="textInput" value="#{pc_WrapUp.appliesTo}" rendered="#{pc_WrapUp.allowableEntities != null}">
<f:selectItems value="#{pc_WrapUp.allowableEntities}" />

I am using above code in my jsp file.List allowableEntities is always getting populated. When I select one or more item out of this list from dropdown the selected items populates the appliesTo list.

My problem is appliesTo list is not always getting populated even though I select one or more items in the dropdown.Most of the time(around 80%) it gets populated but some time it fails and return empty list.

Any suggestion ? Please help.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!