6.11. PortletFaces Converter Tags

PortletFaces provides the following converter tags.

Table 6.14. Converter Tags

Tag Description
pf:convertDateTime Extends the default JSF date/time converter to support the output of Calendar, and takes the TimeZone and Locale of the current Liferay user into account.

6.11.1. The pf:convertDateTime tag

The pf:convertDateTime tag extends the default JSF date/time converter to support the output of Calendar, and takes the TimeZone and Locale of the current Liferay user into account.

Example 6.55. Example usage of pf:convertDateTime tag

<h:inputText value="#{modelManagedBean.calendar}">
	<pf:convertDateTime />
</h:inputText>