Mark, Back to your original problem, type conversion on a ModelDriven action may not work, as I never officially tested it. The code for how XWorkConverter gets the class and property name candidate for type conversion is very funky and doesn't work 100% of the time -- ModelDriven may be one of those situations I didn't account for.
I'll get a unit test in place for this and make sure that if it doesn't work now, it will for 2.0.1. Patrick > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Mark Woon > Sent: Monday, March 01, 2004 3:31 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Type conversion > > > I'm trying to figure out how type conversions work in XWork right now > and need some guidance. So far, it looks like all the work is done by > XWorkConverter, but I can't figure out how it actually gets called. As > far as I can tell, there's some OGNL magic that triggers a call to > convertValue, but how? When? > > One of the reasons I'm doing this is that I'd like to extend > XWorkConverter so that when I'm using ModelDriven Actions it uses my > class's interface rather than the class itself. > > Can anyone point me in the right direction? > > BTW, Jason, have you considered adding a buildTypeConverter ObjectFactory? > > > Thanks, > -Mark > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork