The type converter is registered with Ognl when the ValueStack is
created. I just created an issue to add the type converter to the
ObjectFactory. 

I'm not sure how much sense it makes, though... You can already register
your own default type converter with the XWorkConverter, and the
XWorkConverter reads the .properties files to see what other converters
it should use. Where / which of these do you envision loading from an
IoC container? 

Can you describe more of what you're trying to do?

Jason

> -----Original Message-----
> From: Mark Woon [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 01, 2004 6: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_id56&alloc_id438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to