br.com.arsmachina.example.web.components
Class Layout

java.lang.Object
  extended by br.com.arsmachina.example.web.components.Layout

@IncludeStylesheet(value="context:/css/main.css")
public class Layout
extends Object

Component that is used as the layout for all pages in this application.

Author:
Thiago H. de Paula Figueiredo

Constructor Summary
Layout()
           
 
Method Summary
 String getTitle()
          Returns the value of the title property.
 boolean isLoggedIn()
           
 void logout()
          Invalidates the session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Layout

public Layout()
Method Detail

getTitle

public final String getTitle()
Returns the value of the title property.

Returns:
a String.

logout

@OnEvent(component="logout",
         value="action")
public void logout()
Invalidates the session.


isLoggedIn

public boolean isLoggedIn()


Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.