Re: Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-30 Thread cablepuff
Thanks it works. logout It would be cool if a.) I can specify and configure the post logout page as either a parameter or configuration (don't know how). b.) Fix the session issue during logout. http://tapestry.1045711.n5.nabble.com/Error-after-logout-td3389686.h

Re: Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-30 Thread Alejandro Scandroli
That's what I thought. If you wan't to handle the logout yourself you need to manually create the logout link in the same component. Add this to your Layout.tml custom-logout Cheers. Alejandro. On Thu, Jun 30, 2011 at 7:56 AM, cablepuff wrote: > >            

Re: Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-29 Thread cablepuff
  

Re: Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-29 Thread Alejandro Scandroli
Which class contains the onActionFromLogout method? Can you show me how are you coding the link (both .tml and .java code)? On Mon, Jun 27, 2011 at 3:07 PM, cablepuff wrote: > Hi actually after looking at the log. onActionFromLogout doesn't seem to get > called either. > > -- > View this messag

Re: Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-27 Thread cablepuff
Hi actually after looking at the log. onActionFromLogout doesn't seem to get called either. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-25-with-Tynamo-0-4-0-onActionFromLogout-not-redirecting-to-index-page-tp4521350p4528286.html Sent from the Tapestry - User

Re: Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-27 Thread Alejandro Scandroli
The logout is working but the redirect isn't? is that the issue? Are you sure onActionFromLogout method is getting called? You code seems OK, although I prefer to use PageRenderLinkSource. In your case the return would be something like: return linkSource.createPageRenderLink(Index.class)

Tapestry 5.25 with Tynamo 0.4.0 onActionFromLogout not redirecting to index page.

2011-06-24 Thread cablepuff
So i have many pages that implements "onActionFromLogout" @InjectPage private Index index; public Object onActionFromLogout() { SecurityUtils.getSubject().logout(); try { // the session is already invalidated, but need to cause an exception since tapestry