View Javadoc

1   /*
2    * 
3    * 
4    */
5   package oscon2006.web;
6   
7   import wicket.ISessionFactory;
8   import wicket.Session;
9   import wicket.markup.html.WebPage;
10  import wicket.session.ISessionStore;
11  
12  public class WebApplication extends wicket.protocol.http.WebApplication
13  {
14  
15  	protected void init()
16  	{
17  		this.getMarkupSettings().setStripWicketTags(true);
18  		this.getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
19  		this.getMarkupSettings().setStripXmlDeclarationFromOutput(true);
20  
21  		this.getApplicationSettings().setDefaultLocale(java.util.Locale.US);
22  
23  		this.getAjaxSettings().setAjaxDebugModeEnabled(false);
24  		
25  		// todo ? : this.getApplicationSettings().setAccessDeniedPage(x);
26  		// todo ? : this.getApplicationSettings().setInternalErrorPage(y);
27  		// todo ? : this.getApplicationSettings().setPageExpiredErrorPage(z);
28  	}
29  	
30  	@Override
31  	public Class getHomePage()
32  	{
33  		return HomePage.class;
34  	}
35  
36  }