I saw this example provided by BalusC:
<h:outputText value="#{bean.calendar.time}">
<f:convertDateTime type="both" dateStyle="long" />
</h:outputText>
How is that working with <h:commandLink>
?
I tried:
<h:commandLink value="#{question.creationDate.time}"
action="#{managerBean.searchQuestion()}">
<f:convertDateTime type="both" dateStyle="short" />
<f:setPropertyActionListener target="#{managerBean.questionID}"
value="#{question.ID}" />
</h:commandLink>
Put
<h:outputText>
inside<h:commandLink>
.