org.apache.shale.usecases.ajax
Class Completion

java.lang.Object
  extended by org.apache.shale.view.AbstractFacesBean
      extended by org.apache.shale.view.AbstractViewController
          extended by org.apache.shale.usecases.ajax.Completion
All Implemented Interfaces:
org.apache.shale.view.ViewController

public class Completion
extends org.apache.shale.view.AbstractViewController

View controller for Ajax code completion test case.

$Id: Completion.java 464373 2006-10-16 04:21:54Z rahul $


Constructor Summary
Completion()
           
 
Method Summary
 String getName()
          Return the state name to be entered.
 String getResult()
          Return the result stored by the submit action.
 void setName(String name)
          Set the state name to be entered.
 void setResult(String result)
          Set the result stored by the submit action.
 String submit()
          Store submitted value in the result property.
 
Methods inherited from class org.apache.shale.view.AbstractViewController
destroy, init, isPostBack, preprocess, prerender, setPostBack
 
Methods inherited from class org.apache.shale.view.AbstractFacesBean
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getExternalContext, getFacesContext, getLifecycle, getRequestHeaderMap, getRequestMap, getRequestParameter, getRequestParameterMap, getRequestParameterValues, getSessionMap, getValue, info, info, log, log, retrieveData, saveData, setBean, setValue, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Completion

public Completion()
Method Detail

getName

public String getName()

Return the state name to be entered.


setName

public void setName(String name)

Set the state name to be entered.

Parameters:
name - The new state name

getResult

public String getResult()

Return the result stored by the submit action.


setResult

public void setResult(String result)

Set the result stored by the submit action.

Parameters:
result - The new result

submit

public String submit()

Store submitted value in the result property.



Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.