Why bother with type conversion when all that it seems that is wanted is
display the correct format? It seems to me that the s:date tag was built for
that precisely (see http://cwiki.apache.org/WW/date.html ). It seems like
reinventing the wheel.


Andy Sykes wrote:
> 
> You could write your own type converter - see type conversion in the S2
> docs for a good overview. It handles the conversion of any Java object in
> your model class to a String for use in the view, and converts any String
> field into a Java object in forms/GET parameters.
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-eliminate-time-in-%3Cs%3Atextfield%3E-tp27647328p27665825.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to