1 Reply Latest reply on Mar 3, 2010 5:57 AM by Nick Belaevski

    a question about rich:clientId

    liumin hu Master

      hi,

       

      i have a page like this

      <a4j:include viewId="page1.xhtml" rendered="false"/>
      <a4j:include viewId="page1.xhtml" rendered="true" />
      <img onclick="$('#{rich:clientID("sth")').toggle()" />
      in the page1.xhtml, there is table with id="sth"
      

       

      I cant understand why rich:clientId returns the table in the first include even it is not rendered? someone can help me to figure out this?

       

      thanks in advance

       

      liu