Hi all,
I created my own LocalePicker implementation, I just created a new class and 
mapped it in web.xml:
        <!-- Override the default localepicker class -->        <init-param>    
        <param-name>LocalePicker.Class</param-name>            
<param-value>com.my.own.LocalePicker</param-value>        </init-param>
it works, however I have Spring integrated in my app, so I need to inject a 
Spring bean, I tried this:
public class LocalePicker extends DefaultLocalePicker {MyBean myBean;
    @SpringBean("myBean")    protected void setMyBean(MyBean mybean) {        
this.myBean = myBean;    }

It's not working, the "myBean" bean is properly created by Spring but I cannot 
inject it in my overriden default locale picker.
Kindly advice, thanks.
///RGB


                                          
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to