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}