Details
Description
Support for formatting values when using <spring:eval> has been added in spring 3.0.3. (#SPR-5397)
But in Webflow, this is still not working.
When used like:
<spring:eval expression="new test.DateBean()" var="dateBean" scope="request" /> <div>Date format: <spring:eval expression="dateBean.date" />
MVC formats the value correctly, but SWF doesn't.
DateBean implementation:
public class DateBean { @DateTimeFormat(style="SS") private Date date=new Date(); public Date getDate() { return date; } public void setDate(Date date) { this.date = date; } }