eyes off the goal
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 7:42 PM
To: [EMAIL PROTECTED]
Subject: Validator multiple message-resources
Hi,
I have successfully used validator with a single message resources file
specified
Hi,
I have successfully used validator with a single message resources file
specified in the config file, everything works out fine. Since the project
has gotten bigger, i created another message-resource file but when
'required' error happens, the message specifying the field name which is
in
I am having trouble accessing a message from my
non-default message bundle.
I have the following entries in my struts-config.xml
file...
message-resources
parameter=com.it.rfr.resources.rfrresources
/message-resources
message-resources key=shared
I haven't used the multi bundles before, but I remember recently someone saying
the order by which s/he declared the resources solved the problem:
message-resources key=approvals parameter=com.myapp.one /
message-resources key=org.apache.struts.action.MESSAGE
parameter=com.myapp.two /
instead
I am having trouble accessing a message from my
non-default message bundle.
I have the following entries in my struts-config.xml
file...
message-resources
parameter=com.it.rfr.resources.rfrresources
/message-resources
message-resources key=shared
multiple message-resources in my struts-config.
message-resources parameter=MyTerms null=false/
message-resources parameter=msg.resource.errors key=msg.errors
null=false /
message-resources parameter=msg.forum key=msg.forum null=false /
It is my understanding that the initial MyTerms file
on?
-Original Message-
From: Lukas Bradley [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 10:26 AM
To: [EMAIL PROTECTED]
Subject: Multiple message-resources -- How to access? Struts 1.1
Hi all,
I feel rather odd asking about this, because it seems it should be a
VERY simple
/
And everything the world is perfect.
Except that my properties file has filled up with hundreds of terms, and
it
is getting impossible to manage. To make this easier, I decided to define
multiple message-resources in my struts-config.
message-resources parameter=MyTerms null=false/
message-resources
Here's something that appears to be a step in the right direction. First, use a
single context init param for javax.servlet.jsp.jstl.fmt.localizationContext.
The param-value content should match the parameter attribute of the
message-resources element in your default Struts config file. For
I'm using JSTL + Struts configured for modules
I'm using JSTL fmt tag for messages, instead of Struts tags, configured in
web.xml
context-param
param-namejavax.servlet.jsp.jstl.fmt.localizationContext/param-name
param-valuecom.obs.webapp.messages.Messages/param-value
/context-param
to the view. Does anyone know what this is intended
to be used for?
Taking advantage of multiple message resources:
It is clearly documented how you establish multiple message-resources, but I
have not been able to locate how you designate that you want to use a
secondary message resource
PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 2:57 PM
Subject: RE: ExceptionConfig bundle Attribute Using Multiple Message
Resources.
I have figured out how to use different message resources, based on a
response to a previous post.
I still have
Users Mailing List
Subject: Re: ExceptionConfig bundle Attribute Using Multiple Message
Resources.
From the struts-config_1_1.dtd
!-- The exception element registers an ExceptionHandler for an exception
type.
The following attributes are defined:
bundle Servlet context
attribute:
I have seen very little documentation as to what this is actually used for.
If I provide an actual ResourceBundle name here it is not used when
formatting the message to the view. Does anyone know what this is intended
to be used for?
Taking advantage of multiple message resources
Hi all,
From the struts-config DTD it seems you can include several message
resources in a module. Anyway, it seems Struts always try to get
messages from only one bundle, the one stored under
Globals.MESSAGE_KEY/module, unless you specify another key, for example,
in the bundle
Hi,
I've implemented multiple message-resources. I'm running into issue where
some actionErrors exists in one bundle and not another, hence causing
displaying errors like this:
TEST ERROR
???en_US.err.test???
My JSP looks like this:
html:errors/
html:errors bundle=FRAMEWORK/
In
message
Hi
Is it possible to setup another message resources file in Struts 1.0? I need this
because I want to display errors in a different way for a certain part of the
application.
Basically I do not want the Validation errors: Please correct the ff... heading.
Since this is displayed
-atlanta
-Original Message-
From: Karim Saloojee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 5:59 AM
To: [EMAIL PROTECTED]
Subject: How to configure multiple Message Resources in Struts 1.0
Hi
Is it possible to setup another message resources file in Struts
1.0
]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 3:55 PM
Subject: RE: How to configure multiple Message Resources in Struts 1.0
Or you could just take the 1.0 version and customize the source to do what
you want. That's one of the perks with having the source
To: Struts-Help (E-mail)
Cc: '[EMAIL PROTECTED]'
Subject: Question: Configuring Multiple message-resources Elements
With Sub-Applications
If I'm using multiple message resource files with sub-applications, do I
need declare all the message resource files in the default struts config
file or do I declare
this working!!
JOHN
-Original Message-
From: Hohlen, John
Sent: Tuesday, September 10, 2002 12:56 PM
To: 'Struts Users Mailing List'
Subject: RE: Question: Configuring Multiple message-resources Elements
W ith Sub-Applications
Whoops! In my examples below, the action tags should actually
If you have the following in your struts-config.xml:
message-resources parameter=ApplicationResources/
message-resources key=CHANNELS_RESOURCE_KEY
parameter=ApplicationResourcesChannels null=false/
how do you access the second one from an action or a JSP???
MessageResources
On Thu, 27 Jun 2002, Juan Alvarado (Struts List) wrote:
Date: Thu, 27 Jun 2002 15:45:14 -0400
From: Juan Alvarado (Struts List) [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Subject: Multiple Message Resources
If you have the following in your struts-config.xml:
message-resources parameter=ApplicationResources/
message-resources key=CHANNELS_RESOURCE_KEY
parameter=ApplicationResourcesChannels null=false/
how do you access the second one from an action???
MessageResources messages =
Is there a solution for this problem ?
Thanks,
William.
From: Alok Ghosh [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: struts validation and multiple message resources files
Date: Tue, 11 Jun 2002 13:24:04 -0400
Hi,
I am running the new
Hi,
I am running the new struts validation that uses the validation.xml
file.
In my validation.xml file i have all the forms in there and the
validation for every type of textbox of the different forms.
My problem is the caption name of each text box are already in sepearte
26 matches
Mail list logo