2 Replies Latest reply on Dec 20, 2008 7:55 PM by Pramod Nair

    combox validate in seam

    Pramod Nair Novice

      I am rying to add validation for rich:combobox in a seam application. The rich:combobox gets refreshed even when the user tries to select a vlaue. I am using snapshot version of richfaces --> richfaces-api-3.3.0-20081120.050956-75.jar and seam 2.0.Please help

      <s:decorate id="sDecoration" template="layout/edit.xhtml">
       <ui:define name="label">Zip code:</ui:define>
      <rich:comboBox suggestionValues="#{autoauctionsfacade.states}"
       id="state" directInputSuggestions="true" listClass="comboListStyle"
       value = "#{autoauctionsfacade.selectedState}"
       defaultLabel="Enter some value" required="true"
       immediate="true" >
      <a4j:support event="onblur" reRender="sDecoration" bypassUpdates="true"/>
       </rich:comboBox>
       </s:decorate>