Re: Message Resources and Struts Modules (Partially Solved)

2003-11-24 Thread Manish Singla
No, there is no bug. You can access message resources of of default module and ( message resources of other modules also if required). alvin antony wrote: Hello, I just tried to copy all message resources definitions to the default struts-config.xml and now they are no messag

Re: Message Resources and Struts Modules (Partially Solved)

2003-11-21 Thread alvin antony
Hello, I just tried to copy all message resources definitions to the default struts-config.xml and now they are no message resource definitions on the submodule struts config, everything is working, but a little bit unhandy to define message resources for a sub module some

Re: message-resources

2003-10-08 Thread Vic Cekvenich
I store this kind of info in db, and return it as collection to optionsCollection tag. hth, .V At 7:58 PM +0200 10/8/03, Dries Plessers wrote: I have a file (countries.properties) which contain all value and representations. e.g.: AD=ANDORRA AG=ANTIGUA AM=ARMENIA How can use this resourc

RE: message-resources

2003-10-08 Thread Wendy Smoak
OOPS! I wasn't paying attention to which list I was on. :( This belongs here on struts-user, not struts-dev. -- Wendy Smoak -Original Message- From: Wendy Smoak Sent: Wednesday, October 08, 2003 11:23 AM To: Dries Plessers; [EMAIL PROTECTED] Subject: RE: message-resources

Re: message-resources

2003-10-08 Thread Joe Germuska
At 7:58 PM +0200 10/8/03, Dries Plessers wrote: I have a file (countries.properties) which contain all value and representations. e.g.: AD=ANDORRA AG=ANTIGUA AM=ARMENIA How can use this resource file to create a html:select where the value equals the countryname and the representation the 2l

Re: "message-resources" in Struts 1.0?

2003-09-30 Thread Bob Lee
Thanks, James. ;) If anyone out there has done this and could tell me if this is a one class change or if I will have to make changes in 15 different places, it would be much appreciated. Thanks, Bob James Mitchell wrote: It is only possible if you have the source code ;) -- James Mitchell Sof

Re: "message-resources" in Struts 1.0?

2003-09-30 Thread James Mitchell
It is only possible if you have the source code ;) -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx - Original Message - From: "Bob Lee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>

RE: Message Resources example using OJB

2003-06-26 Thread Srikanth Gubba
Thank you very much. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 3:11 PM To: Struts Users Mailing List Subject: Re: Message Resources example using OJB On Thursday 26 June 2003 14:48, Srikanth Gubba wrote: > "ObjectCacheEmpty

Re: Message Resources example using OJB

2003-06-26 Thread James Mitchell
g trouble with it. Right now I'm rewriting this extension to use the latest and greates from OJB. I hope to finish by tonight. I'll let you know. > > Thanks, > srikanth. > > > -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Se

RE: Message Resources example using OJB

2003-06-26 Thread Srikanth Gubba
st Subject: Re: Message Resources example using OJB On Thursday 26 June 2003 13:30, James Mitchell wrote: > On Thursday 26 June 2003 11:25, Hookom, Jacob wrote: > > Check source forge www.sf.net, I think James from this list created one > > about 6 months ago and he was very happ

Re: Message Resources example using OJB

2003-06-26 Thread James Mitchell
On Thursday 26 June 2003 13:30, James Mitchell wrote: > On Thursday 26 June 2003 11:25, Hookom, Jacob wrote: > > Check source forge www.sf.net, I think James from this list created one > > about 6 months ago and he was very happy with the performance of it. > > That is the one Srikanth is speaking

Re: Message Resources example using OJB

2003-06-26 Thread James Mitchell
On Thursday 26 June 2003 11:25, Hookom, Jacob wrote: > Check source forge www.sf.net, I think James from this list created one > about 6 months ago and he was very happy with the performance of it. That is the one Srikanth is speaking about. We had an off-line discussion about caching, and I ju

RE: Message Resources example using OJB

2003-06-26 Thread Srikanth Gubba
iling List' Subject: RE: Message Resources example using OJB Check source forge www.sf.net, I think James from this list created one about 6 months ago and he was very happy with the performance of it. -Original Message- From: Srikanth Gubba [mailto:[EMAIL PROTECTED] Sent: Thursda

RE: Message Resources example using OJB

2003-06-26 Thread Hookom, Jacob
Check source forge www.sf.net, I think James from this list created one about 6 months ago and he was very happy with the performance of it. -Original Message- From: Srikanth Gubba [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:37 AM To: '[EMAIL PROTECTED]' Subject: Message Res

RE: Message Resources Problem?

2003-06-13 Thread Marc L. Veary
PROTECTED] Sent: 13 June 2003 16:21 To: Struts Users Mailing List Subject: Re: Message Resources Problem? Ok, first thing I would do is verify that the entry for your struts-config is correct in your web.xml. Next thing I would do is deploy the ear expanded instead of packaged and play around with

RE: Message Resources Problem?

2003-06-13 Thread Marc L. Veary
Thanks for the help. I'll go and do this right now, and let you know the results. Cheers m8... Regards, -- Marc -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 13 June 2003 16:21 To: Struts Users Mailing List Subject: Re: Message Resources Problem? Ok,

Re: Message Resources Problem?

2003-06-13 Thread James Mitchell
-3359 AIM:jmitchtx - Original Message - From: "Marc L. Veary" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 11:08 AM Subject: RE: Message Resources Problem? > I am using ant to automate

RE: Message Resources Problem?

2003-06-13 Thread Marc L. Veary
st" <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 10:53 AM Subject: Re: Message Resources Problem? > Hi Marc, > > I have pretty much the same configuration as you do (jboss, struts, > jdk1.4.1). > > I don't know what is causing your exceptions. But I can tell you t

RE: Message Resources Problem?

2003-06-13 Thread Marc L. Veary
Hi Harm, I followed the install instructions to the letter as well with the latest versions of the various required libraries (xerces, etc). Here is some more of the stacktrace: 14:33:47,421 ERROR [Digester] Parse Error at line 64 column 66: Element type "me ssage-resources" must be declared. or

Re: Message Resources Problem?

2003-06-13 Thread James Mitchell
IL PROTECTED]> Sent: Friday, June 13, 2003 10:53 AM Subject: Re: Message Resources Problem? > Hi Marc, > > I have pretty much the same configuration as you do (jboss, struts, > jdk1.4.1). > > I don't know what is causing your exceptions. But I can tell you that I &g

Re: Message Resources Problem?

2003-06-13 Thread harm
Hi Marc, I have pretty much the same configuration as you do (jboss, struts, jdk1.4.1). I don't know what is causing your exceptions. But I can tell you that I don't suffer the same problem. So my guess is that something is wrong. Sorry, can't help you any further. Cheers, Harm. "Marc

RE: Message resources are not loaded until an action is called.

2003-04-01 Thread Anthony . Leon
Works now - thanks. -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: 01 April 2003 14:08 To: Struts Users Mailing List Subject: Re: Message resources are not loaded until an action is called. is your ActionServlet load priority set as 1 or maybe 2 to ensure

Re: Message resources are not loaded until an action is called.

2003-04-01 Thread Stephen Smithstone
is your ActionServlet load priority set as 1 or maybe 2 to ensure that the servlet is loaded first ? On Tuesday 01 April 2003 2:02 pm, [EMAIL PROTECTED] wrote: > I am using struts 1.1rc1 & TomCat 3.3. In my struts-config.xml I have the > following line; > > > > I have messages.properties i

Re: Message resources, as usual

2003-02-14 Thread Albert Moliner
Forgive me for my insisting on the subject. Just to be sure nothing is escaping from my attention, when I try and modify the jsp bean:message tag, telling it to use a non-defined RB ("aares1" instead of "res1"), the exception is -- javax.servlet.jsp.JspException: Cannot find message resou

Re: Message resources, as usual

2003-02-14 Thread Albert Moliner
> > Just a quick suggestion, this shouldn't make a difference, but change > this: > > string1 = res1 str1 > > string2 = res1 str2 > > > > > > to this: > > string1= res1 str1 > > string2= res1 str2 As far as I know they are the same, as both halves of the equality are trimmed when parsed, and for

Re: Message resources, as usual

2003-02-14 Thread Simon Kelly
Hate to be the one to point this out, but they are both the same ;-) - Original Message - From: "James Mitchell" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 14, 2003 2:54 PM Subject: Re: Message reso

Re: Message resources, as usual

2003-02-14 Thread James Mitchell
s Mitchell - Original Message - From: "Albert Moliner" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 14, 2003 7:09 AM Subject: Re: Message resources, as usual > > Mmm, sorry, I'd better show you a

Re: Message resources, as usual

2003-02-14 Thread Albert Moliner
Mmm, sorry, I'd better show you a better stack trace, caught "manually" in the jsp by me: --- javax.servlet.jsp.JspException: Missing message for key string1 at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:298) at org.apache.jsp.messagestest_jsp._jspx_meth_bea

Re: message-resources

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Jay Andrews wrote: > Date: Fri, 31 Jan 2003 07:40:25 -0800 (PST) > From: Jay Andrews <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: message-resources > > I've just started to learn struts and I cannot seem to

Re: message-resources

2002-12-05 Thread David Graham
This has happened to me before and it's quite frustrating. I believe it's a classpath issue. Make sure none of your classes are on tomcat's runtime classpath. David From: "LUCERO,DENNIS (HP-Boise,ex1)" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "' (

RE: Message Resources

2002-11-08 Thread James Mitchell
Hi David, > Is that code slated to be part of Struts or is it published somewhere? ummm...No and Yes My initial implementation of MessageResources is complete and works quite nicely (as a matter of fact). I am in the process of refactoring the code to fit into the resources subproject under com

Re: Message Resources Problem in SubApp - Bug?

2002-10-30 Thread Dan Tran
t: Wednesday, October 30, 2002 2:10 PM Subject: RE: Message Resources Problem in SubApp - Bug? > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10868 > > > James Mitchell > Software Engineer/Struts Evangelist > http://www.open-tools.org > > "Only two things ar

RE: Message Resources Problem in SubApp - Bug?

2002-10-30 Thread James Mitchell
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10868 James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein (1879-1955) > -Original Message-

Re: Message Resources Placement

2002-08-26 Thread John Yu
I suspect the problem is that the plugin adds struts.jar to the system (ie. tomcat's) classpath. So, all Struts' classes don't see WEB-INF/classes. At 06:05 am 26-08-2002, you wrote: >I think I've solved it!!! Short story: add your /classes folder to >tomcat's classpath. Long story below

Re: Message Resources Placement

2002-08-25 Thread David Graham
I think I've solved it!!! Short story: add your /classes folder to tomcat's classpath. Long story below (gurus please see questions at bottom): I'm using struts 1.0.2, tomcat 4.0.4, and eclipse with the sysdeo tomcat plugin as a development environment. The way struts finds/loads the messag

Re: Message Resources Placement

2002-08-25 Thread Hobie Orris
Hi. I'm having the exact same problem, so I can't help you. But I am interested in the solution! If you solve it, please let me know. Here's my previous (unanswered) post, in case you're interested: I'm using v. 1.02 and Sun J2EE SDK 1.3.1 (Tomcat) and have been trying to get Struts to star

Re: Message Resources question

2002-04-16 Thread Enrique M. Almonte
Hi, maybe you can set your key in the action that calls your JSP, MessageResources msgres = getMessageResources(); String key = msgres.getMessage(article.getChannel()); session.setAttribute("key",key); //or request JSP : String key = (String) session.getAttribute("key"); > > The part above with

RE: Message resources

2001-11-01 Thread Justin Piper
is whether I would have ever found my mistake if I hadn't publicly humiliated myself first. :) -Original Message- From: Fletcher, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 12:15 PM To: 'Struts Users Mailing List' Subject: RE: Message resources

RE: Message resources

2001-11-01 Thread Fletcher, Ken
tin Piper [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 11:10 AM To: 'Struts Users Mailing List' Subject: RE: Message resources I tried adding errors.header= errors.footer= to ApplicationResources.properties, and to login.jsp. I wasn't sure whether th

RE: Message resources

2001-11-01 Thread Justin Piper
urned an empty string when I attempted to submit the form without filling out the password form element. -Original Message- From: Fletcher, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 10:52 AM To: 'Struts Users Mailing List' Subject: RE: Message resourc

RE: Message resources

2001-11-01 Thread Justin Piper
ED]] Sent: Thursday, November 01, 2001 10:57 AM To: 'Struts Users Mailing List' Subject: RE: Message resources What servlet container are you using? -- Terry Drozdowski Staff, Technology Services SIM Technology - Phoenix Charles Schwab & Co. (602)355-8843   War

RE: Message resources

2001-11-01 Thread Drozdowski, Terry
What servlet container are you using? -- Terry Drozdowski Staff, Technology Services SIM Technology - Phoenix Charles Schwab & Co. (602)355-8843   Warning: All e-mail sent to this address will be received by the Charles Schwab Corporate e-mail system and is subject to arch

RE: Message resources

2001-11-01 Thread Fletcher, Ken
You might also check your server config. -Original Message- From: Justin Piper [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 10:43 AM To: Struts Users Mailing List Subject: Message resources I'm sure I'm missing something obvious, but after a day of trying to solve this,

RE: Message resources

2001-11-01 Thread Fletcher, Ken
...try adding a property value to your -Original Message- From: Justin Piper [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 10:43 AM To: Struts Users Mailing List Subject: Message resources I'm sure I'm missing something obvious, but after a day of trying to solve thi

RE: Message resources

2001-11-01 Thread Fletcher, Ken
It's looking for ApplicationResources.properties in your WEB-INF/classes directory -Original Message- From: Justin Piper [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 10:43 AM To: Struts Users Mailing List Subject: Message resources I'm sure I'm missing something obvious,