RE: java.lang.IllegalArgumentException: can't parse argument numb er

2006-07-03 Thread Fredrik Andersson
No I'm trying to use the value of common.a as the value of key.a because
in the future the keys that all have the value "Hej" might need to be
changed to different values.

Den 7/3/2006, skrev "Yee, Richard K CTR DMDC"
<[EMAIL PROTECTED]>:

>Fredrik,
>The property value of {common.a} is causing the problem b/c the
>java.text.MessageFormat class
>is used to to parameter replacements in the message. Are you trying to use
>the literal string
>'{common.a}' as the value of the key? If so, you need to escape the '{' and
>'}' characters.
>
>-Richard
>
>
>-Original Message-
>From: Fredrik Andersson [mailto:[EMAIL PROTECTED]
>Sent: Monday, July 03, 2006 4:40 AM
>To: Struts Users Mailing List
>Subject: java.lang.IllegalArgumentException: can't parse argument number
>
>
>Hi all
>
>I get this message when tomcat is trying to parse my key="a.key" /> struts tag.
>
>In my resource file I have a key called a.key={common.a} and this seems to
>break.
>
>Anyone that knows why this occures and what I can do to fix it?
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java.lang.IllegalArgumentException: can't parse argument numb er

2006-07-03 Thread Yee, Richard K CTR DMDC
Fredrik,
The property value of {common.a} is causing the problem b/c the
java.text.MessageFormat class
is used to to parameter replacements in the message. Are you trying to use
the literal string
'{common.a}' as the value of the key? If so, you need to escape the '{' and
'}' characters.

-Richard


-Original Message-
From: Fredrik Andersson [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 03, 2006 4:40 AM
To: Struts Users Mailing List
Subject: java.lang.IllegalArgumentException: can't parse argument number


Hi all

I get this message when tomcat is trying to parse my  struts tag.

In my resource file I have a key called a.key={common.a} and this seems to
break.

Anyone that knows why this occures and what I can do to fix it?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]