inplace component provides easy in-place editing and inline content display. It consists of two members:
displayelement that is the initial clickable label
inlineelement, which is the hidden content that'll be displayed when the
displayelement is toggled
The basic declaration of the component would be as follows:
<p:inplace> <h:inputText value="Edit Me!" /> </p:inplace>
This would render an input text field that could be clicked by the user to go into the edit mode. To go out of the edit mode, the user needs to click on the Enter button after typing.
By default, the
inplace component ...