I would create an EventLink (the logout link) that, when clicked,
invalidates the session.

<a href="#" t:type="EventLink" t:event="logout">Logout</a>

@Inject
private Request request;

@OnEvent("logout)"
void logout() {
    request.getSession().invalidate();
}

-- 
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to