Package | Description |
---|---|
org.apache.struts.action |
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
|
org.apache.struts.actions |
The actions package provides special adapters between the incoming HTTP
request and the corresponding business logic.
|
org.apache.struts.chain.contexts |
This package provides objects that encapsulate access to
the request and session-scoped resources to service
command processing.
|
org.apache.struts.config |
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file. |
org.apache.struts.faces.renderer | |
org.apache.struts.faces.util | |
org.apache.struts.scripting |
The scripting package is the core of the Struts Scripting framework,
which builds on Struts Action to allow Struts Actions be written
with the scripting language of your choice.
|
org.apache.struts.taglib | |
org.apache.struts.taglib.bean |
The "struts-bean" tag library contains JSP custom tags useful in defining
new beans (in any desired scope) from a variety of possible sources, as well
as a tag to render a particular bean (or bean property) to the output
response.
|
org.apache.struts.taglib.html |
The "struts-html" tag library
contains JSP custom tags useful in creating dynamic HTML user interfaces,
including input forms.
|
org.apache.struts.taglib.logic |
The "struts-logic" tag library contains tags that are useful in managing
conditional generation of output text, looping over object collections
for repetitive generation of output text, and application flow management.
|
org.apache.struts.util |
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
|
org.apache.struts.validator |
The validator package provides a series of classes to validate
ActionForm type of input. |
Modifier and Type | Field and Description |
---|---|
protected MessageResources |
ActionServlet.internal
The resources object for our internal resources.
|
Modifier and Type | Method and Description |
---|---|
MessageResources |
ActionServlet.getInternal()
Return the
MessageResources instance containing our
internal message strings. |
protected MessageResources |
RequestProcessor.getInternal()
Return the
MessageResources instance containing our
internal message strings. |
protected MessageResources |
Action.getResources(javax.servlet.http.HttpServletRequest request)
Return the default message resources for the current module.
|
protected MessageResources |
Action.getResources(javax.servlet.http.HttpServletRequest request,
String key)
Return the specified message resources for the current module.
|
Modifier and Type | Field and Description |
---|---|
protected static MessageResources |
ActionDispatcher.messages
The message resources for this package.
|
protected static MessageResources |
BaseAction.messages
The message resources for this package.
|
Modifier and Type | Method and Description |
---|---|
MessageResources |
ActionContext.getMessageResources()
Return the default message resources for the current module.
|
MessageResources |
ActionContextBase.getMessageResources() |
MessageResources |
ServletActionContext.getMessageResources() |
MessageResources |
ActionContext.getMessageResources(String key)
Return the specified message resources for the current module.
|
MessageResources |
ActionContextBase.getMessageResources(String key) |
MessageResources |
ServletActionContext.getMessageResources(String key) |
Modifier and Type | Method and Description |
---|---|
void |
ActionContext.setMessageResources(MessageResources resources)
Set the default message resources for the current module.
|
void |
ActionContextBase.setMessageResources(MessageResources messageResources) |
void |
ServletActionContext.setMessageResources(MessageResources resources) |
void |
ServletActionContext.setMessageResources(String key,
MessageResources resources)
Store the mesasage resources for the current module under the given
request attribute key.
|
Modifier and Type | Method and Description |
---|---|
MessageResources |
ConfigHelperInterface.getMessageResources()
The application resources for this application.
|
MessageResources |
ConfigHelper.getMessageResources()
The application resources for this application.
|
Modifier and Type | Field and Description |
---|---|
protected static MessageResources |
ErrorsRenderer.dummy
The dummy message resources for this package.
|
Modifier and Type | Method and Description |
---|---|
protected MessageResources |
ErrorsRenderer.resources(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Return the
MessageResources bundle from which
we should return any Struts based error messages. |
Modifier and Type | Method and Description |
---|---|
MessageResources |
StrutsContext.getMessageResources()
Return the
MessageResources instance for the
application module that is processing this request (if any). |
Constructor and Description |
---|
MessagesMap(MessageResources messages,
Locale locale)
Construct a new
MessagesMap instance that wraps the
specified MessageResources instance, and returns messages
for the specified Locale . |
Modifier and Type | Method and Description |
---|---|
MessageResources |
StrutsInfo.getMessages()
Gets the message resources.
|
Modifier and Type | Method and Description |
---|---|
void |
StrutsInfo.setMessages(MessageResources res)
Sets the message resources.
|
Constructor and Description |
---|
StrutsInfo(ScriptAction action,
ActionMapping mapping,
ActionForm form,
MessageResources res)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MessageResources |
TagUtils.retrieveMessageResources(javax.servlet.jsp.PageContext pageContext,
String bundle,
boolean checkPageScope)
Returns the appropriate MessageResources object for the current module
and the given bundle.
|
Modifier and Type | Field and Description |
---|---|
protected static MessageResources |
DefineTag.messages
The message resources for this package.
|
protected static MessageResources |
SizeTag.messages
The message resources for this package.
|
protected static MessageResources |
HeaderTag.messages
The message resources for this package.
|
protected static MessageResources |
WriteTag.messages
The message resources for this package.
|
protected static MessageResources |
ResourceTag.messages
The message resources for this package.
|
protected static MessageResources |
MessageTag.messages
The message resources for this package.
|
protected static MessageResources |
CookieTag.messages
The message resources for this package.
|
protected static MessageResources |
ParameterTag.messages
The message resources for this package.
|
protected static MessageResources |
StrutsTag.messages
The message resources for this package.
|
protected static MessageResources |
PageTag.messages
The message resources for this package.
|
protected static MessageResources |
IncludeTag.messages
The message resources for this package.
|
Modifier and Type | Field and Description |
---|---|
protected static MessageResources |
MessagesTag.messageResources
The message resources for this package.
|
protected static MessageResources |
OptionsTag.messages
The message resources for this package.
|
protected static MessageResources |
CheckboxTag.messages
The message resources for this package.
|
protected static MessageResources |
BaseHandlerTag.messages
The message resources for this package.
|
protected static MessageResources |
ImgTag.messages
The message resources for this package.
|
protected static MessageResources |
SubmitTag.messages
The message resources for this package.
|
protected static MessageResources |
LinkTag.messages
The message resources for this package.
|
protected static MessageResources |
OptionTag.messages
The message resources for this package.
|
protected static MessageResources |
SelectTag.messages
The message resources for this package.
|
protected static MessageResources |
FormTag.messages
The message resources for this package.
|
protected static MessageResources |
BaseInputTag.messages
The message resources for this package.
|
protected static MessageResources |
RadioTag.messages
The message resources for this package.
|
protected static MessageResources |
MultiboxTag.messages
The message resources for this package.
|
protected static MessageResources |
OptionsCollectionTag.messages
The message resources for this package.
|
protected static MessageResources |
ErrorsTag.messages
The message resources for this package.
|
protected static MessageResources |
ParamTag.messages
The message resources for this package.
|
protected static MessageResources |
HtmlTag.messages
The message resources for this package.
|
protected static MessageResources |
BaseTag.messages
The message resources for this package.
|
Modifier and Type | Field and Description |
---|---|
protected static MessageResources |
CompareTagBase.messages
The message resources for this package.
|
protected static MessageResources |
ConditionalTagBase.messages
The message resources for this package.
|
protected static MessageResources |
ForwardTag.messages
The message resources for this package.
|
protected static MessageResources |
RedirectTag.messages
The message resources for this package.
|
protected static MessageResources |
IterateTag.messages
The message resources for this package.
|
Modifier and Type | Class and Description |
---|---|
class |
PropertyMessageResources
Concrete subclass of
MessageResources that reads message keys
and corresponding strings from named property resources in a similar manner
(see modes below) that java.util.PropertyResourceBundle does. |
Modifier and Type | Field and Description |
---|---|
protected static MessageResources |
ResponseUtils.messages
The message resources for this package.
|
Modifier and Type | Method and Description |
---|---|
abstract MessageResources |
MessageResourcesFactory.createResources(String config)
Create and return a newly instansiated
MessageResources . |
MessageResources |
PropertyMessageResourcesFactory.createResources(String config)
Create and return a newly instansiated
MessageResources . |
static MessageResources |
MessageResources.getMessageResources(String config)
Create and return an instance of
MessageResources for the
created by the default MessageResourcesFactory . |
Modifier and Type | Method and Description |
---|---|
static MessageResources |
Resources.getMessageResources(javax.servlet.http.HttpServletRequest request)
Retrieve
MessageResources for the module. |
static MessageResources |
Resources.getMessageResources(javax.servlet.ServletContext application,
javax.servlet.http.HttpServletRequest request,
String bundle)
Retrieve
MessageResources for the module and bundle. |
Modifier and Type | Method and Description |
---|---|
static String[] |
Resources.getArgs(String actionName,
MessageResources messages,
Locale locale,
org.apache.commons.validator.Field field)
Gets the message arguments based on the current
ValidatorAction
and Field . |
static String |
Resources.getMessage(MessageResources messages,
Locale locale,
String key)
Gets the
Locale sensitive value based on the key passed
in. |
static String |
Resources.getMessage(MessageResources messages,
Locale locale,
org.apache.commons.validator.ValidatorAction va,
org.apache.commons.validator.Field field)
Gets the locale sensitive message based on the
ValidatorAction
message and the Field 's arg objects. |
static String |
Resources.getMessage(javax.servlet.ServletContext application,
javax.servlet.http.HttpServletRequest request,
MessageResources defaultMessages,
Locale locale,
org.apache.commons.validator.ValidatorAction va,
org.apache.commons.validator.Field field)
Gets the
Locale sensitive value based on the key passed
in. |
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.