Re: Proposed ObjectFactory API Change

2011-10-24 Thread Ɓukasz Lenart
I've never thought about that, maybe it's a better way to improve the whole type conversion mechanism in Struts2. Instead hardcoded implementations, Struts2 should use its own approach to create and use the default type converters. Steven could you register a ticket with the patch ? I think, it wi

Re: Proposed ObjectFactory API Change

2011-10-21 Thread Steven Benitez
On the subject of type conversion, I have a another idea to share: I'd like to see a better way to register global type converters than the xwork-conversion.properties file. How about an entry in the struts.xml like: Conventions plug-in could add an annotation-oriented approach, too. If I miss

Re: Proposed ObjectFactory API Change

2011-10-21 Thread Dave Newton
Wrong button. Now that XW is part of S2 proper it seems like we have an opportunity to clean some stuff up and add some nice functionality, although I'm at a bit of a loss with how to compete against Spring MVC at this point. What do we think would be cool to see? I toyed with a Groovy-based con

Re: Proposed ObjectFactory API Change

2011-10-21 Thread Dave Newton
I'd also like to see a less hard-coded impl of the default type converters. On Fri, Oct 21, 2011 at 9:37 PM, Steven Benitez wrote: > Hey, all: > > I'd like to propose an API change to ObjectFactory to add a > buildTypeConverter method. Currently, type converters are created using the > more gener