Uses of Class
org.apache.struts.util.MessageResources
Packages that use 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
Fields in org.apache.struts.action declared as MessageResourcesModifier and TypeFieldDescriptionprotected MessageResourcesActionServlet.internalThe resources object for our internal resources.Methods in org.apache.struts.action that return MessageResourcesModifier and TypeMethodDescriptionActionServlet.getInternal()Return theMessageResourcesinstance containing our internal message strings.protected MessageResourcesRequestProcessor.getInternal()Return theMessageResourcesinstance containing our internal message strings.protected MessageResourcesAction.getResources(HttpServletRequest request) Return the default message resources for the current module.protected MessageResourcesAction.getResources(HttpServletRequest request, String key) Return the specified message resources for the current module. -
Uses of MessageResources in org.apache.struts.chain.contexts
Methods in org.apache.struts.chain.contexts that return MessageResourcesModifier 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) Methods in org.apache.struts.chain.contexts with parameters of type MessageResourcesModifier and TypeMethodDescriptionvoidActionContext.setMessageResources(MessageResources resources) Set the default message resources for the current module.voidActionContextBase.setMessageResources(MessageResources messageResources) voidServletActionContext.setMessageResources(String key, MessageResources resources) Store the message resources for the current module under the given request attribute key.voidServletActionContext.setMessageResources(MessageResources resources) -
Uses of MessageResources in org.apache.struts.config
Methods in org.apache.struts.config that return MessageResourcesModifier 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
Fields in org.apache.struts.extras.actions declared as MessageResourcesModifier and TypeFieldDescriptionprotected static MessageResourcesActionDispatcher.messagesThe message resources for this package.protected static MessageResourcesBaseAction.messagesThe message resources for this package. -
Uses of MessageResources in org.apache.struts.faces.renderer
Fields in org.apache.struts.faces.renderer declared as MessageResourcesModifier and TypeFieldDescriptionprotected static MessageResourcesErrorsRenderer.dummyThe dummy message resources for this package.Methods in org.apache.struts.faces.renderer that return MessageResourcesModifier and TypeMethodDescriptionprotected MessageResourcesErrorsRenderer.resources(FacesContext context, UIComponent component) Return theMessageResourcesbundle from which we should return any Struts based error messages. -
Uses of MessageResources in org.apache.struts.faces.util
Methods in org.apache.struts.faces.util that return MessageResourcesModifier and TypeMethodDescriptionStrutsContext.getMessageResources()Return theMessageResourcesinstance for the application module that is processing this request (if any).Constructors in org.apache.struts.faces.util with parameters of type MessageResourcesModifierConstructorDescriptionMessagesMap(MessageResources messages, Locale locale) Construct a newMessagesMapinstance that wraps the specifiedMessageResourcesinstance, and returns messages for the specifiedLocale. -
Uses of MessageResources in org.apache.struts.scripting
Methods in org.apache.struts.scripting that return MessageResourcesMethods in org.apache.struts.scripting with parameters of type MessageResourcesModifier and TypeMethodDescriptionvoidStrutsInfo.setMessages(MessageResources res) Sets the message resources.Constructors in org.apache.struts.scripting with parameters of type MessageResourcesModifierConstructorDescriptionStrutsInfo(ScriptAction action, ActionMapping mapping, ActionForm form, MessageResources res) Constructor. -
Uses of MessageResources in org.apache.struts.taglib
Methods in org.apache.struts.taglib that return MessageResourcesModifier 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
Fields in org.apache.struts.taglib.bean declared as MessageResourcesModifier and TypeFieldDescriptionprotected static MessageResourcesCookieTag.messagesThe message resources for this package.protected static MessageResourcesDefineTag.messagesThe message resources for this package.protected static MessageResourcesHeaderTag.messagesThe message resources for this package.protected static MessageResourcesIncludeTag.messagesThe message resources for this package.protected static MessageResourcesMessageTag.messagesThe message resources for this package.protected static MessageResourcesPageTag.messagesThe message resources for this package.protected static MessageResourcesParameterTag.messagesThe message resources for this package.protected static MessageResourcesResourceTag.messagesThe message resources for this package.protected static MessageResourcesSizeTag.messagesThe message resources for this package.protected static MessageResourcesStrutsTag.messagesThe message resources for this package.protected static MessageResourcesWriteTag.messagesThe message resources for this package. -
Uses of MessageResources in org.apache.struts.taglib.html
Fields in org.apache.struts.taglib.html declared as MessageResourcesModifier and TypeFieldDescriptionprotected static MessageResourcesMessagesTag.messageResourcesThe message resources for this package.protected static MessageResourcesBaseHandlerTag.messagesThe message resources for this package.protected static MessageResourcesBaseInputTag.messagesThe message resources for this package.protected static MessageResourcesBaseTag.messagesThe message resources for this package.protected static MessageResourcesCheckboxTag.messagesThe message resources for this package.protected static MessageResourcesErrorsTag.messagesThe message resources for this package.protected static MessageResourcesFormTag.messagesThe message resources for this package.protected static MessageResourcesHtmlTag.messagesThe message resources for this package.protected static MessageResourcesImgTag.messagesThe message resources for this package.protected static MessageResourcesLinkTag.messagesThe message resources for this package.protected static MessageResourcesMultiboxTag.messagesThe message resources for this package.protected static MessageResourcesOptionsCollectionTag.messagesThe message resources for this package.protected static MessageResourcesOptionsTag.messagesThe message resources for this package.protected static MessageResourcesOptionTag.messagesThe message resources for this package.protected static MessageResourcesParamTag.messagesThe message resources for this package.protected static MessageResourcesRadioTag.messagesThe message resources for this package.protected static MessageResourcesSelectTag.messagesThe message resources for this package.protected static MessageResourcesSubmitTag.messagesThe message resources for this package. -
Uses of MessageResources in org.apache.struts.taglib.logic
Fields in org.apache.struts.taglib.logic declared as MessageResourcesModifier and TypeFieldDescriptionprotected static MessageResourcesCompareTagBase.messagesThe message resources for this package.protected static MessageResourcesConditionalTagBase.messagesThe message resources for this package.protected static MessageResourcesForwardTag.messagesThe message resources for this package.protected static MessageResourcesIterateTag.messagesThe message resources for this package.protected static MessageResourcesRedirectTag.messagesThe message resources for this package. -
Uses of MessageResources in org.apache.struts.util
Subclasses of MessageResources in org.apache.struts.utilModifier and TypeClassDescriptionclassConcrete subclass ofMessageResourcesthat reads message keys and corresponding strings from named property resources in a similar manner (see modes below) thatjava.util.PropertyResourceBundledoes.Fields in org.apache.struts.util declared as MessageResourcesModifier and TypeFieldDescriptionprotected static MessageResourcesResponseUtils.messagesThe message resources for this package.Methods in org.apache.struts.util that return MessageResourcesModifier and TypeMethodDescriptionabstract MessageResourcesMessageResourcesFactory.createResources(String config) Create and return a newly instansiatedMessageResources.PropertyMessageResourcesFactory.createResources(String config) Create and return a newly instansiatedMessageResources.static MessageResourcesMessageResources.getMessageResources(String config) Create and return an instance ofMessageResourcesfor the created by the defaultMessageResourcesFactory. -
Uses of MessageResources in org.apache.struts.validator
Methods in org.apache.struts.validator that return MessageResourcesModifier and TypeMethodDescriptionstatic MessageResourcesResources.getMessageResources(HttpServletRequest request) RetrieveMessageResourcesfor the module.static MessageResourcesResources.getMessageResources(ServletContext application, HttpServletRequest request, String bundle) RetrieveMessageResourcesfor the module and bundle.Methods in org.apache.struts.validator with parameters of type MessageResourcesModifier and TypeMethodDescriptionstatic String[]Resources.getArgs(String actionName, MessageResources messages, Locale locale, org.apache.commons.validator.Field field) Gets the message arguments based on the currentValidatorActionandField.static StringResources.getMessage(ServletContext application, HttpServletRequest request, MessageResources defaultMessages, Locale locale, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field) Gets theLocalesensitive value based on the key passed in.static StringResources.getMessage(MessageResources messages, Locale locale, String key) Gets theLocalesensitive value based on the key passed in.static StringResources.getMessage(MessageResources messages, Locale locale, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field) Gets the locale sensitive message based on theValidatorActionmessage and theField's arg objects.