Access message Resource outside web

2004-02-26 Thread Gandle, Panchasheel
How to easily access message Resource from a normal java class Which is not a tag or a subclass of any Action And without passing any pageContext... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Access message Resource outside web

2004-02-26 Thread Lee_Dickenson
Return Receipt Your Access message Resource outside web document

Re: Message Resource bundle frustration

2003-12-04 Thread Greg Reddin
Derek Clarkson wrote: Hi all, I've just subscribed to this list and would appreciate any help you can give. I've been trying to get resources bundles to work. I have a jar file which is used on several projects and contains some core business beans. It also contains aproperty file with a basic

Re: Message Resource bundle frustration

2003-12-04 Thread Derek Clarkson
Hi Greg, Thanks for your help. I hadn't noticed the bundle option on html:messages - doh! It does seem rather restrictive though. It kind of makes it hard when (like I'm doing) you want to build some sort of common jar file for use on a number of apps. You either have to duplicate your core

Message Resource bundle frustration

2003-12-03 Thread Derek Clarkson
Hi all, I've just subscribed to this list and would appreciate any help you can give. I've been trying to get resources bundles to work. I have a jar file which is used on several projects and contains some core business beans. It also contains aproperty file with a basic set of

Re: ActionMessage When Not Default Message Resource

2003-11-17 Thread Linda Coleman
Thanks for the help!! I knew there had to be a way to do this, but sometimes I guess it takes some help to get pointed in the right direction! :) I also found that if you're trying to add ActionErrors in Action.execute() this works too... errors.add(msg.errors, new

Re: ActionMessage When Not Default Message Resource

2003-11-14 Thread Linda Coleman
Did you ever get a reply to this? I'm having the same problem was wondering if you ever got this work. It seems odd that you can get the messages from bean:write but not in the Action. TIA! L:) Lukas Bradley wrote: Hi all, Is there any way to have an ActionMessage key/value pair defined in

ActionMessage When Not Default Message Resource

2003-11-07 Thread Lukas Bradley
Hi all, Is there any way to have an ActionMessage key/value pair defined in a non-default resource? message-resources parameter=MyTerms key=myterms null=false/ The default seems to be the only place my errors and messages can be found. Using the above example, how would I refer to a property

2 message resource files andmessages in Action class problem

2003-10-31 Thread Ashish Kulkarni
Hi, I have 2 message resource file defines in my struts-config file, it works perfect in jsp where i can use bundle keyword on bean:message .. tag, but it does not work in my action class where i want to set messages from message resource So bean:message key=approval.001 bundle=approvals/ works

Re: 2 message resource files andmessages in Action class problem

2003-10-31 Thread atta-ur rehman
10:32 AM Subject: 2 message resource files andmessages in Action class problem Hi, I have 2 message resource file defines in my struts-config file, it works perfect in jsp where i can use bundle keyword on bean:message .. tag, but it does not work in my action class where i want to set

Re: 2 message resource files andmessages in Action class problem

2003-10-31 Thread Ashish Kulkarni
, 2003 10:32 AM Subject: 2 message resource files andmessages in Action class problem Hi, I have 2 message resource file defines in my struts-config file, it works perfect in jsp where i can use bundle keyword on bean:message .. tag, but it does not work in my action class where i want

Re: 2 message resource files andmessages in Action class problem

2003-10-31 Thread atta-ur rehman
i'll add two tags in the jsp page! html:errors / html:errors bundle=approval / ATTA - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 31, 2003 11:21 AM Subject: Re: 2 message resource files andmessages

Re: [ANNOUNCE] Struts Message Resource Doc

2003-10-27 Thread Manish Singla
Hi In your informative article, may be a small correction: For instance if the message can't be found in ApplicationResources_pt_br.properties (Brazilian Portuguese), the ApplicationResources_pt.properties file (and therefore Locale) will be searched. If the

Re: [ANNOUNCE] Struts Message Resource Doc

2003-10-21 Thread Adam Hardy
On 10/21/2003 03:28 AM Nick Heudecker wrote: You bring up a good point. There are many corner cases with ActionMessages. While I didn't try to cover all possible uses, I did try to cover the use cases that I experience 90% of the time. The specific use case that you point out would be a nice

[ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread Nick Heudecker
Afternoon all, I've written a short article detailing usage of the message resources functionality with Struts. It seems like a lot of people are having problems with it, so I'm hoping that this will shed some light on this topic. You can find it at:

RE: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread James Mitchell
[mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 1:28 PM To: [EMAIL PROTECTED] Subject: [ANNOUNCE] Struts Message Resource Doc Afternoon all, I've written a short article detailing usage of the message resources functionality with Struts. It seems like a lot of people are having

Re: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread atta-ur rehman
Nick, It is a consice article on message resource usage. Thanks. In our scenario, for the sake of maintainablity given the number of entries in the resource files, we have separate resource files for Labels and Messages. Sometimes you have to show a message like: First Name is required. where

Re: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread Nick Heudecker
1. Setting the null attribute to false will display missing resource values as ???key??? instead of displaying null. That's not totally accurate, but it gets the idea across. Perhaps you could mention how the string is actually constructed??? 2. The Internationalization is not correct

RE: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread James Mitchell
I wasn't aware that there was anything noteworthy about ATL. :) LOL.ouch!!! -- Nick Heudecker SystemMobile, Inc. Email: [EMAIL PROTECTED] Web: http://www.systemmobile.com -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017

Re: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread Nick Heudecker
appreciated. On Mon, Oct 20, 2003 at 10:49:09AM -0700, atta-ur rehman wrote: Nick, It is a consice article on message resource usage. Thanks. In our scenario, for the sake of maintainablity given the number of entries in the resource files, we have separate resource files for Labels and Messages

Custom Message Resource Configuration

2003-09-29 Thread Bob Lee
My project needs to pull properties from a database rather than a properties file. I have a couple of questions after reading this section in the manual: http://jakarta.apache.org/struts/userGuide/configuration.html#resources_config 1) How do I specify which bundle to pull from in my JSPs and

Re: Custom Message Resource Configuration

2003-09-29 Thread Mike Kienenberger
Bob Lee [EMAIL PROTECTED] wrote: My project needs to pull properties from a database rather than a properties file. I have a couple of questions after reading this section in the manual: http://jakarta.apache.org/struts/userGuide/configuration.html#resources_config 1) How do I specify

Re: Custom Message Resource Configuration

2003-09-29 Thread Mike Kienenberger
, will: bean:message key=some.key/ pull the message from my custom factory? It will invoke [String getMessage(Locale, String)] on the current message resource class which you will instantiate using your custom factory. -Mike

Re: Custom Message Resource Configuration

2003-09-29 Thread Bob Lee
In struts.config.xml: message-resources factory=xxx.yyy.struts.utils.DatabaseMessageResourcesFactory parameter=java.resources.application / Please excuse my ignorance, but am I correct in assuming that java.resources.application is the Struts default bundle name? For

Multiple message resource files

2003-09-16 Thread [EMAIL PROTECTED]
I am trying to use 2 message resource files in my application. My struts-config.xml has: message-resources parameter=ApplicationResources null=false / message-resources parameter=MyWebAppResources null=false / The errors are added in an Action bean with statements like: errors.add

Re: Multiple message resource files

2003-09-16 Thread Andrew Kuzmin
PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 3:01 PM Subject: Multiple message resource files I am trying to use 2 message resource files in my application. My struts-config.xml has: message-resources parameter=ApplicationResources null=false / message

Message resource as a String variable

2003-09-05 Thread Suresh Addagalla
Hi, Is it possible to create a String variable out of a message resource defined in the resources files? bean:message doesn't seem to help. Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro

RE: Message resource as a String variable

2003-09-05 Thread James Mitchell
, September 05, 2003 3:15 AM To: 'Struts Users Mailing List' Subject: Message resource as a String variable Hi, Is it possible to create a String variable out of a message resource defined in the resources files? bean:message doesn't seem to help. Thanks, Suresh

RE: Message resource as a String variable

2003-09-05 Thread Lars Bergstrm
: Subject: Message resource as a String variable Hi, Is it possible to create a String variable out of a message resource defined in the resources files? bean:message doesn't seem to help. Thanks, Suresh

message resource error/Plz Urgent

2003-08-29 Thread mahavir
Hi Friends Yesterday i had posted my question regarding the error when i try to browse the jsp pages.I had got three or four replies but the error is not corrected. Please anyone can guide me in detail. the error is-- Error: 500 Location: /hello-world/hello.jsp Internal Servlet Error:

Re: message resource error/Plz Urgent

2003-08-29 Thread Andrew Kuzmin
: Friday, August 29, 2003 1:33 PM Subject: message resource error/Plz Urgent Hi Friends Yesterday i had posted my question regarding the error when i try to browse the jsp pages.I had got three or four replies but the error is not corrected. Please anyone can guide me in detail. the error

RE: message resource error/Plz Urgent

2003-08-29 Thread David Tobey
Mahavir: Try going to HelloWorld.do in your browser, rather than hello.jsp? dave -Original Message- From: mahavir [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 4:34 AM To: [EMAIL PROTECTED] Subject: message resource error/Plz Urgent Hi Friends Yesterday i had posted

Accessing alternative message-resource

2003-08-28 Thread Lars Bergstrm
Hi, How can I get an iterator so that I can loop all keys in a struts message resource bundle? With MessageResources it only gives me the default resource bundle. Best regards Lasse Bergstrm - To unsubscribe, e-mail: [EMAIL

Re: message resource bundles and client-side validation

2003-08-14 Thread Jeff Kyser
: August 13, 2003 6:15 PM To: [EMAIL PROTECTED] Subject: message resource bundles and client-side validation Hey all, Server-side validation works fine for me, but I'm having a little trouble with client-side validation as follows: Because lots of different web apps use the 'default' messages

message resource bundles and client-side validation

2003-08-14 Thread Jeff Kyser
Hey all, Server-side validation works fine for me, but I'm having a little trouble with client-side validation as follows: Because lots of different web apps use the 'default' messages, I placed them in a separate file, ValidatorResources.properties: errors.byte={0} must

RE: message resource bundles and client-side validation

2003-08-14 Thread Steve Raeburn
To: [EMAIL PROTECTED] Subject: message resource bundles and client-side validation Hey all, Server-side validation works fine for me, but I'm having a little trouble with client-side validation as follows: Because lots of different web apps use the 'default' messages, I placed

Configuring multiple message resource bundles for each struts module

2003-07-09 Thread Lloyd Wilson
I am using the 1.1 version of struts and was wondering if there is a way that you can define message resource bundles for a given struts config module other than default? Presently, I have the following setup in the web.xml: config config/module1 config/module2 I have 3 separate struts config

Problem using message resource file

2003-06-23 Thread Nikolay Ganev
Hi All, I use Struts rc1 and JBoss 3.2.0. I have problems using message resource properite file. Some fileds in that file are not accessible!! I checked that the file is refreshed in JBoss deploy dir. If you have any suggestions please write back! Thx Nikolay mailto

can i reload a message-resource file

2003-06-23 Thread Richard Raquepo
can i reload a message-resource file. so that when i made a small change i don't have to restart my app container. is this already possible? is so, how? thanks...

Re: can i reload a message-resource file

2003-06-23 Thread Gemes Tibor
Richard Raquepo rta: can i reload a message-resource file. so that when i made a small change i don't have to restart my app container. is this already possible? is so, how? providing you are using tomcat it might makes worth looking into the manager webapp docs. Tib

Re: can i reload a message-resource file

2003-06-23 Thread Richard Raquepo
i was referring to struts message resource file which we define in struts-config.xml for example: message-resources parameter=ApplicationResources/ - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 23, 2003 5:28 PM

Re: can i reload a message-resource file

2003-06-23 Thread Gemes Tibor
Richard Raquepo rta: i was referring to struts message resource file which we define in struts-config.xml for example: message-resources parameter=ApplicationResources/ Me too. If you reload the context, it will reread. Tib

RE: can i reload a message-resource file

2003-06-23 Thread Tumi Mathibedi
yes you can with Tomcat, just reload your application with Tomcat's application manager. -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED] Sent: 23 June 2003 11:29 To: Struts Users Mailing List Subject: can i reload a message-resource file can i reload a message

Re: Problem using message resource file

2003-06-23 Thread FrenzyGNX
Have you tried to reload the web application after you make the changes? --- Nikolay Ganev [EMAIL PROTECTED] wrote: Hi All, I use Struts rc1 and JBoss 3.2.0. I have problems using message resource properite file. Some fileds in that file are not accessible!! I checked that the file

Re[2]: Problem using message resource file

2003-06-23 Thread Nikolay Ganev
and JBoss 3.2.0. I have problems using message resource properite file. Some fileds in that file are not accessible!! I checked that the file is refreshed in JBoss deploy dir. If you have any suggestions please write back! Thx Nikolay mailto:[EMAIL PROTECTED] F

message resource in validation.xml [part2]

2003-06-17 Thread salgado . pc
I am searching for a way to separate my error message resource bundle from my application message resource bundle. Although, the post below answers part of my questions there is still one problem: If i use validator to generate javascript validation, the message printed in the window dont know

Message resource question

2003-06-09 Thread Jonathan Hodges
Hello, Is there any way to specify a path for the message resources that isn't in the classpath (e.g. WEB-INF/classes directory)? I was wanting to move it to a directory like WEB-INF/config if possible. Thanks, Jonathan Hodges

using Message Resource Database with struts 1.1

2003-06-09 Thread Greg Roll
I'm looking for some direction in setting up a message resource database using struts 1.1. Our application is very dynamic and requires real-time updates to screen literals, in multiple languages. Are there any sample implementations or blueprints as to how to go about setting this up

Re: Multiple Message Resource Files

2003-06-06 Thread Natalie D Rassmann
, > >My requirement is to have multiple message resource files not based on >Locale but based on the user's project. For example, >I need to create a message bundle for Project A and another one for >Project B. > >MessageResources_ProjectA.properties looks li

RE: Multiple Message Resource Files

2003-06-06 Thread Mike Jasnowski
Can't you just use the bundle att on the Struts message tag? -Original Message- From: David Chelimsky [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 8:55 AM To: Struts Users Mailing List Subject: Re: Multiple Message Resource Files I know that if you're using the jstl tags you

RE: Multiple Message Resource Files

2003-06-06 Thread Mark Galbreath
yes -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 8:58 AM To: Struts Users Mailing List Subject: RE: Multiple Message Resource Files Can't you just use the bundle att on the Struts message tag? -Original Message- From: David

Re: Multiple Message Resource Files

2003-06-06 Thread Natalie D Rassmann
To: Struts Users Mailing List Subject: Re: Multiple Message Resource Files I know that if you're using the jstl tags you can define the bundle in the tags. So instead of: bean:message key="some.label"/> you'd write: fmt:message bundle="${currentBundle}" key="so

RE: Multiple Message Resource Files

2003-06-06 Thread Mark Galbreath
why would you want to? the bundle is static - it's an absolute reference -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 9:04 AM To: Struts Users Mailing List Subject: Re: Multiple Message Resource Files I suppose I could but can I

RE: Multiple Message Resource Files

2003-06-06 Thread Mike Jasnowski
- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 9:04 AM To: Struts Users Mailing List Subject: Re: Multiple Message Resource Files I suppose I could but can I make that a variable that I can get out of the session? Mike Jasnowski wrote: Can't you just use

RE: Multiple Message Resource Files

2003-06-06 Thread Bailey, Shane C.
Mailing List Subject: Multiple Message Resource Files Hi, My requirement is to have multiple message resource files not based on Locale but based on the user's project. For example, I need to create a message bundle for Project A and another one for Project B. MessageResources_ProjectA.properties

Re: Multiple Message Resource Files

2003-06-06 Thread Rassmann, Natalie D
Rassmann [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, June 05, 2003 9:04 AM To: Struts Users Mailing List Subject: Re: Multiple Message Resource Files I suppose I could but can I make that a variable that I can get out of the session? Mike Jasnowski wrote: Can't you

Re: Multiple Message Resource Files

2003-06-06 Thread Rassmann, Natalie D
with the Struts tag as well. -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, June 05, 2003 9:04 AM To: Struts Users Mailing List Subject: Re: Multiple Message Resource Files I suppose I could but can I make

RE: Multiple Message Resource Files

2003-06-06 Thread Mike Jasnowski
- From: Rassmann, Natalie D [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 12:54 PM To: Struts Users Mailing List Subject: Re: Multiple Message Resource Files The bundle is not static I am going to change what bundle I use based on the users profile (depends on what project

Re: Multiple Message Resource Files

2003-06-06 Thread Rassmann, Natalie D
[mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, June 05, 2003 8:33 AM To: Struts Users Mailing List Subject: Multiple Message Resource Files Hi, My requirement is to have multiple message resource files not based on Locale but based on the user's project. For example, I

Re: Multiple Message Resource Files

2003-06-06 Thread Rassmann, Natalie D
for each? Thanks, Mike -Original Message- From: Rassmann, Natalie D [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, June 05, 2003 12:54 PM To: Struts Users Mailing List Subject: Re: Multiple Message Resource Files The bundle is not static I am going

Multiple Message Resource Files

2003-06-05 Thread Natalie D Rassmann
Hi, My requirement is to have multiple message resource files not based on Locale but based on the user's project. For example, I need to create a message bundle for Project A and another one for Project B. MessageResources_ProjectA.properties looks like this: label.first = First Name

Re: Multiple Message Resource Files

2003-06-05 Thread David Chelimsky
it in the session when the user selects that project. In any case, I'm not sure if there's an equivalent in the struts bean tags. If not, I'd recommend using the JTSL tags. David Natalie D Rassmann wrote: Hi, My requirement is to have multiple message resource files not based on Locale but based

RE: Message Resource Bundle utilities?

2003-06-05 Thread Gary D Ashley Jr.
There is an extension in the sandbox, I believe, that will allow you to maintain resource bundles in a database versus .properties file. -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:02 PM To: [EMAIL PROTECTED] Subject: Message Resource

RE: Message Resource Bundle utilities?

2003-06-05 Thread Mick Knutson
[EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Message Resource Bundle utilities? Date: Wed, 4 Jun 2003 11:42:30 -0700 There is an extension in the sandbox, I believe, that will allow you to maintain resource bundles in a database versus .properties file. -Original

Re: Message Resource Bundle utilities?

2003-06-05 Thread James Mitchell
AIM:jmitchtx - Original Message - From: Mick Knutson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 1:17 PM Subject: RE: Message Resource Bundle utilities? Which sandbox? I know Ted had one he created, but it used Hybernate. I am _only_ using EJB's and do

Re: Message Resource Bundle utilities?

2003-06-05 Thread Mick Knutson
[EMAIL PROTECTED] Subject: Re: Message Resource Bundle utilities? Date: Wed, 4 Jun 2003 13:22:51 -0400 There is a database implementation of MessageResources on SourceForge.net. Go to: http://sourceforge.net/projects/struts Look for MessageResources Impls It consists of 3 classes, very simple. I've

Message Resource Bundle utilities?

2003-06-04 Thread Mick Knutson
Does anyone have any ResourceBundle utilities, like a macro for Excel or someothing to help me maintain the ResourceBundle? --- Thanks... Mick Knutson --- _ The new MSN 8: smart spam protection and 2 months FREE*

message resource in validation.xml

2003-03-31 Thread Bhagia, Mahesh
Hi, Is there any way to change / specify message resource bundle in validation.xml / validation-rules.xml. validation_1_1.dtd doesn't seem to define that ... (i guess it assumes arg0 key=registrationForm.firstname.displayname/ key from default message resource) or is there a way to change

Re: message resource in validation.xml

2003-03-31 Thread Jeff Kyser
with display of an error message from a validation-specific message resource file (note bundle= ): html:text property=longField / html:errors property=longField bundle=VALIDATOR_BUNDLE/ Here's where the separate bundle is incorporated in my struts-config.xml

html:option and message resource

2003-03-24 Thread Xavier Saint-Denis
Hi, I have the following problem : In the strust config file I declare this : !-- == Message Resources Definitions === -- message-resources parameter=ApplicationRessources null=false/ Where the promt.empty= is defined in the property file and

RE: html:option and message resource

2003-03-24 Thread Shabbir Khadir Md.
- From: Xavier Saint-Denis [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 6:03 PM To: Struts Users Mailing List Subject: html:option and message resource Hi, I have the following problem : In the strust config file I declare this : !-- == Message Resources Definitions

Re: html:option and message resource

2003-03-24 Thread James Mitchell
On Mon, 2003-03-24 at 07:32, Xavier Saint-Denis wrote: Hi, I have the following problem : In the strust config file I declare this : !-- == Message Resources Definitions === -- message-resources parameter=ApplicationRessources null=false/ Where

Get the message resource parameters.

2003-03-12 Thread Eric Chow
Hello, Is it possible to get the parameter name of the message resource that define in Struts-config.xml ??? message-resources parameter=myapp.applicationMessage null=false/ How can I get the String of myapp.applicatioMessage in ActionForm ??? Best regards, Eric

Message Resource Bundle from an action

2003-02-03 Thread Pat Quinn
hi guys, Anyone know how i can access the message resource bundle from an action class?? Cheers Pat _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail

RE: Message Resource Bundle from an action

2003-02-03 Thread James Mitchell
: Monday, February 03, 2003 9:50 AM To: [EMAIL PROTECTED] Subject: Message Resource Bundle from an action hi guys, Anyone know how i can access the message resource bundle from an action class?? Cheers Pat

Re: Message Resource Bundle from an action

2003-02-03 Thread Adolfo Miguelez
), e.getMessage()); System.out.println(mensaje); I guess for Struts 1.1b* would be quite close Adolfo From: Pat Quinn [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Message Resource Bundle from an action Date: Mon, 03 Feb 2003 14:50

RE: Message Resource Bundle from an action

2003-02-03 Thread Pat Quinn
Cheers for that i forgot my locale setting thats why it blew up on me From: James Mitchell [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Message Resource Bundle from an action Date: Mon, 3 Feb 2003 09:56

RE: Message Resource file location in war file.

2002-10-24 Thread VEDRE, RANAPRATAP REDDY
: Christian Nelson [mailto:cnelson;slac.com] Sent: Wednesday, October 23, 2002 8:51 PM To: Struts Users Mailing List Subject: Message Resource file location in war file. Greetings, I love struts, but I'm currently getting my ass kicked... please help. :) I'm trying to use Message Resources in my

Message Resource file location in war file.

2002-10-23 Thread Christian Nelson
Greetings, I love struts, but I'm currently getting my ass kicked... please help. :) I'm trying to use Message Resources in my web application, but I can't get struts to find the resources.properties file. This is how I'm trying to structure my web-application: Note: aaw is the top-level

RE: Message Resource file location in war file.

2002-10-23 Thread Karr, David
-Original Message- From: Christian Nelson [mailto:cnelson;slac.com] Sent: Wednesday, October 23, 2002 5:51 PM I'm trying to use Message Resources in my web application, but I can't get struts to find the resources.properties file. This is how I'm trying to structure my

Re: Message Resource file location in war file.

2002-10-23 Thread V. Cekvenich
All references at run time are to classes folder. Put it in WEB-INF/classes. There is a good book Sun Java Certified Web Component Developer .V Christian Nelson wrote: Greetings, I love struts, but I'm currently getting my ass kicked... please help. :) I'm trying to use Message Resources in

RE: Message Resource file location in war file.

2002-10-23 Thread Christian Nelson
Thanks for the speedy response(s)! I have another related question: I just discovered the set-property tag that can be nested underneath the message-resource tag. Is it possible that I set key-value pairs there and have my application be able to get them using the bean:message tag? If so, how

Declarative Exceptions: Message resource args in exception key..

2002-09-23 Thread Jeff_Mychasiw
I use these in many of my action declarations. exception key=error.contact path=/error/PageLoadError.jsp type=com.nlg.ar.common.exception.CustomerException/ Is there a way to insert an argument like we do in ActionMessage(my.key,arg1) I have searched and

Struts 1.1: Key/Value Pairs Common To Multiple Sub-Apps (Message Resource Files)

2002-09-20 Thread Hohlen, John
I'm creating multiple sub-applications as provided through Struts 1.1 (b2). I have some common error message key/value pairs that need to appear in each sub-app's respective message resource file. Does anyone know a way to centralize these common key/value pairs instead of duplicating them

Nothing? Rien? Nichts? Null? (was: How to define a context attribute key for a message-resource under Struts 1.0.2?)

2002-09-19 Thread Sann, Stephan
I wrote on 17.09.02, 08:04 : I would like to use the bundle-attribute from the html:errors-Tag, but I didn't find out how to define a context attribute key for a message-resource under Struts 1.0.2 jet. On the web I found [...] Not even a RTFM??? Best regards Stephan -- To unsubscribe, e

RE: Nothing? Rien? Nichts? Null? (was: How to define a context attribute key for a message-resource under Struts 1.0.2?)

2002-09-19 Thread Galbreath, Mark
key for a message-resource under Struts 1.0.2 jet. On the web I found [...] Not even a RTFM??? Best regards Stephan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

AW: Nothing? Rien? Nichts? Null? (was: How to define a context attribute key for a message-resource under Struts 1.0.2?)

2002-09-19 Thread Sann, Stephan
Hello, Struts 1.0.2. jet? Is this a Microsoft adaptation? No. This was a typo. Once again: I would like to use the bundle-attribute from the html:errors-Tag, but I didn't find out how to define a context attribute key for a message-resource under Struts 1.0.2 yet. Best regards Stephan

How to define a context attribute key for a message-resource under Struts 1.0.2?

2002-09-16 Thread Sann, Stephan
Hello list, I would like to use the bundle-attribute from the html:errors-Tag, but I didn't find out how to define a context attribute key for a message-resource under Struts 1.0.2 jet. On the web I found this snipet for the struts-config.xml: snip

RE: Message Resource Properties file not loading.

2002-08-29 Thread Galbreath, Mark
The parameter must be the full package name of the file. Mark -Original Message- From: Struts Rodolphe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 5:42 PM To: [EMAIL PROTECTED] Subject: Message Resource Properties file not loading. Can anyone tell me what I am missing

finding key in message resource problem

2002-07-01 Thread fabrice dewasmes
Hi, My development environment is JBuilder5 + tomcat 4.0.3 + Struts 1.1 While working there evrything is ok but when i copy and paste my war in tomcat 4 and try to launch tomcat stand alone(this means without jbuilder) the messages can't be found and a servlet exception is thrown which message

Tomcat error log: Element struts-config does not allow message-resource here

2002-04-11 Thread jfc100
[sax] startDocument() [sax] endDocument() [sax] startDocument() [Digester] Parse Error at line 219 column -1: Element struts-config does not allow message-resource here. org.xml.sax.SAXParseException: Element struts-config does not allow message-resource here

Re: Tomcat error log: Element struts-config does not allow message-resource here

2002-04-11 Thread Chuck Cavaness
-resource here. org.xml.sax.SAXParseException: Element struts-config does not allow message-resource here. at org.apache.crimson.parser.Parser2.error(Parser2.java:3013) at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.consume(ValidatingParser.java:349

Re: Tomcat error log: Element struts-config does not allow message-resource here

2002-04-11 Thread jfc100
struts-config does not allow message-resource here. org.xml.sax.SAXParseException: Element struts-config does not allow message-resource here. at org.apache.crimson.parser.Parser2.error(Parser2.java:3013) at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.consume

RE: Message Resource

2002-02-01 Thread Andre Beskrowni
key=some.key/ /bean:define now your message resource is stored in the HttpRequest under the key foo. it should take you all of 10-15 minutes to do this. ab -Original Message- From: Satish Jeejula [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 8:43 PM To: 'Struts Users Mailing

Message Resource

2002-01-31 Thread Satish Jeejula
Hello, How can I get hold of the message resource from jsp page? I can do this in my actions by calling getResources() method. Is possible to get message resources from jsp pages??? Thanks, Satish -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: Message Resource

2002-01-31 Thread Matt Raible
bean:message key=keyName in properties file/ --- Satish Jeejula [EMAIL PROTECTED] wrote: Hello, How can I get hold of the message resource from jsp page? I can do this in my actions by calling getResources() method. Is possible to get message resources from jsp pages??? Thanks

RE: Message Resource

2002-01-31 Thread Satish Jeejula
Raible [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 8:33 PM To: Struts Users Mailing List Subject: Re: Message Resource bean:message key=keyName in properties file/ --- Satish Jeejula [EMAIL PROTECTED] wrote: Hello, How can I get hold of the message resource from jsp page? I can

Scaffold Error - Cannot find message Resource Key

2002-01-07 Thread Matt Raible
I'm getting the following familiar error when running the scaffold sample on Tomcat 4.0.1: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE I can build and dist from the nightly build. Cannot run the tests task, b/c I get the following

Re: auto reload of message resource and URL-rewrite

2001-02-26 Thread Maya Muchnik
han" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 22, 2001 2:06 AM Subject: Re: auto reload of message resource and URL-rewrite At the bottom of the struts-config.xml file for the example application, you will see an action definition:

Re: auto reload of message resource and URL-rewrite

2001-02-26 Thread Kan Leung, MK
To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 9:44 PM Subject: Re: auto reload of message resource and URL-rewrite Hi, I am sorry for my "stupidity". Need to read more careful email, and what people ask. I have tried myself the following link: "http://localhost:8080/strut

  1   2   >