Last updated 6 years ago
Was this helpful?
Formatea un componente como fecha.
<b:dataTableColumn label="#{msg['field.fecha']}" > <a:labelDate value="#{item.fecha}"/> </b:dataTableColumn>
<p:calendar id="desde" pattern="dd/MM/yyyy" class="fullWidth required" selectOtherMonths="true" navigator="true" value="#{vehiculosController.vehiculos.fechacompra}" title="#{msg.fechacompra}" > </p:calendar>
<f:convertDateTime pattern="dd.MM.yyyy HH:mm" /> <h:outputText value="#{miFecha}"> <f:convertDateTime pattern="dd/MMM/yyyy" /> </h:outputText>