title: How to Pass a paramter from commandLink to outputPanel to customize the outputPanel content
body: <p>I am using the following code to generate an <code>outputPanel</code> on user's demand. <strong>I want to customize the <code>outputPanel</code> content acc to the user's response.</strong> Thus I need to pass a parameter from <code>commandLink</code> to <code>ouputPanel</code>. How can I do so ?</p>
  
  <pre><code>&lt;h:form&gt;     
  
  &lt;p:commandLink value="Load" onclick="lazyload()" /&gt;  
  
  &lt;p:remoteCommand name="lazyload" update="lazypanel"&gt;  
      &lt;f:setPropertyActionListener value="#{true}" target="#{requestScope.shouldRender}"/&gt;  
  &lt;/p:remoteCommand&gt;                          
  
  &lt;p:outputPanel id="lazypanel"&gt;  
      &lt;h:outputText value="This part is lazily loaded" rendered="#requestScope.shouldRender}"/&gt;  
  &lt;/p:outputPanel&gt;             
  
  &lt;/h:form&gt;  
  </code></pre>