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

    rerender and required=true?

    nimo22

      I have that:

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


      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)