JARCH SHOWCASE
JARCH SHOWCASE
Ajax Framework - Events p:ajax enables ajax features on supported components.
KeyUp:
Blur:
<a:form>
    <h:panelGrid columns="3" cellpadding="5">
        <h:outputText value="KeyUp: " />
        <a:inputText id="firstname" value="#{userView.firstname}">
            <a:ajax event="keyup" update="out1" />
        </a:inputText>
        <h:outputText id="out1" value="#{userView.firstname}" />

        <h:outputText value="Blur: " />
        <a:inputText id="surname" value="#{userView.lastname}">
            <a:ajax event="blur" update="out2" />
        </a:inputText>
        <h:outputText id="out2" value="#{userView.lastname}" />
    </h:panelGrid>
</a:form>
                
JARCH, Copyright © 2022 All rights reserved. Running JARCH 24.3.0-SNAPSHOT on PrimeFaces-12.0.0 on Mojarra-2.3.13.