Quite simple:
<a4j:commandButton id="bob"
action="#{MyBacking.doAction}"
image="/img/btn.png"
reRender="stuff"
oncomplete="#{not empty MyBacking.myCondition ? #{rich:component('myModelPanel')}.show()" : <do nothing>}"
ajaxSingle="true">
</a4j:commandButton>
Thats obviously invalid EL. What's the most concise method I conditionally show myModelPanel in this way?
Thanks IA
Try calling empty JS method
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With