org.apache.struts.webapp.example
Class RegistrationBacking

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

public class RegistrationBacking
extends java.lang.Object

Backing bean for the registration.jsp page.


Constructor Summary
RegistrationBacking()
           
 
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 create()
          Create a new subscription.
 java.lang.String delete()
          Delete an existing subscription.
 java.lang.String edit()
          Edit an existing subscription.
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.
 javax.faces.component.UIData getTable()
          Return the UIData instance we are bound to.
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.
 void setTable(javax.faces.component.UIData table)
          Set the UIData instance we are bound to.
protected  java.lang.StringBuffer subscription(javax.faces.context.FacesContext context)
          Return the context relative base URL for the "edit subscriptions" action.
 java.lang.String update()
          Update the subscriptions to reflect any revisions to the type and autoConnect properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationBacking

public RegistrationBacking()
Method Detail

getTable

public javax.faces.component.UIData getTable()

Return the UIData instance we are bound to.


setTable

public void setTable(javax.faces.component.UIData table)

Set the UIData instance we are bound to.

Parameters:
table - The UIData instance

create

public java.lang.String create()

Create a new subscription.


delete

public java.lang.String delete()

Delete an existing subscription.


edit

public java.lang.String edit()

Edit an existing subscription.


update

public java.lang.String update()

Update the subscriptions to reflect any revisions to the type and autoConnect properties.


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.