Code: Select all
<h:form id="form">
<p:inplace id="myInplace" widgetVar="inplacePhone">
<h:inputText value="#{myBean.phone}">
<rc:convertPhone/> <!-- my custom converter -->
</h:inputText>
</p:inplace>
</h:form>
After examining the javascript (source) that shows/hides the inplace component, it looks like I could construct some javascript that uses jQuery(contentId).show(), but this seems brittle and the wrong way to go.
Can anyone think of a good solution to this?
thanks!