Display arbitrary number of replacement values

2003-09-17 Thread hsw
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

RE: Replacement values

2002-12-16 Thread Karr, David
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

RE: Replacement values

2002-12-16 Thread Kris Schneider
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

RE: Replacement values

2002-12-16 Thread Sri Sankaran
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? __

RE: Replacement values

2002-12-16 Thread Siggelkow, Bill
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

RE: Replacement values

2002-12-16 Thread Jorge Martins
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

RE: Replacement values

2002-12-16 Thread Sri Sankaran
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

Replacement values

2002-12-16 Thread Mohan Radhakrishnan
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

Re: replacement values

2002-12-13 Thread Gemes Tibor
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.

replacement values

2002-12-12 Thread Mohan Radhakrishnan
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]>

Use of replacement values with bean:message

2001-08-30 Thread JEWeaver
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