I have the same problem, but as far as I could see, formatting support in S2 is nasty. You can format something with <s:text> using the format defined in your resource bundle, but you can't do that with <s:textfield>. WTF?! Man, so far I've spent 3 hours trying to do make that work, but just couldn't. I'm going crazy! Serious...
Célio 2007/6/19, Luiz Henrique Rossetti <[EMAIL PROTECTED]>:
Hi guys, How can I use the s: param with s:textfield? I need to format a Timestamp property of my Action using the mask "dd/MM/yyyy". MyAction public BlablaAction extens ActionSupport{ private Employee employee; getters and setters } public class Employee{ private Timestamp finalDate; getters and setters } My jsp page <s:textfield cssClass="textfield" name="emp.finalDate" maxlength="10"> <s:param name="value" value="employee.finalDate"/> </s:textfield> My package.properties emp.finalDate = {dd/MM/yyyy}
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]