JARCH SHOWCASE
JARCH SHOWCASE
Dialog - Events Ajax behavior callbacks are available for "close" and "move" events. Move event is available for 5.0.2+.
Show the Picture of the Day
Picture of the Day
<a:form>
    <a:growl id="growl" sticky="true" showDetail="true" />

    <h:outputLink id="openDialogLink" value="javascript:void(0)" onclick="PF('dlg').show();">Show the Picture of the Day</h:outputLink>

    <a:dialog id="picture" widgetVar="dlg" header="Picture of the Day" resizable="false" showEffect="clip" hideEffect="clip">
        <a:ajax event="close" update="growl" listener="#{dialogView.handleClose}" />
        <a:ajax event="move" update="growl" listener="#{dialogView.handleMove}" />

        <a:graphicImage name="/demo/images/nature/nature4.jpg" />
    </a:dialog>
</a:form>
                
JARCH, Copyright © 2022 All rights reserved. Running JARCH 24.3.0-SNAPSHOT on PrimeFaces-12.0.0 on Mojarra-2.3.13.