[jboss-user] [JBoss Seam] - Re: convert parameter f:param with s:convertdatetime

dcshonda do-not-reply at jboss.com
Fri Jan 25 03:31:51 EST 2008


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123340#4123340

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123340



More information about the jboss-user mailing list