is it possible to show a dialog out of a <p:menuitem ?
It just doesnt work for me. Heres some code:
Code: Select all
<p:menuButton value="Dialog">
<p:menuitem value="Show" onclick="test.show();" />
</p:menuButton>
<p:commandButton value="Show" onclick="test.show();" />
<p:dialog widgetVar="test" header="This is a test" />
Kind regards,
stefan