Uses of Class
org.apache.struts.util.MessageResources
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
This package provides objects that encapsulate access to
the request and session-scoped resources to service
command processing.
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file. The actions package provides special adapters between the incoming HTTP
request and the corresponding business logic.
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.
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.
The "struts-html" tag library
contains JSP custom tags useful in creating dynamic HTML user interfaces,
including input forms.
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.
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
The validator package provides a series of classes to validate
ActionForm
type of input.-
Uses of MessageResources in org.apache.struts.action
Modifier and TypeFieldDescriptionprotected MessageResources
ActionServlet.internal
The resources object for our internal resources.Modifier and TypeMethodDescriptionActionServlet.getInternal()
Return theMessageResources
instance containing our internal message strings.protected MessageResources
RequestProcessor.getInternal()
Return theMessageResources
instance containing our internal message strings.protected MessageResources
Action.getResources
(HttpServletRequest request) Return the default message resources for the current module.protected MessageResources
Action.getResources
(HttpServletRequest request, String key) Return the specified message resources for the current module. -
Uses of MessageResources in org.apache.struts.chain.contexts
Modifier and TypeMethodDescriptionActionContext.getMessageResources()
Return the default message resources for the current module.ActionContext.getMessageResources
(String key) Return the specified message resources for the current module.ActionContextBase.getMessageResources()
ActionContextBase.getMessageResources
(String key) ServletActionContext.getMessageResources()
ServletActionContext.getMessageResources
(String key) Modifier and TypeMethodDescriptionvoid
ActionContext.setMessageResources
(MessageResources resources) Set the default message resources for the current module.void
ActionContextBase.setMessageResources
(MessageResources messageResources) void
ServletActionContext.setMessageResources
(String key, MessageResources resources) Store the message resources for the current module under the given request attribute key.void
ServletActionContext.setMessageResources
(MessageResources resources) -
Uses of MessageResources in org.apache.struts.config
Modifier and TypeMethodDescriptionConfigHelper.getMessageResources()
The application resources for this application.ConfigHelperInterface.getMessageResources()
The application resources for this application. -
Uses of MessageResources in org.apache.struts.extras.actions
Modifier and TypeFieldDescriptionprotected static MessageResources
ActionDispatcher.messages
The message resources for this package.protected static MessageResources
BaseAction.messages
The message resources for this package. -
Uses of MessageResources in org.apache.struts.faces.renderer
Modifier and TypeFieldDescriptionprotected static MessageResources
ErrorsRenderer.dummy
The dummy message resources for this package.Modifier and TypeMethodDescriptionprotected MessageResources
ErrorsRenderer.resources
(FacesContext context, UIComponent component) Return theMessageResources
bundle from which we should return any Struts based error messages. -
Uses of MessageResources in org.apache.struts.faces.util
Modifier and TypeMethodDescriptionStrutsContext.getMessageResources()
Return theMessageResources
instance for the application module that is processing this request (if any).ModifierConstructorDescriptionMessagesMap
(MessageResources messages, Locale locale) Construct a newMessagesMap
instance that wraps the specifiedMessageResources
instance, and returns messages for the specifiedLocale
. -
Uses of MessageResources in org.apache.struts.scripting
Modifier and TypeMethodDescriptionvoid
StrutsInfo.setMessages
(MessageResources res) Sets the message resources.ModifierConstructorDescriptionStrutsInfo
(ScriptAction action, ActionMapping mapping, ActionForm form, MessageResources res) Constructor. -
Uses of MessageResources in org.apache.struts.taglib
Modifier and TypeMethodDescriptionTagUtils.retrieveMessageResources
(PageContext pageContext, String bundle, boolean checkPageScope) Returns the appropriate MessageResources object for the current module and the given bundle. -
Uses of MessageResources in org.apache.struts.taglib.bean
Modifier and TypeFieldDescriptionprotected static MessageResources
CookieTag.messages
The message resources for this package.protected static MessageResources
DefineTag.messages
The message resources for this package.protected static MessageResources
HeaderTag.messages
The message resources for this package.protected static MessageResources
IncludeTag.messages
The message resources for this package.protected static MessageResources
MessageTag.messages
The message resources for this package.protected static MessageResources
PageTag.messages
The message resources for this package.protected static MessageResources
ParameterTag.messages
The message resources for this package.protected static MessageResources
ResourceTag.messages
The message resources for this package.protected static MessageResources
SizeTag.messages
The message resources for this package.protected static MessageResources
StrutsTag.messages
The message resources for this package.protected static MessageResources
WriteTag.messages
The message resources for this package. -
Uses of MessageResources in org.apache.struts.taglib.html
Modifier and TypeFieldDescriptionprotected static MessageResources
MessagesTag.messageResources
The message resources for this package.protected static MessageResources
BaseHandlerTag.messages
The message resources for this package.protected static MessageResources
BaseInputTag.messages
The message resources for this package.protected static MessageResources
BaseTag.messages
The message resources for this package.protected static MessageResources
CheckboxTag.messages
The message resources for this package.protected static MessageResources
ErrorsTag.messages
The message resources for this package.protected static MessageResources
FormTag.messages
The message resources for this package.protected static MessageResources
HtmlTag.messages
The message resources for this package.protected static MessageResources
ImgTag.messages
The message resources for this package.protected static MessageResources
LinkTag.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
OptionsTag.messages
The message resources for this package.protected static MessageResources
OptionTag.messages
The message resources for this package.protected static MessageResources
ParamTag.messages
The message resources for this package.protected static MessageResources
RadioTag.messages
The message resources for this package.protected static MessageResources
SelectTag.messages
The message resources for this package.protected static MessageResources
SubmitTag.messages
The message resources for this package. -
Uses of MessageResources in org.apache.struts.taglib.logic
Modifier and TypeFieldDescriptionprotected 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
IterateTag.messages
The message resources for this package.protected static MessageResources
RedirectTag.messages
The message resources for this package. -
Uses of MessageResources in org.apache.struts.util
Modifier and TypeClassDescriptionclass
Concrete subclass ofMessageResources
that reads message keys and corresponding strings from named property resources in a similar manner (see modes below) thatjava.util.PropertyResourceBundle
does.Modifier and TypeFieldDescriptionprotected static MessageResources
ResponseUtils.messages
The message resources for this package.Modifier and TypeMethodDescriptionabstract MessageResources
MessageResourcesFactory.createResources
(String config) Create and return a newly instansiatedMessageResources
.PropertyMessageResourcesFactory.createResources
(String config) Create and return a newly instansiatedMessageResources
.static MessageResources
MessageResources.getMessageResources
(String config) Create and return an instance ofMessageResources
for the created by the defaultMessageResourcesFactory
. -
Uses of MessageResources in org.apache.struts.validator
Modifier and TypeMethodDescriptionstatic MessageResources
Resources.getMessageResources
(HttpServletRequest request) RetrieveMessageResources
for the module.static MessageResources
Resources.getMessageResources
(ServletContext application, HttpServletRequest request, String bundle) RetrieveMessageResources
for the module and bundle.Modifier and TypeMethodDescriptionstatic String[]
Resources.getArgs
(String actionName, MessageResources messages, Locale locale, org.apache.commons.validator.Field field) Gets the message arguments based on the currentValidatorAction
andField
.static String
Resources.getMessage
(ServletContext application, HttpServletRequest request, MessageResources defaultMessages, Locale locale, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field) Gets theLocale
sensitive value based on the key passed in.static String
Resources.getMessage
(MessageResources messages, Locale locale, String key) Gets theLocale
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 theValidatorAction
message and theField
's arg objects.