• Post Reply Bookmark Topic Watch Topic
  • New Topic

selectManyListbox tag bug in JSF Jsp  RSS feed

 
Abhishek Yadav
Greenhorn
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}" />
</h:selectManyListbox></td>

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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!