webwork.examples.i18n
Class Add

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bywebwork.examples.i18n.Shop
          extended bywebwork.examples.i18n.Add
All Implemented Interfaces:
Action, IllegalArgumentAware, java.io.Serializable, SessionAware

public class Add
extends Shop

This code is an adaptation of the I18N example from the JavaWorld article by Govind Seshadri. http://www.javaworld.com/javaworld/jw-03-2000/jw-03-ssj-jsp_p.html

See Also:
Serialized Form

Field Summary
 
Fields inherited from class webwork.examples.i18n.Shop
application, session
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages, log
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
Add()
           
 
Method Summary
protected  java.lang.String doExecute()
           
 void setAlbum(java.lang.String title)
           
 void setQuantity(int quantity)
           
 
Methods inherited from class webwork.examples.i18n.Shop
getCart, getLocale, setSession
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, doValidation, execute, getActionName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getText, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Add

public Add()
Method Detail

setAlbum

public void setAlbum(java.lang.String title)

setQuantity

public void setQuantity(int quantity)

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class ActionSupport
Throws:
java.lang.Exception


Copyright © 2001-2003 WebWork All Rights Reserved.