struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitar Vlasev" <vlase...@gmail.com>
Subject Re: Dojo datetimepicker problem
Date Fri, 05 Dec 2008 10:13:15 GMT
Sure I succeeded wrapping the String to Date conversion outside of the
action class with custom type conversion class.

I guess I expected that when <s:datetimepicker> uses java.util.Date
property when rendering the HTML, I will get the new value in the same
property after submitting the form which holds the <s:datetimepicker>

Since I don't think the automated String to Date conversion stated
here http://struts.apache.org/2.0.14/docs/type-conversion.html will do
well for real application I didn't even try to go this way.

Having the ability to use static content as attribute value made the
solution with custom type conversion class good enough and I didn't
bother further with this.

Regards,
Dimitar Vlasev

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


Mime
View raw message