title: is it possible to include the value of the 'id' attribute in the 'rendered' condition of a JSF component?
body: <p>I need to do something like this, since the rendering depends on the id's value which is also available on my DB:</p>
  
  <pre><code>&lt;p:submenu id="id123" rendered="#{mybean.decidedependingof(login.user,component.attributes.get('id'))}"&gt;
  </code></pre>
  
  <p>Actually I can obtain the value of the 'id' attribute and use it in the next way for example:</p>
  
  <pre><code>&lt;p:submenu id="id123" label="#{component.attributes.get('id')}"&gt;
  </code></pre>
  
  <p>which gives me a label with the exact value of the id attribute, but I suppouse that at render time that value is not available yet and the above code is passing a uknown value to the mybean.decidedependingof(..) method.</p>
  
  <p>Any possible solution?
  Thanks.</p>