Docs
Atlassian Marketplace
Answers
News
About
Log In
SDK
JIRA
Confluence
Crowd
Bamboo
Gadgets
AUI
API Reference
Other Topics
WebWork
Package Index
|
Class Index
webwork.action
webwork.action.client
webwork.action.factory
webwork.action.standard
webwork.config
webwork.config.util
webwork.dispatcher
webwork.examples
webwork.examples.bank
webwork.examples.events
webwork.examples.helloworld
webwork.examples.helloworld.applet
webwork.examples.i18n
webwork.examples.jasperreports
webwork.examples.jdom
webwork.examples.tutorial
webwork.examples.userreg
webwork.examples.vxml
webwork.expr
webwork.interceptor
webwork.multipart
webwork.util
webwork.util.classloader
webwork.util.editor
webwork.util.injection
webwork.view.jasperreports
webwork.view.taglib
webwork.view.taglib.iterator
webwork.view.taglib.ui
webwork.view.taglib.ui.table
webwork.view.taglib.ui.table.renderer
webwork.view.taglib.vui
webwork.view.velocity
webwork.view.xslt
webwork.view.xslt.SAXAdapter
webwork.view.xslt.SAXAdapter.dom
Classes
ActionListing
AgeList
Bar
BeanUtilTest
BookList
CascadingSelectTest
CountryMap
ExprFormTest
FileUploadTest
Foo
FormTest
FormTest.Preference
GenderMap
HitUrl
LoanCalc
LoanCalc.MonthlyDue
MonthList
MonthSelector
MultiForm
MultiForm.Bar
MultiForm.Foo
NumberGuess
NumberGuessBean
Person
Primes
ServletTest
SystemInfo
TabbedPaneTest
TableAction
TableAction.Dummy
Test
XSLTTest
XSLTTest.TestBean
Package Index
|
Class Index
Summary:
Inherited Constants
|
Inherited Fields
|
Ctors
|
Methods
|
Inherited Methods
|
[Expand All]
public class
Foo
extends
ActionSupport
java.lang.Object
↳
webwork.action.ActionSupport
↳
webwork.examples.Foo
Class Overview
Foo
Summary
[Expand]
Inherited Constants
From interface
webwork.action.Action
String
ERROR
The action execution was a failure.
String
INPUT
The action execution require more input in order to succeed.
String
LOGIN
The action could not execute, since the user most was not logged in.
String
NONE
The action execution was successful but do not show a view.
String
SUCCESS
The action execution was successful.
[Expand]
Inherited Fields
From class
webwork.action.ActionSupport
protected
String
command
protected
Map
errorMap
protected
Collection
errorMessages
protected Log
log
Public Constructors
Foo
()
Public Methods
String
doExecute
()
String
getTitle
()
void
setTitle
(
String
title)
[Expand]
Inherited Methods
From class
webwork.action.ActionSupport
void
addError
(
String
fieldName,
String
errorMessage)
This method is used to attach an error message to a particular form field.
void
addErrorMessage
(
String
anErrorMessage)
Add an error message to this action
void
addIllegalArgumentException
(
String
fieldName,
IllegalArgumentException
e)
String
doDefault
()
"default" command
String
doExecute
()
void
doValidation
()
Subclasses may override this method to provide validation of input data.
String
execute
()
Execute will first check the request for a result exception.
String
getActionName
()
This is used to get the current action's class name
String
getCommandName
()
Collection
getErrorMessages
()
Get the list of error messages for this action
Map
getErrors
()
Get the field specific errors associated with this action.
boolean
getHasErrorMessages
()
Check whether there are any error messages
boolean
getHasErrors
()
Check whether there are any errors associated with this action.
Locale
getLocale
()
Get the locale for this action.
String
getPropertyEditorMessage
(
String
fieldName,
PropertyEditorException
pe)
This method is called from addIllegalArgumentException and it should return an error message (that may be localized).
String
getText
(
String
aTextName)
Get a text from the resource bundles associated with this action.
ResourceBundle
getTexts
()
Get the resource bundle associated with this action.
ResourceBundle
getTexts
(
String
aBundleName)
Get the named bundle.
TimeZone
getTimezone
()
Get the user's timezone for date/time formatting in text tag.
boolean
invalidInput
()
Check whether there are any error messages.
String
invokeCommand
()
Invokes an alternate execution path for the action.
boolean
isCommand
(
String
aName)
Detect whether a particular command has been issued
void
setCommand
(
String
command)
Support implementation of CommandDriven interface.
void
setErrorMessages
(
Collection
errorMessages)
void
setErrors
(
Map
errorMap)
void
validate
()
Do validation.
From class
java.lang.Object
Object
clone
()
boolean
equals
(
Object
arg0)
void
finalize
()
final
Class
<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
()
final void
wait
(long arg0, int arg1)
final void
wait
(long arg0)
From interface
webwork.action.Action
String
execute
()
This method is where the logic of the action is executed.
From interface
webwork.action.IllegalArgumentAware
void
addIllegalArgumentException
(
String
fieldName,
IllegalArgumentException
e)
Public Constructors
public
Foo
()
Public Methods
public
String
doExecute
()
public
String
getTitle
()
public void
setTitle
(
String
title)