Re: concatenate Strings in tag attributes

2007-11-20 Thread Gary Affonso
Anton Pussep wrote: value="%{'/jsp/'+#parameters.file[0]}" I thought I tried that one out already, but apparently I remembered wrong, since it really works, which is great! Anyway, for my part this is very inconvenient. Also I don't know a way to pass an array to request parameters. Thus IMH

Re: concatenate Strings in tag attributes

2007-11-19 Thread Anton Pussep
> value="%{'/jsp/'+#parameters.file[0]}" I thought I tried that one out already, but apparently I remembered wrong, since it really works, which is great! Anyway, for my part this is very inconvenient. Also I don't know a way to pass an array to request parameters. Thus IMHO there should be a m

Re: concatenate Strings in tag attributes

2007-11-19 Thread Dave Newton
ate another reference to a string > object > >> > >> If that doesn't work, at this stage I'd search > JIRA for a known problem > >> and resort to something more reliable like > calling a static method > >> > >> value="[EMAIL PROTECTED]@concat

Re: concatenate Strings in tag attributes

2007-11-19 Thread Gary Affonso
counts for the different behaviour. I find this inconsistency between tags is one of the most frustrating aspects of how OGNL is used by struts2. Anton Pussep wrote: Results in the same as which means that a remains unset. Same for: Best, Anton Saul Qunming Yuan wrote: Hi You may wan

Re: concatenate Strings in tag attributes

2007-11-18 Thread Anton Pussep
>> >> >> >> >> >> >> Best, >> Anton >> >> Saul Qunming Yuan wrote: >> >>> Hi >>> >>> You may want to try the following to set variable "a": >>> >>> >>> >>&g

Re: concatenate Strings in tag attributes

2007-11-18 Thread Jeromy Evans
llowing to set variable "a": just a thought. Saul Anton Pussep wrote: Hello, I am trying to concatenate strings in tag attributes and get results that I don't understand: prints out "/jsp/test.jsp", whereas prints out "/jsp/[Ljava.lang.String;@1bd21

Re: concatenate Strings in tag attributes

2007-11-18 Thread Anton Pussep
wrote: >> Hello, >> >> I am trying to concatenate strings in tag attributes and get results >> that I don't understand: >> >> >> >> prints out "/jsp/test.jsp", whereas >> >> >> >> >> prints out "/jsp/[Lja

Re: concatenate Strings in tag attributes

2007-11-18 Thread Saul Qunming Yuan
Hi You may want to try the following to set variable "a": just a thought. Saul Anton Pussep wrote: Hello, I am trying to concatenate strings in tag attributes and get results that I don't understand: prints out "/jsp/test.jsp", whereas prints out

concatenate Strings in tag attributes

2007-11-18 Thread Anton Pussep
Hello, I am trying to concatenate strings in tag attributes and get results that I don't understand: prints out "/jsp/test.jsp", whereas prints out "/jsp/[Ljava.lang.String;@1bd2184", same for whereas the following does not work: What is the way to concatena