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
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
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
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
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
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
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]>
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
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
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
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
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
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
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
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
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,
-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
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
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
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
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
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
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
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
> > 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
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
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
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
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
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: "' (
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
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
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-
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
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
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
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
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
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
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
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
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
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,
...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
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,
45 matches
Mail list logo