I am using the p:inplace inside a dialog, when i click the dialog for the first time it displays the label (Detail) and on i clicking the label it displays the 2 inputText but if i open the dialog again it displays the 2 inputText without the label (step), how do i ensure that the label is displayed first.
<p:dialog widgetVar="Dialog" header="Update Patient Details" showEffect="clip" hideEffect="clip" modal="true" >
<h:panelGrid id="Details" columns="2">
<p:inplace id="selectableInplace" label="Detail" effectSpeed="fast" event="click">
<h:panelGrid id="innerDetails1" columns="2">
<h:outputLabel value="Name:" />
<p:inputText id="someName" />
<h:outputLabel value="Mobile:" />
<p:inputText id="someMobile" />
</h:panelGrid>
</p:inplace>
</h:panelGrid>
</p:dialog>