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
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:
>
>
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
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
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)
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