hirondelle.fish.exercise.multivalued
Class ToppingsAction
Object
ActionImpl
ActionTemplateShowAndApply
hirondelle.fish.exercise.multivalued.ToppingsAction
- All Implemented Interfaces:
- Action
public final class ToppingsAction
- extends ActionTemplateShowAndApply
Exercise the case of multivalued request parameters.
Method Summary |
protected void |
apply()
Never exercised, in this special case, because of the hard-coded error. |
protected void |
show()
Show a form populated with items from hard-coded Collections. |
protected void |
validateUserInput()
Extract POSTed collections, and hard-code an error. |
Methods inherited from class ActionImpl |
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Age
public static final RequestParameter Age
DesiredSalary
public static final RequestParameter DesiredSalary
BirthDate
public static final RequestParameter BirthDate
PizzaToppings
public static final RequestParameter PizzaToppings
Artists
public static final RequestParameter Artists
TempFile
public static final RequestParameter TempFile
ToppingsAction
public ToppingsAction(RequestParser aRequestParser)
show
protected void show()
throws AppException
- Show a form populated with items from hard-coded Collections.
- Specified by:
show
in class ActionTemplateShowAndApply
- Throws:
AppException
validateUserInput
protected void validateUserInput()
throws AppException
- Extract POSTed collections, and hard-code an error.
The purpose of the error is to exercise the population of the form in that circumstance.
- Specified by:
validateUserInput
in class ActionTemplateShowAndApply
- Throws:
AppException
apply
protected void apply()
throws AppException
- Never exercised, in this special case, because of the hard-coded error.
- Specified by:
apply
in class ActionTemplateShowAndApply
- Throws:
AppException
Copyright Hirondelle Systems - Generated 2013Oct19.12.26