I just got the Jakarta JSTL to work with Webwork2/XWork, but ran into what I believe is a bug. 2 lines fix it, if you determine it is a bug. This may or may not be related to the email "Converters not used on property get?" between Fred Lamuette and Patrick Lightbody, and may solve Drew McAuliffe's issue.

In XWorkBasicConverter, the doConvertToDate() method only checks to see whether the object being passed in is a String [if (value instanceof String)], otherwise it returns null. If we add the following 2 lines after the if the java.sql.Date object is returned which is perfectly acceptable for a java.util.Date:

       else if ( value instanceof java.sql.Date )
           result = (Date)value;

Thank you.
Fred.



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to