Bill, I've been looking at the JavaBeans API and I don't see where the String conversion can be customized. Maybe you can point me to a class or interface. I've looked throughout the java.beans package.
Thanks. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 27, 2001 12:51 PM To: [EMAIL PROTECTED] Subject: Re: Data conversion The to/from string conversion should be done similar to how java beans works, since it can then be used more generally than just the Struts framework. However, it needs some I18N additions which currently aren't available in the java beans work. Bill Wallace Fax: (716) 295-4718 Element K 'the knowledge catalyst' www.elementk.com Viral Tolat <viral.tolat@int To: [EMAIL PROTECTED] egral.com> cc: 09/27/01 03:13 Subject: Data conversion PM Please respond to struts-dev Is there any intent to modify the code to centralize conversion of strings to objects and reverse? Currently, ConvertUtils is used to convert strings to primitive objects, however, toString is used to convert the object to a string. We'd like to integrate in a data conversion framework but to do this cleanly we need a cental place where all data conversion happens. In addition, we'd need to be able to access the request or page context in order to provide custom conversions on a per page basis. We've looked at the transformations extension and the Capco Mapper, however, we don't see how the transformations can be used with html:text tags to provide data conversion from strings to objects since the Tag is not involved at all in this process. Thanks
