Hi list!
I want to display a date in a user-specified manner (struts2 web-app)
Thus, there exists a form where users can specify date-format strings,
I validate them
and on another page, I want to use the date-tag to display the date in
the choosen format.
So I have a session-property "date-format", accessible with
<s:property value="#session.date-format" />
and would like to use this format property, something like
<s:date name="date" format="#session.date-format" />
Unfortunately the date-tag does not allow expressions in its 'format'
attribute. Any
way around? Or is this simply not the right way to solve such a thing?
Best regards,
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org