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
Yes or No
    <h:panelGrid columns="2" columnClasses="column" cellpadding="5">
        <h:outputLabel for="basic" value="Basic:" />
        <p:inplace id="basic">
            <p:inputText value="Edit Me" />

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

        <h:outputLabel for="event" value="Dblclick"/>
        <p:inplace id="event" label="Cities" effectSpeed="fast" event="dblclick">
                <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:outputLabel for="facet" value="Facet:" />
        <p:inplace id="facet" effect="none">
            <f:facet name="output">
                Yes or No
            <f:facet name="input">
                <h:selectBooleanCheckbox />

        <h:outputLabel for="image" value="Image:" />
        <p:inplace id="image" label="Show" effect="slide">
            <p:graphicImage name="/demo/images/nature/nature3.jpg" />
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.2 on Mojarra-2.3.2.