On 8/31/05, Ken Weiner <[EMAIL PROTECTED]> wrote:
The Spring JSF integration I've seen focuses on enabling Spring IoC for JSF managed beans.  There is a way to enable IoC for JSF Converters, Validators, and UIComponents too.  I posted information on the Spring JSF Wiki: http://opensource.atlassian.com/confluence/spring/x/Qgo
I was hoping Spring would incorporate the SpringApplication and SpringApplicationFactory code in a future release, but there haven't yet been comments on the Wiki page.


For converters, isn't this already possible out of the box (if you've got the Spring IoC integration with managed beans)?

    <h:inputText ... converter="#{myConverter}" .../>

where "myConverter" is a spring bean. 

For validators, you can bind to a validator *method* of some bean that happens to be created via the IoC facility. 

-Ken

Craig

Reply via email to