[appfuse-user] Validation using JSR-303

2010-04-22 Thread Sudhir N
Does any one change commons validation to JSR-303 validation in a Spring MVC project? Any documentation? Sudhir NimavatSenior software engineer. Quick start global PVT LTD. Baroda - 390007 Gujarat, India Warning: Spelling errors in this message are the product of a poor school syste

[appfuse-user] Re: Trying to save some data in database when login

2010-04-22 Thread Juan Antonio
I could answer myself :D It's possible to recover a bean from de applicationContext.xml and execute a method in it. Here is a good example: http://www.mkyong.com/spring/spring-how-to-do-dependency-injection-in-your-session-listener/ Greetings -- View this message in context: http://appfuse.

Re: [appfuse-user] Re: Trying to save some data in database when login

2010-04-22 Thread Matt Raible
I believe Spring Security publishes events you can listen for. On Apr 22, 2010, at 6:29 PM, Juan Antonio wrote: This type of spring listeners will fire when login? Thanks -- View this message in context: http://appfuse.547863.n4.nabble.com/Trying-to-save-some-data-in-database-when-login-

[appfuse-user] Re: Trying to save some data in database when login

2010-04-22 Thread Juan Antonio
This type of spring listeners will fire when login? Thanks -- View this message in context: http://appfuse.547863.n4.nabble.com/Trying-to-save-some-data-in-database-when-login-tp2022951p2022998.html Sent from the AppFuse - User mailing list archive at Nabble.com. --

Re: [appfuse-user] Trying to save some data in database when login

2010-04-22 Thread Matt Raible
I would look at using a Spring listener rather than a servlet listener. Servlet listeners weren't required to initialize in a specific order until Servlet 2.5 (I believe). On Apr 22, 2010, at 5:40 PM, Juan Antonio wrote: Hello everybody. I'm trying to save some data related to an user

[appfuse-user] Trying to save some data in database when login

2010-04-22 Thread Juan Antonio
Hello everybody. I'm trying to save some data related to an user when login. I am using the UserCounterListener.java: public void attributeAdded(HttpSessionBindingEvent event) { if (event.getName().equals(EVENT_KEY) && !isAnonymous()) { SecurityContext securityContext = (Sec

[appfuse-user] Re: Struts2 Annotations in ear file don't work

2010-04-22 Thread mid491
Hi, I have the same problem : my application is working well with my war but not within my EAR (same versions of struts 2 and Jboss) asif10 what did you do exactly ? I've tried dusty tips (http://struts.apache.org/2.x/docs/convention-plugin.html) but nothing, still action not found !! thx )) -