Hi Kristian, Click always calls onInit() in the page events processing except following cases:
- Page#onSecurityCheck() returns false - Ajax request (invocation of page action) If your case is either of these,I expect the reason is not in Click. For example, LogoutPage is not mapped to the redirect path correctly. Regards, 2012/6/14 kristian_widjaja <[email protected]>: > Hi Naoki, > > Thanks for your great advice. It's worked. Actually, the reason why I put it > in the constructor is because > when I logout from the app, spring-security redirect the page to LogoutPage, > and the "onInit()" method of LogoutPage is not even executed. I have a small > logic that need the AppConfig instance to get some property to be used > before showing the index page. Any idea why is the "onInit()" is not > executed? > > Thanks again for your help. > > Regards, > Kristian. > > -- > View this message in context: > http://click.1134972.n2.nabble.com/Resource-not-working-when-using-Spring-3-x-AnnotationConfigWebApplicationContext-tp7578133p7578135.html > Sent from the click-user mailing list archive at Nabble.com. -- Naoki Takezoe
