webwork.examples.i18n
Class Checkout

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

public class Checkout
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
Checkout()
           
 
Method Summary
protected  java.lang.String doExecute()
           
 double getTotalPrice()
           
 
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

Checkout

public Checkout()
Method Detail

getTotalPrice

public double getTotalPrice()

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.