0 Replies Latest reply on Oct 6, 2008 12:28 PM by nimo stephan

    rerender and required=true?

    nimo stephan Master

      I have that:

       <h:inputText id="login" value="#{myBean.login}" required="true"/>
       <h:inputText id="name" value="#{myBean.name}">
       <a4j:support event="onblur" reRender="output" />
       <h:outputText id="output" value="#{myBean.name}" />

      When I enter a value in the inputText (id="name"), then it should immediately rerender the outputText (id="output"). But it does NOT!

      You can see, in h:inputText (id="login"), I have set required="true".
      When I set required="false", then the rerendering works !!!

      But I need to set the required="true" and I need to rerender other attributes, too.

      How can I do that ?

      (immediate=true in h:inputText id="name" does not work)