Re: message resources ???key??? displaying

2008-07-14 Thread danipruebas
Hi, That was the correct path, I didn´t know about it. Thank you for your answers, guys. ;-) - Original Message - From: "Lukasz Lenart" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, July 14, 2008 8:22 PM Subject: Re: message resources ?

Re: message resources ???key??? displaying

2008-07-14 Thread Lukasz Lenart
> The ApplicationResources.properties file is under: > proyect_name/Webroot/WEB-INF/lib/ApplicationResources.properties Move to the /WEB-INF/classes Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL

Re: message resources ???key??? displaying

2008-07-14 Thread Dante A. Castiglione Maldonado
nal Message - From: "Lukasz Lenart" > <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Monday, July 14, 2008 6:32 PM > Subject: Re: message resources ???key??? displaying > > >> Hi, >> >> How did you co

Re: message resources ???key??? displaying

2008-07-14 Thread danipruebas
?? Regards, - Original Message - From: "Lukasz Lenart" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, July 14, 2008 6:32 PM Subject: Re: message resources ???key??? displaying Hi, How did you configure the messages in struts-config? It sho

Re: message resources ???key??? displaying

2008-07-14 Thread Lukasz Lenart
Hi, How did you configure the messages in struts-config? It should be something like this: Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

AW: Re: Re: Re: Message resources configuration

2008-01-02 Thread Sebastian Göttschkes
Hi again, I wrote: >> Hi, >> >> Laurie Harper wrote: >> >> Sebastian Göttschkes wrote: >> >> >> Laurie Harper wrote: >> >> >> Sebastian Göttschkes wrote: >> >> >>> [...] >> >> >>> >> >> >>> I defined the message resources in the struts-config.xml: >> >> >>> >> >> >>> > >> >>> parameter="com.equi

Re: Re: Re: Re: Message resources configuration

2008-01-02 Thread Sebastian Göttschkes
Hi, Laurie Harper wrote: >> Sebastian Göttschkes wrote: >> >> Laurie Harper wrote: >> >> Sebastian Göttschkes wrote: >> >>> [...] >> >>> >> >>> I defined the message resources in the struts-config.xml: >> >>> >> >>> > >>> parameter="com.equitystory.pms.resources.ApplicationResources" /> >> >>> >>

Re: AW: Re: Message resources configuration

2007-12-28 Thread Laurie Harper
Sebastian Göttschkes wrote: Laurie Harper wrote: Sebastian Göttschkes wrote: [...] I defined the message resources in the struts-config.xml: [...] The strange thing is I didn't change anything except for the two empty files I created. So I can say that the problem isn't hard-coded text in

AW: Re: Message resources configuration

2007-12-28 Thread Sebastian Göttschkes
Hi, >Laurie Harper wrote: > >Sebastian Göttschkes wrote: >> Hi, >> >> I'm experiencing strange behaviours with the message resources and I'm not >> sure about where to find the problem. >> >> I defined the message resources in the struts-config.xml: >> >> > parameter="com.equitystory.pms.resou

Re: Message resources configuration

2007-12-27 Thread Laurie Harper
Sebastian Göttschkes wrote: Hi, I'm experiencing strange behaviours with the message resources and I'm not sure about where to find the problem. I defined the message resources in the struts-config.xml: In the folder named in the xml (Resources/src/com/equitystory/pms/resources/), I create

Re: message resources in struts.xml

2007-08-23 Thread Pavel Sapozhnikov
Also in jsp I have I also see a line in tomcat where its loading MessageResources.properties file now if I remove name tag from s:bean it compains cuz name is required but at the same time I don't know what should go in name attribute. On 8/23/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > >

Re: message resources in struts.xml

2007-08-23 Thread Pavel Sapozhnikov
Oh great. Thank you very much. Do I need to include any jars or what not On 8/23/07, Jiang, Jane (NIH/NCI) [C] <[EMAIL PROTECTED]> wrote: > > I think it is the value of struts.custom.i18n.resources in > struts.properties. You can also put it in struts.xml as > /> > > -Original Message- >

RE: message resources in struts.xml

2007-08-23 Thread Jiang, Jane (NIH/NCI) [C]
I think it is the value of struts.custom.i18n.resources in struts.properties. You can also put it in struts.xml as -Original Message- From: Pavel Sapozhnikov [mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 2:14 PM To: Struts Users Mailing List Subject: message resources in stru

Re: message resources

2006-12-29 Thread Laurie Harper
Kranti wrote: hi, i have a problem related to message resources during the login time i am doing this session.setAttribute(Globals.LOCALE_KEY, locale); where locale is created by the user specific language settings there in DB. in jsp: using this and in struts config file and inthe same di

RE: message resources

2006-06-08 Thread Samere, Adam J
underlying Map, then call get(String) using the supplied property. Make sense? -Adam -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 9:47 AM To: Struts Users Mailing List Subject: Re: message resources > > When using EL with dyna beans you n

Re: message resources

2006-06-08 Thread Dave Newton
Marcus wrote: >> When using EL with dyna beans you need to reference the map property >> then your property. The struts tags (i.e. bean:write) handle this for >> you. >> >> > Or do you really mean a map? I am not using one.. ...but you're using a DynaForm, so you are, so just do what he said ;)

Re: message resources

2006-06-08 Thread Marcus
When using EL with dyna beans you need to reference the map property then your property. The struts tags (i.e. bean:write) handle this for you. Sorry, call me dumb, but I didn't really get what you tried to explain. EL ? - map property - you mean my dynaForm? Or do you really mean a map? I

RE: message resources

2006-06-08 Thread Samere, Adam J
: message resources > Nope... That means Servlet spec 2.2, which is less than you need ;) > > Pre-advice caveat: I've never figured out XML, DOCTYPEs, and people > make fun of me for it. > > http://java.sun.com/xml/ns/j2ee"; > xmlns:xsi="http:

Re: message resources

2006-06-08 Thread Marcus
Nope... That means Servlet spec 2.2, which is less than you need ;) Pre-advice caveat: I've never figured out XML, DOCTYPEs, and people make fun of me for it. http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xm

Re: message resources

2006-06-08 Thread Dave Newton
Marcus wrote: > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> > > > 2.2 means 2.0-ish, I assume? Nope... That means Servlet spec 2.2, which is less than you need ;) Pre-advice caveat: I've never figured out XML, DOCTYPEs, an

Re: message resources

2006-06-08 Thread Marcus
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> 2.2 means 2.0-ish, I assume? Marcus Dave Newton schrieb: Marcus wrote: Any ideas? What does your web.xml DOCTYPE look like? Irritatingly enough, you have to tell Tomcat to go ahead and be 2.0-ish. Dave ---

Re: message resources

2006-06-08 Thread Dave Newton
Marcus wrote: > Any ideas? What does your web.xml DOCTYPE look like? Irritatingly enough, you have to tell Tomcat to go ahead and be 2.0-ish. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: message resources

2006-06-08 Thread Marcus
Mine is to either use a JSP 2.0 container so the original EL suggestion ${myBean.value} EL will work, or use the struts-el tags if you're using a < JSP 2.0 container, which will do the same thing in a different way. I am using Apache Tomcat 5.5, and AFAIK, it does support JSP 2.0. For "myBean"

Re: message resources

2006-06-08 Thread Dave Newton
> From: Marcus [mailto:[EMAIL PROTECTED] > > Value "myValue" has been added. > (With the value of "myValue" printed!) > Anyway, you've gotten a lot of... advice. Mine is to either use a JSP 2.0 container so the original EL suggestion ${myBean.value} EL will work, or use the struts-el tags

Re: message resources

2006-06-08 Thread Marcus
>It's awfull, but assuming you have myDynaForm in some scope should work Yes, indeed! ;-) Isn't there something more struts like (using tags..) Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: message resources

2006-06-08 Thread David Delbecq
Marcus wrote: > I wrote: And it returns literally: ${myDynaForm.value} Sorry, thought bean:message was supporting el notation :) try this It's awfull, but assuming you have myDynaForm in some scope should work - To uns

RE: message resources

2006-06-08 Thread Mukta
implementation for error messages in my project. So, I just sent that code to you :) -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 3:01 PM To: Struts Users Mailing List Subject: Re: message resources >In your Action class, add following stateme

Re: message resources

2006-06-08 Thread Marcus
In your Action class, add following statements before return statement: ActionMessages oMsgs = new ActionErrors(); oMsgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("myValueAdded", "")); saveErrors(oRequest.getSession(), oMsgs); In your jsp, you must be having It will work. It's no

RE: message resources

2006-06-08 Thread Mukta
t be having It will work. -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 2:44 PM To: Struts Users Mailing List Subject: Re: message resources > I wrote: And it returns literally: ${myDynaForm.value} >What do you have in the java class

Re: message resources

2006-06-08 Thread Marcus
> I wrote: And it returns literally: ${myDynaForm.value} What do you have in the java class for the value you want to put in your message, is it a has table or something else ? It's all just plain simple. I store my value in a dynaForm, forward to an action, compute stuff, forward to to a

RE: message resources

2006-06-08 Thread Olivier Bex
Hi, What do you have in the java class for the value you want to put in your message, is it a has table or something else ? Olivier. -Message d'origine- De : Marcus [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006 10:58 À : Struts Users Mailing List Objet : Re: message reso

RE: message resources

2006-06-08 Thread Mukta
What do you mean by " Action adds value"?? Where does Action add this value? -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 2:30 PM To: Struts Users Mailing List Subject: Re: message resources >Where do you want to print this messag

RE: message resources

2006-06-08 Thread Mukta
Try using -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 2:28 PM To: Struts Users Mailing List Subject: Re: message resources >Pass the argument {0} as follows: > I tried that, but then it writes literally: Value value has been

Re: message resources

2006-06-08 Thread David Delbecq
Marcus wrote: Pass the argument {0} as follows: I tried that, but then it writes literally: Value value has been added. But what need the VALUE of hte variable "myValue" to be printed. :-( Marcus - To unsubscribe, e-m

RE: message resources

2006-06-08 Thread Mukta
ments using arg0, arg1, .., arg4 in the same manner. HTH, Mukta. -Original Message- From: Mukta [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 1:40 PM To: 'Struts Users Mailing List' Subject: RE: message resources Pass the argument {0} as follows: -Original Me

Re: message resources

2006-06-08 Thread Marcus
Where do you want to print this message ? I type in my value into a textbox. Forward to action. Action adds value, forwards to jsp. Now jsp should say: Value "myValue" has been added. (With the value of "myValue" printed!) What type of data do you use ? Strings Marcus -

Re: message resources

2006-06-08 Thread Marcus
Pass the argument {0} as follows: I tried that, but then it writes literally: Value value has been added. But what need the VALUE of hte variable "myValue" to be printed. :-( Marcus - To unsubscribe, e-mail: [EMAIL PROT

RE: message resources

2006-06-08 Thread Olivier Bex
Hi Marcus, Where do you want to print this message ? What type of data do you use ? Regards, Olivier -Message d'origine- De : Marcus [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 juin 2006 10:02 À : Struts Users Mailing List Objet : message resources Hi, I want to print a message like th

RE: message resources

2006-06-08 Thread Mukta
Pass the argument {0} as follows: -Original Message- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 1:32 PM To: Struts Users Mailing List Subject: message resources Hi, I want to print a message like this: myValueAdded=my value{0} has been added. How can I fil

Re: message-resources key/parameter

2006-05-10 Thread josh t
Thanks Niall, That was very helpful. I have another issue with my validator.xml. Based on my investigation, I have configured everything correctly. But there must be something wrong with this basic and barebone validator.xml file, because even if I change the form name to something bogus

Re: message-resources key/parameter

2006-05-10 Thread Niall Pemberton
This explains how "key" is used: http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section6 In respect of validator, although it has had a "bundle" attribute (which is the same as "key" in struts-config.xml) for a while, it was only actually supported since Struts 1.2.7 and Va

RE: Message Resources from DB

2005-11-17 Thread Brian Russell
truts Users Mailing List Subject: RE: Message Resources from DB I got one of these solutions out and it talks about setting up the resource like this: 1. I do not want to put jndi information in my struts 2. I do not want to put any SQL or SQL-Like pieces into my struts. So, is there a w

RE: Message Resources from DB

2005-11-17 Thread Mick Knutson
"JNDI | SQL" above? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 3:56 PM To: Struts Users Mailing List Subject: Re: Message Resources from DB No, you are not wrong. Struts will likely be changed to use Commons Resourc

Re: Message Resources from DB

2005-11-16 Thread Shailesh Barde
 Dear Brian, I have some Source code regarding the issue of getting Message resource from DB.Also some excerpts gathered from various forums written in "forumsum.txt". I hope it will help you. Regards, Shailesh Barde [EMAIL PROTECTED] Alphonso Informex Pvt. Ltd., Pune(India) 9890799722

RE: Message Resources from DB

2005-11-16 Thread Brian Russell
e included in 1.3.x! Thanks! Brian Russell www.closerware.com -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 6:56 PM To: Struts Users Mailing List Subject: Re: Message Resources from DB No, you are not wrong. Struts will likely be changed to u

Re: Message Resources from DB

2005-11-16 Thread James Mitchell
n [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 4:00 PM To: Struts Users Mailing List Subject: RE: Message Resources from DB Can you send me the solution to that? I don't have that book, I have an older version without that solution. -Original Message- From: Brian Russell [ma

RE: Message Resources from DB

2005-11-16 Thread Brian Russell
ed in Commons-Resources and hopefully Struts 1.3.. but I may be wrong about that. Brian Russell www.closerware.com -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 4:00 PM To: Struts Users Mailing List Subject: RE: Message Resources fro

RE: Message Resources from DB

2005-11-16 Thread Mick Knutson
Can you send me the solution to that? I don't have that book, I have an older version without that solution. -Original Message- From: Brian Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 12:58 PM To: 'Struts Users Mailing List' Subject: RE: Message Re

RE: Message Resources from DB

2005-11-16 Thread Brian Russell
ginal Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 3:47 PM To: Struts Users Mailing List Subject: Re: Message Resources from DB What database would you like to use? -- James Mitchell 678.910.8017 Skpe: jmitchtx On Nov 16, 2005, at 3:41 PM,

Re: Message Resources from DB

2005-11-16 Thread James Mitchell
What database would you like to use? -- James Mitchell 678.910.8017 Skpe: jmitchtx On Nov 16, 2005, at 3:41 PM, Brian Russell wrote: I know this topic has come up before but.. Does anyone have a suggestion on a method for pulling Message Resources from a DB, as well as making sure a restar

RE: Message Resources error

2005-03-10 Thread Ashutosh Satyam
Hi, You can checkout archived messages on this issue at http://www.mail-archive.com/struts-user@jakarta.apache.org/msg15779.html answered by Ted himself. Before preceeding do once again verify these things. 1. struts-config.xml has an entry for 'Message Resource Defintion' Ex:

Re: message-resources question

2005-02-24 Thread Jim Kennedy
Here's some code: MessageResources messages =MessageResources.getMessageResources("messages"); String message = messages.getMessage(msg_key, args); Here's my struts.xml: . -Original Message- From: Scott Purcell <

RE: message-resources question

2005-02-24 Thread Scott Purcell
ruts Users Mailing List Subject: RE: message-resources question Yes, you can. Take a look at getResources(request) - Scott -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 3:10 PM To: user@struts.apache.org Subject: message-resources qu

RE: message-resources question

2005-02-24 Thread Scott Piker
Yes, you can. Take a look at getResources(request) - Scott -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 3:10 PM To: user@struts.apache.org Subject: message-resources question In an action class, can one get access to the message-re

Re: Message Resources not displayed

2005-01-19 Thread Kishore Senji
Source Evangelist > >EdgeTech, Inc. > >678.910.8017 > >AIM: jmitchtx > > > >- Original Message - > >From: <[EMAIL PROTECTED]> > >To: ""Struts Users Mailing List"" > >Sent: Wednesday, January 19, 2005 8:42 AM > >

Re: Message Resources not displayed

2005-01-19 Thread eid4k
e - >From: <[EMAIL PROTECTED]> >To: ""Struts Users Mailing List"" >Sent: Wednesday, January 19, 2005 9:37 AM >Subject: Re: Message Resources not displayed > > >> James, >> >> the taglib for is declared on the page. >>

Re: Message Resources not displayed

2005-01-19 Thread James Mitchell
ot;" Sent: Wednesday, January 19, 2005 9:37 AM Subject: Re: Message Resources not displayed James, the taglib for is declared on the page. I can run the application on iPlanet and it works just as on Tomcat, but Error messages are not displayed. Karim "James Mitchell" <[EMA

Re: Message Resources not displayed

2005-01-19 Thread eid4k
l >Software Engineer / Open Source Evangelist >EdgeTech, Inc. >678.910.8017 >AIM: jmitchtx > >- Original Message - >From: <[EMAIL PROTECTED]> >To: ""Struts Users Mailing List"" >Sent: Wednesday, January 19, 2005 9:15 AM >Subject: Re: Message

Re: Message Resources not displayed

2005-01-19 Thread James Mitchell
gineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: ""Struts Users Mailing List"" Sent: Wednesday, January 19, 2005 9:15 AM Subject: Re: Message Resources not displayed Sorry James, I thou

Re: Message Resources not displayed

2005-01-19 Thread eid4k
: ""Struts Users Mailing List"" >Sent: Wednesday, January 19, 2005 8:42 AM >Subject: Re: Message Resources not displayed > > >> It is there because Tomcat does display the messages. >> >> >> >> "James Mitchell" <[EMAIL PROTEC

Re: Message Resources not displayed

2005-01-19 Thread James Mitchell
That's not what I was asking. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: ""Struts Users Mailing List"" Sent: Wednesday, January 19, 2005 8:42 AM

Re: Message Resources not displayed

2005-01-19 Thread eid4k
It is there because Tomcat does display the messages. "James Mitchell" <[EMAIL PROTECTED]> wrote: >How are you deploying your app?  Packaged with Ant? > >Many times, people forget to have resources copied during the build process. >This is automatically done for us with most IDEs, but Ant won'

Re: Message Resources not displayed

2005-01-19 Thread James Mitchell
How are you deploying your app? Packaged with Ant? Many times, people forget to have resources copied during the build process. This is automatically done for us with most IDEs, but Ant won't do it unless you tell it to. Open your .war and make sure it is there under /WEB-INF/classes/org/app/r

RE: message resources in db

2004-12-30 Thread Jim Barrows
> -Original Message- > From: Nathan Coast [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 29, 2004 7:01 PM > To: Struts Users Mailing List > Subject: Re: message resources in db > > > > > > Then you have the apparent fact that by doing so you are

Re: message resources in db

2004-12-29 Thread Nathan Coast
Then you have the apparent fact that by doing so you are now outside the Java provided i18n stuff, when you mention 'java provided i18n stuff' are you referring to the message resources features in struts (message bundles, locales etc)? or have I missed another java feature somewhere? So, you ga

RE: message resources in db

2004-12-29 Thread Jim Barrows
> -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 29, 2004 11:18 AM > To: Struts Users Mailing List > Subject: Re: message resources in db > > > My reasoning for what I've done is: > a) it scratches my

RE: message resources in db

2004-12-29 Thread Daniel Lipofsky
> -Original Message- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 29, 2004 8:15 AM > To: Struts Users Mailing List > Subject: RE: message resources in db > > > -Original Message- > > From: Nathan Coast [mailto:[EMAIL

Re: message resources in db

2004-12-29 Thread James Mitchell
- Original Message - From: "Jim Barrows" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, December 29, 2004 11:15 AM Subject: RE: message resources in db -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Wednesday, D

RE: message resources in db

2004-12-29 Thread Jim Barrows
> -Original Message- > From: Nathan Coast [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 29, 2004 4:17 AM > To: Struts Users Mailing List > Subject: message resources in db > > > Hi, > > Has anyone developed message resources that pulls messages > from a db? I > have followed a

Re: message resources in db

2004-12-29 Thread James Mitchell
http://sourceforge.net/project/showfiles.php?group_id=49385&package_id=76369 -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Nathan Coast" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesda

RE: message-resources in struts-config.xml won't work!

2004-12-02 Thread Lane, Brad
: Thursday, December 02, 2004 2:08 AM To: Struts Users Mailing List Subject: Re: message-resources in struts-config.xml won't work! Hello again, I'm wondering where to place message-resources within the struts-config.xml in struts version 1.0.2? I'm always getting errors in tomcat

Re: message-resources in struts-config.xml won't work!

2004-12-02 Thread René Thol
Ok now it seems that I've found the solution: When using struts1.0.2 the documentation of the tags claims that "bundle" can be used with bean:message, html:image, etc. But the struts-config dtd that is provided within the struts.jar does not support the message-resource tag at all! But what is w

Re: message-resources in struts-config.xml won't work!

2004-12-02 Thread René Thol
Hello again, I'm wondering where to place message-resources within the struts-config.xml in struts version 1.0.2? I'm always getting errors in tomcat's log file regarding the struts-config.xml whenever I insert a message-resource tag!? Any ideas? Many thanx Best regards -- ==

Re: message-resources in struts-config.xml won't work!

2004-12-01 Thread René Thol
Hello again, Lane, Brad schrieb: Use key=""/> Unfortunately this did not change anything. I'm still getting this error. Kind regards -- René Thol E-Mail: [EMAIL PROTECTED] ---

RE: message-resources in struts-config.xml won't work!

2004-12-01 Thread Lane, Brad
Use -Original Message- From: René Thol [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 9:15 AM To: Struts Users Mailing List Subject: message-resources in struts-config.xml won't work! Hello again everybody, I just changed my application from having its message resources

Re: Message-resources parameter setting for struts 1.2

2004-09-06 Thread Lai Boon Hui
Thanks for the quick reply. I am just curious why the struts-blank.war for struts 1.2 uses MessageResources at the message resource setting when there is no MessageResource.properties file inside the resources folder. So is there a mistake there and that the resource setting should have been resou

Re: Message-resources parameter setting for struts 1.2

2004-09-05 Thread Michael McGrady
Lai Boon Hui wrote: I am just playing around with struts-blnak.war that comes with all dist. The reason that the references to resources works is that the references really refer to the files in question. Just any old name won't do. So, if you use a file name that is totally different from the

Re: Message-resources parameter setting for struts 1.2

2004-09-05 Thread Lai Boon Hui
I am just playing around with struts-blnak.war that comes with all dist. The structure is like: C:. |---META-INF |---pages |---WEB-INF |---classes | |--resources |---lib |---src |---java |---resources where application.properties file is in the resources folder. Thus when you set the application

Re: Message-resources parameter setting for struts 1.2

2004-09-05 Thread Michael McGrady
Lai Boon Hui wrote: In struts 1.1, struts-confgi.xml we declare properties file setting using: but in struts 1.2, it has become: as seen in struts-blank.war. I tried to extract and recompile and redeploy this war file and it didn't work like the properties file is not recognized. It only worked

Re: Message Resources Confusion

2004-07-05 Thread Henrique VIECILI
The answer is, (someone correct me if i am wrong!) No, Globals.MESSAGES_KEY key only holds the default MessageResources. If you look you will find an attribute named 'systemErrors' wich contains the MessageResources object of app.resources.SystemErrors And if you use this bundle for error mess

Re: Message Resources

2004-05-21 Thread Thomas SMETS
You do not need to load the Message ressources. I would suggest you to place the following in your AS classpath : A file named : SimpleLog.properties (may be all small letters) with the following content : # # # # # # # Author : $Author$ # Revision : $Revision$ # Last updated : $Date$ # #

Re: Message Resources

2004-05-21 Thread Claire Wall
If you want to get MessageResources in your validate method then you can just do: MessageResources messages = ((MessageResources) request.getAttribute(Globals.MESSAGES_KEY)); and that should do the trick. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Frid