1 Reply Latest reply on Jan 9, 2008 7:38 AM by Ilya Shaikovsky

    SelectOneMenu and validation

    Ralf Newbie

      Hello,

      I have the following component which rerender another component.
      This works fine except for values that fail the validation.
      I thought immediate=True skips the validation?

      What happens is that the bean value is not changed.

      Do I have to get the entered value from the faces context?

      Thanks

      Ralf


      <h:selectOneMenu id="chassis_typeID"
      value="#{chassis.chassisType}"
      valueChangeListener="#{chassis.changeListener}"
      styleClass="standardInputText"
      disabled="#{!chassis.chassisIsOwner}">
      <f:validator validatorId="setupRequiredValidator" />
      <f:selectItems value="#{defaultValues.typeArray}" />
      <a4j:support event="onchange" reRender="chassis_manufacturerID"
      ajaxSingle="true" immediate="true"/>
      </h:selectOneMenu>