org.apache.struts.webapp.example
Class MainMenuBacking

java.lang.Object
  extended by org.apache.struts.webapp.example.MainMenuBacking

public class MainMenuBacking
extends java.lang.Object

Backing bean for the mainMenu.jsp page.


Constructor Summary
MainMenuBacking()
           
 
Method Summary
protected  java.lang.StringBuffer action(javax.faces.context.FacesContext context, java.lang.String action)
          Return the context relative path for the specified action.
 java.lang.String edit()
          Forward to the Edit Registration action.
protected  void forward(javax.faces.context.FacesContext context, java.lang.String url)
          Forward to the specified URL and mark this response as having been completed.
 java.lang.String logoff()
          Forward to the Logoff action.
protected  java.lang.StringBuffer logoff(javax.faces.context.FacesContext context)
          Return the context relative base URL for the "logoff" action.
protected  java.lang.StringBuffer logon(javax.faces.context.FacesContext context)
          Return the context relative base URL for the "logon" action.
protected  java.lang.StringBuffer registration(javax.faces.context.FacesContext context)
          Return the context relative base URL for the "edit registration" action.
protected  java.lang.StringBuffer subscription(javax.faces.context.FacesContext context)
          Return the context relative base URL for the "edit subscriptions" action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainMenuBacking

public MainMenuBacking()
Method Detail

edit

public java.lang.String edit()

Forward to the Edit Registration action.


logoff

public java.lang.String logoff()

Forward to the Logoff action.


action

protected java.lang.StringBuffer action(javax.faces.context.FacesContext context,
                                        java.lang.String action)

Return the context relative path for the specified action.

Parameters:
context - FacesContext for the current request
action - Name of the requested action

forward

protected void forward(javax.faces.context.FacesContext context,
                       java.lang.String url)

Forward to the specified URL and mark this response as having been completed.

Parameters:
context - FacesContext for the current request
url - Context-relative URL to forward to
Throws:
javax.faces.FacesException - if any error occurs

logoff

protected java.lang.StringBuffer logoff(javax.faces.context.FacesContext context)

Return the context relative base URL for the "logoff" action.

Parameters:
context - FacesContext for the current request

logon

protected java.lang.StringBuffer logon(javax.faces.context.FacesContext context)

Return the context relative base URL for the "logon" action.

Parameters:
context - FacesContext for the current request

registration

protected java.lang.StringBuffer registration(javax.faces.context.FacesContext context)

Return the context relative base URL for the "edit registration" action.

Parameters:
context - FacesContext for the current request

subscription

protected java.lang.StringBuffer subscription(javax.faces.context.FacesContext context)

Return the context relative base URL for the "edit subscriptions" action.

Parameters:
context - FacesContext for the current request


Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.