0 Replies Latest reply on Sep 7, 2008 11:36 AM by Dean Hiller

    validation error on pulldown menu

    Dean Hiller Expert

      I have this really weird problem for validation on a pull down menu.  My steps are
      1. select an item in the pull down(works fine).
      2. select another item in the pull down(get below error and does not update my outputpanel)...

      INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
      sourceId=theForm:selectStatus[severity=(ERROR 2), summary=(theForm:selectStatus: Validation Error: Value is not valid), detail=(theForm:selectStatus: Validation Error: Value is not valid)]

      I have the following html...

       <h:form id="theForm">          
                <a:region id="statusRegion">
                     <span id="pick">Filter by Status: </span>
                     <h:selectOneMenu id="selectStatus" value="#{viewMatches.status}" required="false">
                         <s:selectItems value="#{viewMatches.statii}" var="status" 
                                             label="#{status}" noSelectionLabel="All"/>
                         <a:support event="onchange" action="#{viewMatches.resetList}" reRender="matchesPanel" bypassUpdates="false" ajaxSingle="true"/>

      I resorted to using just strings for now.  I was using enum before with the enumConverter, but wanted to reduce the problem.  I am not sure what is wrong with my html.  Any ideas?