JARCH SHOWCASE
JARCH SHOWCASE
Ajax Framework - Partial Process Partial processing enables executing certain components while ignoring others during a request.
<a:form>
    <h:panelGrid id="grid" cellpadding="5" columns="2" style="margin-bottom:10px">
        <f:facet name="header">
            <a:messages id="msgs" />
        </f:facet>

        <a:outputLabel for="firstname" value="Firstname:" />
        <a:inputText id="firstname" value="#{userView.firstname}" />

        <a:outputLabel for="surname" value="Surname:" />
        <a:inputText id="surname" value="#{userView.lastname}" required="true" requiredMessage="Surname is required." />
    </h:panelGrid>

    <h:panelGrid columns="6" cellpadding="5">
        <a:commandButton value="All" id="btnAll" process="@all" update="grid" actionListener="#{userView.save}" />
        <a:commandButton value="Form" id="btnForm" process="@form" update="grid" actionListener="#{userView.save}" />
        <a:commandButton value="This" id="btnThis" process="@this" update="grid" actionListener="#{userView.save}" />
        <a:commandButton value="None" id="btnNone" process="@none" update="grid" actionListener="#{userView.save}" />
        <a:commandButton value="Parent" id="btnParent" process="@parent" update="grid" actionListener="#{userView.save}" />
        <a:commandButton value="This Surname" id="btnSurname" process="@this,surname" update="grid" actionListener="#{userView.save}" />
    </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.