Hi,
i am trying to display a ActionError object with replacement values as a object[].
can anybody tell me what do i need to put in my message resource file for displaying
this array.
also, do i need to do something special in the jsp or a simple would
suffice
for e,g for a fixed number of
As other people have described, the "arg0" attribute is taken as a literal value, or
as a scriptlet value. It isn't interpreted as a bean property.
This is a good reason to use Struts-EL and the JSTL. Your example would look like
this, using Struts-EL:
Or even mo
gestion may work but I doubt if it ('item') is of request scope.
> Worth a try.
>
> Sri
>
> -Original Message-
> From: Jorge Martins [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 16, 2002 9:22 AM
> To: 'Struts Users Mailing List'
> Sub
a
try.
Sri
-Original Message-
From: Jorge Martins [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 9:22 AM
To: 'Struts Users Mailing List'
Subject: RE: Replacement values
How about:
Wouldn't that do the trick?
__
DId you try ...
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 9:19 AM
To: Struts Users Mailing List
Subject: RE: Replacement values
I believe that replacement values are interpreted as Strings. Also, quoting Craig
from an
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 16 de Dezembro de 2002 14:19
To: Struts Users Mailing List
Subject: RE: Replacement values
I believe that replacement values are interpreted as Strings. Also, quoting
Craig from an earlier post:
...the tag does not create a scri
I believe that replacement values are interpreted as Strings. Also, quoting Craig
from an earlier post:
...the tag does not create a scripting variable. It only stores the
current element you are iterating over in the attribute defined by "name"
Given that, a quick solution t
Hi,
I am trying to iterate over values in my form bean.
The above prints the string "item" for the replacement value.
Shouldn't it print the value iterated over the String[] which is the type
of the property in my form bean ?
Even bean:write throws " bean no
2002. december 13. 08:30 dátummal Mohan Radhakrishnan ezt írtad:
> Hi,
> bean:message accepts only five replacement values.
>
> Is there an alternative ? JSTL ?
Split up the message. I can hardly think of any case in which you have more
than 3 values... Or extend the taglib.
Hi,
bean:message accepts only five replacement values.
Is there an alternative ? JSTL ?
Mohan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
bean's property
provide me the entire content of the message, substitution based on state
already done, but seems a shame not to be able to use the replacement
values feature.
tia,
jim
Jim Weaver
Software Developer - ThoughtWorks
11 matches
Mail list logo