This content has been marked as final.
Show 3 replies
-
1. Re: convert parameter f:param with s:convertdatetime
michaelcourcy Jul 28, 2007 1:45 PM (in response to jfrankman)I'm not sure that f:param support any converter.
-
2. Re: convert parameter f:param with s:convertdatetime
dcshonda Jan 25, 2008 3:31 AM (in response to jfrankman)I have the same problem.
I tried the same. And I tried to convert date time after send it, but it does not work because it is a String.
In the receiver:<h:outputText value="#{param.s_fechaAlta}"> <s:convertDateTime pattern="dd/MM/yyyy"/> </h:outputText>
I want send date from A.xhtml to B.xhtml, and If I do this in A:<h:dataTable id="tablaOperaciones" value="#{expedientes}" rows="10" class="blue-table" border="1" var="op"> <h:column> <f:facet name="header">#{messages.fecha_alta}</f:facet> <h:outputText value="#{op.altaDt}"> <s:convertDateTime pattern="dd/MM/yyyy"/> </h:outputText> </h:column>
It works fine. But if i do the same in B when I receive the date from A, it does not work.
Any idea. -
3. Re: convert parameter f:param with s:convertdatetime
nickarls Jan 25, 2008 3:55 AM (in response to jfrankman)You could try passing along the timestamp in a long value