2 Replies Latest reply on Dec 17, 2008 7:08 AM by Yenan Zhou

    should component be created if rendered=false?

    Yenan Zhou Newbie

      A simple test case:

      if I do

      <s:div rendered="false">
          <h:outputText value="#{tester.myname}" />

      tester component is created and getMyname() is called even nothing is actually rendered

      but if I do

      <s:div rendered="false">

      getMyname() is not called.

      I'm wondering what's going on here?