JARCH SHOWCASE
JARCH SHOWCASE
Ajax Framework - Basic This example demonstrates a simple but common usage of posting the form, updating the backend value and displaying the output with ajax.
<a:form>
    <h:panelGrid columns="4" cellpadding="5">
        <h:outputLabel for="name" value="Name:" style="font-weight:bold" />
        <a:inputText id="name" value="#{basicView.text}" />
        <a:commandButton value="Submit" update="display" icon="ui-icon-check" />
        <h:outputText id="display" value="#{basicView.text}" />
    </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.