You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by me...@investorservicing.natixis.fr on 2007/05/07 17:49:47 UTC

date conversion with s:textfield value tag

Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez à la mise à jour de votre carnet d'adresses.


I would like my date property to be rendered in a defined date 
format(dd/MM/yyyy).
I try to insert the format expression by using the s:date tag just like 
below

     <td align=left>
        <s:textfield name="article.dateEnreg" size="12" value="%<s:date 
name="article.dateEnreg" format="dd/MM/yyyy"/>"/>
     </td>

I'm getting parsing errors since the compiler can't get to evaluate the 
expression within date value.
Can someone tells me what to do in order to format the value passed to the 
s:texfield tag.
Is this kind of thing supported by the tag.

thanks 
Meisssa

L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur.
Ensemble, faisons un geste pour l'environnement : n'imprimons nos mails que si necessaire

The integrity of this message cannot be guaranteed on the Internet. Natixis can not therefore be considered responsible for the contents. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender.