JARCH SHOWCASE
JARCH SHOWCASE
Inplace Inplace provides easy inplace editing and inline content display. For inplace editing, "save" and "cancel" ajax behavior events are provided for customizing the use-case.
Edit Me
PrimeFaces
Cities
Yes or No
Show
<a:form>
    <h:panelGrid columns="2" columnClasses="column" cellpadding="5">
        <h:outputLabel for="basic" value="Basic:" />
        <a:inplace id="basic">
            <a:inputText value="Edit Me" />
        </a:inplace>

        <h:outputLabel for="ajax" value="Ajax:" />
        <a:inplace id="ajax" editor="true">
            <a:inputText value="#{inplaceView.text}" required="true" label="text" />
        </a:inplace>

        <h:outputLabel for="event" value="Dblclick"/>
        <a:inplace id="event" label="Cities" effectSpeed="fast" event="dblclick">
            <h:selectOneMenu>
                <f:selectItem itemLabel="New York" itemValue="0" />
                <f:selectItem itemLabel="London" itemValue="1" />
                <f:selectItem itemLabel="Paris" itemValue="2" />
                <f:selectItem itemLabel="Berlin" itemValue="3" />
            </h:selectOneMenu>
        </a:inplace>

        <h:outputLabel for="facet" value="Facet:" />
        <a:inplace id="facet" effect="none">
            <f:facet name="output">
                Yes or No
            </f:facet>
            <f:facet name="input">
                <h:selectBooleanCheckbox />
            </f:facet>
        </a:inplace>

        <h:outputLabel for="image" value="Image:" />
        <a:inplace id="image" label="Show" effect="slide">
            <a:graphicImage name="/demo/images/nature/nature3.jpg" />
        </a:inplace>
    </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.