title: Conditionally display a richfaces modal panel
body: <p>Quite simple:</p>
  
  <pre><code>    &lt;a4j:commandButton id="bob"
          action="#{MyBacking.doAction}"
          image="/img/btn.png"
          reRender="stuff"
                  oncomplete="#{not empty MyBacking.myCondition ? #{rich:component('myModelPanel')}.show()" : &lt;do nothing&gt;}"
          ajaxSingle="true"&gt;
      &lt;/a4j:commandButton&gt;
  </code></pre>
  
  <p>Thats obviously invalid EL.  What's the most concise method I conditionally show myModelPanel in this way?</p>
  
  <p>Thanks IA</p>