1 Reply Latest reply on Nov 21, 2011 9:55 PM by Fabio Fonseca

    Problem with pickList, is losing selected values

    oscar vargas Newbie

      I'm using a pick list with richfaces 3.3.2 inside a form, after submitting, if there is a validation error, the form is loaded again and the selected values missing, I mean the pick list is not showing what the user selected.


      The xhtml code is:



      <gd:repeat id="repeat" value="#{bean.items}" var="establecimiento" idVar="rid" >






      <rich:pickList style="height:148px" showButtonsLabel="false" height="150px" id="picklistID"


      value="#{bean2.selected}" required="true"


      requiredMessage="Validation messages.">

      <f:selectItems value="#{values}" />












      Thanks for your help