Hi Karen,
> I put this initialization code in a separate init method 
> and annotated the method by:
>
> @After(stages = LifecycleStage.BindingAndValidation)
>
> This works as expected, the parameters are bound and does also execute when 
> I have an validation error (when no event handler is executed). The problem: 
> the @Springbean annotated DAO class is not yet injected at this stage.
>   

the SpringInterceptor is executed before BindingAndValidation. If your
DAO has not been injected, the reason is probably somewhere else. Is it
really injected in other cases? Did you annotate the DAO field in your
ActionBean? Does Spring know your DAO class? Changing the log level to
DEBUG may help in finding the reason for your problem.

Good luck and best wishes,
Marcus

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to