Re: string concatenation within an EL conditional

2011-05-10 Thread Maurizio Cucchiara
I don't know if it works and/or it what you're looking for, but it worths at least a try: ${m.dispName} Please let me know if it works. On 10 May 2011 17:44, Scott Koenig wrote: > Hello, > > This may fall under nested EL expressions, which to my understanding are > intentionally d

Re: string concatenation within an EL conditional

2011-05-10 Thread Dave Newton
On Tue, May 10, 2011 at 11:44 AM, Scott Koenig wrote: > This may fall under nested EL expressions, which to my understanding are > intentionally disallowed, but I was wondering if there was EL syntax that > would support what I am trying to do, namely, set a URL based on a > conditional, or if I sh

Re: String concatenation

2005-07-29 Thread Dave Newton
Laurie Harper wrote: Konrad Billewicz wrote: I unfortunately don't know anything about JSTL. My project is so urgent that currently I am not able to experience and use this technology. But I'll look at it closely. Thank you for advice. Invest an hour on some learning and you'll be repaid w

Re: String concatenation

2005-07-29 Thread Laurie Harper
Konrad Billewicz wrote: I unfortunately don't know anything about JSTL. My project is so urgent that currently I am not able to experience and use this technology. But I'll look at it closely. Thank you for advice. Invest an hour on some learning and you'll be repaid within a day ;-) -- Laurie

Re: String concatenation

2005-07-29 Thread Stéphane Zuckerman
Konrad Billewicz a écrit : do you need to put dictionaryId to querystring? i come up with "> as an alternative It is a good idea. But... shouldn't I avoid using non-Struts HTML form tags in Struts-driven applications? I am quite new in Struts and I don't want to get bad habits. :-) In

Re: String concatenation

2005-07-29 Thread Konrad Billewicz
Laurie Harper holoweb.net> writes: > Firstly, you can combine get with forms; if you use method="GET" the hidden > parameter Dave suggested will show up in the URL. Either way, you wouldn't > have to 'check the request and secondly the form' since GET and POST > parameters are both accessed th

Re: String concatenation

2005-07-28 Thread Laurie Harper
Konrad Billewicz wrote: Dave Newton pingsite.com> writes: I've never put a parameter in a form's action attribute--why would you want to do that? Wouldn't it be much cleaner to use a hidden form field with the appropriate parameter name? So your original example would be (minus whatever sill

Re: String concatenation

2005-07-28 Thread Konrad Billewicz
Dave Newton pingsite.com> writes: > I've never put a parameter in a form's action attribute--why would you > want to do that? Wouldn't it be much cleaner to use a hidden form field > with the appropriate parameter name? > > So your original example would be (minus whatever silly syntax mistake

Re: String concatenation

2005-07-28 Thread Dave Newton
Konrad Billewicz wrote: value="<%= SomeConstantsHolderClass.CONSTANT_STRING + SomeConstantsHolderClass.CONSTANT_STRING %>" /> It's not exactly what I expected, but it's better solution than mine. Ideally I thought about complete aviodance of <% and %> tags. I wish to use only Struts

Re: String concatenation

2005-07-28 Thread Konrad Billewicz
> do you need to put dictionaryId to querystring? > i come up with > > "> > as an alternative It is a good idea. But... shouldn't I avoid using non-Struts HTML form tags in Struts-driven applications? I am quite new in Struts and I don't want to get bad habits. :-) Best regards, Konrad B

Re: String concatenation

2005-07-28 Thread Konrad Billewicz
> I'm not sure I've understood correctly what you want to do, but here's > what I would do : > > id="myBean" >value="<%= SomeConstantsHolderClass.CONSTANT_STRING + > SomeConstantsHolderClass.CONSTANT_STRING %>" /> > > > ... It's not exactly what I expected, but it's better solution th

Re: String concatenation

2005-07-28 Thread ichy
hi, Konrad. do you need to put dictionaryId to querystring? i come up with "> as an alternative regards ichy

Re: String concatenation

2005-07-28 Thread Stéphane Zuckerman
Hello Konrad, I'm not sure I've understood correctly what you want to do, but here's what I would do : value="<%= SomeConstantsHolderClass.CONSTANT_STRING + SomeConstantsHolderClass.CONSTANT_STRING %>" /> ... Don't forget that you can still use an action _before_ you go to your JSP to