Re: [appfuse-user] How to get a reference to a manager in a custom validator

2008-01-09 Thread Matt Raible
It's always OK to do something if it makes your application work! ;-) Matt On Jan 9, 2008, at 8:44 AM, sudheerp wrote: Hello Matt, Yes. I was able to solve the problem with the following piece of code by moving applicationContext-resources.xml to \web\WEB-INF\classes from \web \WEB-IN

Re: [appfuse-user] How to get a reference to a manager in a custom validator

2008-01-09 Thread sudheerp
Hello Matt, Yes. I was able to solve the problem with the following piece of code by moving applicationContext-resources.xml to \web\WEB-INF\classes from \web\WEB-INF. Is it okay to do so? String[] path = { "classpath:META-INF/applicationContext-hibernate.xml",

Re: [appfuse-user] How to get a reference to a manager in a custom validator

2008-01-02 Thread Matt Raible
Are you sure your bean is named "personsManager" and not "personManager"? Matt On 12/25/07, sudheerp <[EMAIL PROTECTED]> wrote: > > Hello, > >*** MERRY CHRISTMAS TO ALL *** > >I am using appfusejsf 1.9.4. I have written a custom JSF validator, > in which I want to validate form data again

[appfuse-user] How to get a reference to a manager in a custom validator

2007-12-25 Thread sudheerp
Hello, *** MERRY CHRISTMAS TO ALL *** I am using appfusejsf 1.9.4. I have written a custom JSF validator, in which I want to validate form data against the database data. For this I want to get a bean programatically by using getBean("personsManager"), and I tried th