Need of creating a new jira issue ? Cheers. Richard. -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Patrick Lightbody Envoye : mercredi 3 decembre 2003 17:29 A : [EMAIL PROTECTED] Objet : RE: [OS-webwork] Array type conversion
I think this is a good suggestion. Right now, we have: * XWorkConverter defaults down to DefaultTypeConverter * if specified, XWorkConverter will attempt to use XWorkBasicConverter * XWorkBasicConverter, if it can't convert, defaults down to DefaultTypeConverter There is some redundancy here. I don't see anything wrong with letting XWorkConverter always default down to XWorkBasicConverter, which defaults to DefaultTypeConverter (Ognl-supplied). -Pat -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Lamuette Sent: Wednesday, December 03, 2003 4:04 AM To: [EMAIL PROTECTED] Subject: [OS-webwork] Array type conversion Nice work Jason, With the latest cvs snapshot, XWorkBasicConverter can now convert any array. I've just a question. For instance, if I have to convert a strings array to an array of Product, I have to write a new entry in my own xwork-conversion.properties. Right ? [Lcom.mypackage.Product;=com.opensymphony.xwork.util.XWorkBasicConverter Why don't set the default converter to XWorkBasicConverter when you create a new instance of XWorkConverter ? It would be more convenient. No more tedious entries in xwork-default-conversion.properties AND xwork-conversion.properties. Your opinion ? Richard HALLIER Chef de projet [EMAIL PROTECTED] 01.40.12.41.52 www.uniclick.org UNICLICK ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork