Primefaces execute effect by method

0

Hi, I have a question and if it is possible to do the following, I have a form which already has a "p: effect"

<p:panel id="FormularioUsuario">
        <h:form id="ConfiguracionUsuario">
               
            <p:commandButton styleClass="BotonFullSiguiente" value="Siguiente" update=":growl ConfiguracionUsuario">
                <p:effect type="blind" event="click" for="FormularioUsuario">
                    <f:param name="direction" value="'horizontal'" />
                    <f:param name="mode" value="'hide'" />
                </p:effect>
            </p:commandButton>
    </h:form>
</p:panel>

The effect works but I need it to run when the form is perfectly and obviously configured to run with any click, there is a way to control the "event" property from java or to recognize the DOM form events and the probe but not They worked or I put them wrong.

    
asked by David Valado 19.09.2017 в 15:36
source

0 answers