I got a <h:commandButton
like:
<h:commandButton id="login"
actionListener="#{bean.login}" value="Login"
styleClass="btn btn-primary btn-sm">
<f:ajax execute="@form" render="@form"/>
</h:commandButton>
and a
<p:blockUI id="block" block=":form" trigger="login" />
It is not working. The block is never shown up.
It does work with a <p:commandButton>
.
How can I achieve it with a <h:commandbutton>
. If that is not possible: Is there any workaround?
h:commandButton
withp:ajax
? – Feller