2 Replies Latest reply on Mar 11, 2009 9:20 PM by Nick Belaevski

    Input not set when panel is rendered with condition in a4j:o

    Adrien Adrien Apprentice

      Hi,


      When i use a conditional render the backbean is never set. If I set

      rendered="#{param.geotype == 'scp'}" to rendered="true}"


      Here is full code :
      <rich:toolBar height="34" itemSeparator="line" >
       <rich:toolBarGroup>
       <a4j:commandLink reRender="sa,abc" ajaxSingle="true" >
       <h:outputText value="Code postal" />
       <a4j:actionparam name="geotype" value="scp" assignTo="#{ctrlFullSearch.form.geoSearchType}"/>
       </a4j:commandLink>
       </rich:toolBarGroup>
       </rich:toolBar>
      
       <a4j:outputPanel id="sa" >
       <rich:panel rendered="#{param.geotype == 'scp'}" id="pcpt" >
       <fieldset>
       <legend>Code postal</legend>
       <h:outputLabel for="cpt" value="#{bus.s_cp}" />
       <h:panelGroup>
       <h:inputText id="cpt" value="#{ctrlFullSearch.form.cpl}" size="6" maxlength="6" required="true" converterMessage="#{ErrMsg.e_cp}">
       <f:validateLongRange minimum="0" maximum="999999" />
       </h:inputText>
       </h:panelGroup>
       </fieldset>
       </rich:panel>
      
      </a4j:outputPanel>


      Anybody have the same problem? Or it s me?

      I'm with richfaces 3.3.0GA (problem exists also in 3.2)