Re: A basic question about spring configuration
tomLee <[email protected]>
| Newsgroups | gmane.comp.java.springframework.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks,I got formView in the parent class SimpleFormController, and found private Validator[] validators; in BaseCommandController,but it's not validator Lachezar Dobrev wrote: > > Parent classes of the LoginAction? > > 2009/10/29 tomLee <[email protected]>: >> >> I have a action: >> LoginAction extends SimpleFormController >> >> In configuration xml file: >> >> <bean id="LoginAction" class="net.my.action.LoginAction"> >> <property name="commandClass"> >> <value>net.my.action.LoginInfo</value> >> </property> >> <property name="service" ref="userSerivceTX"></property> >> <property name="validator"> >> <ref local="LoginValidator" /> >> </property> >> <!-- <property name="formView"> >> <value>login</value> >> </property> >> <property name="fail_view"> >> <value>loginfail</value> >> </property> >> <property name="success_view"> >> <value>main</value> >> </property> --> >> </bean> >> >> There are two properties:validator and formView,which I can't find where >> they are defined.Wondering how can spring injection these two properties. >> >> Thanks. >> >> -- >> View this message in context: >> http://www.nabble.com/A-basic-question-about-spring-configuration-tp26105459p26105459.html >> Sent from the springframework-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Springframework-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/springframework-user >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Springframework-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/springframework-user > > -- View this message in context: http://www.nabble.com/A-basic-question-about-spring-configuration-tp26105459p26108075.html Sent from the springframework-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Springframework-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/springframework-user