title: Passing action in <rich:modalPanel>
body: <p>There is some way to pass action in <code>&lt;rich:modalPanel&gt;</code>. I want to write simple popup with "Yes" and "No" button, and I want to reuse this popup in different pages, that's why I need that different action was invoked when "Yes" button pressed. There is a way to pass some value in <code>&lt;rich:modalPanel&gt;</code> with <code>&lt;a4j:actionparam&gt;</code>:</p>
  
  <pre><code>&lt;a4j:commandButton value="See details…" id="det"
      reRender="popup_dataIdField, …"&gt;
  
      &lt;rich:componentControl for="popup"
          operation="show" event="onclick" /&gt;
  
      &lt;a4j:actionparam name="message" assignTo="#{popupBean.message}"
          value="#{myBean.message}" /&gt;                                        
  &lt;/a4j:commandButton&gt;
  </code></pre>
  
  <p>But is some way to pass action ?</p>