Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

Saga Saga
Vela Vela
Arya Arya

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.

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.

Basic
Edit Me
Edit
PrimeFaces
Double Click
Cities
Custom Content
Yes or No
Image
Show

<div class="card">
    <h:form>
        <h5 class="p-mt-0">Basic</h5>
        <p:inplace>
            <p:inputText value="Edit Me"/>
        </p:inplace>

        <h5>Edit</h5>
        <p:inplace editor="true">
            <p:inputText value="#{inplaceView.text}" required="true" label="text"/>
        </p:inplace>
        
        <h5>Double Click</h5>
        <p:inplace label="Cities" effectSpeed="fast" event="dblclick">
            <p: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"/>
            </p:selectOneMenu>
        </p:inplace>

        <h5>Custom Content</h5>
        <p:inplace effect="none">
            <f:facet name="output">
                Yes or No
            </f:facet>
            <f:facet name="input">
                <h:selectBooleanCheckbox/>
            </f:facet>
        </p:inplace>

        <h5>Image</h5>
        <p:inplace label="Show" effect="slide">
            <p:graphicImage name="/demo/images/nature/nature3.jpg"/>
        </p:inplace>
    </h:form>
</div>