10 Replies Latest reply on Oct 18, 2009 8:16 AM by sachin.parnami

    Does param.someValue in rendered option effects in passing value to bean?

      Hi All,


      I have a form some of its inputText field contains



      rendered="#{param.someValue}"



      whose value (someValue) generated by previous page and rendered option works fine.


      Now my problem is that, when i use



      <h:inputText id="userName" value="#{user.userName}" rendered="#{param.someValue}"/>



      with rendered option of param value i dont get entered userName value in my action class, it gives null :(
      and if i try it without rendered option or render option with some bean value it works just fine like here




      <h:inputText id="userName" value="#{user.userName}" />
      or
      <h:inputText id="userName" value="#{user.userName}" rendered="#{abc.shouldRender}"/>



      both works just fine


      please guide whats wrong here?