Re: [OT] EL expressions and string concatenation

2007-11-07 Thread Adam Hardy
Antonio Petrelli on 05/11/07 08:14, wrote: 2007/11/4, Adam Hardy <[EMAIL PROTECTED]>: Antonio Petrelli on 04/11/07 16:17, wrote: 2007/11/4, Adam Hardy <[EMAIL PROTECTED]>: I want to concatenate 2 vars into a string in EL but since one is a Long, EL can't do it, and throws a NumberFormatExcep

RE: EL expressions and string concatenation

2007-11-05 Thread Karr, David
Would this work? href="${pc:url('/category/edit.html?category.id=')}${category.id}" > -Original Message- > From: Adam Hardy [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 04, 2007 8:07 AM > To: Struts Users Mailing List > Subject: EL expressions an

Re: [OT] EL expressions and string concatenation

2007-11-05 Thread Antonio Petrelli
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>: > > Antonio Petrelli on 04/11/07 16:17, wrote: > > 2007/11/4, Adam Hardy <[EMAIL PROTECTED]>: > >> I want to concatenate 2 vars into a string in EL but since one is a > Long, EL > >> can't do it, and throws a NumberFormatException because it wants them > b

Re: [OT] EL expressions and string concatenation

2007-11-04 Thread Adam Hardy
Antonio Petrelli on 04/11/07 16:17, wrote: 2007/11/4, Adam Hardy <[EMAIL PROTECTED]>: I want to concatenate 2 vars into a string in EL but since one is a Long, EL can't do it, and throws a NumberFormatException because it wants them both to be Longs so it can do arithmetic addition instead. Yo

[OT] Re: EL expressions and string concatenation

2007-11-04 Thread Antonio Petrelli
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>: > I want to concatenate 2 vars into a string in EL but since one is a Long, EL > can't do it, and throws a NumberFormatException because it wants them both to > be > Longs so it can do arithmetic addition instead. You could set a string variable this way

EL expressions and string concatenation

2007-11-04 Thread Adam Hardy
This is slightly off-topic but I hope not too much, and there is a reference to struts here because I used to do this with struts1 taglibs! I want to concatenate 2 vars into a string in EL but since one is a Long, EL can't do it, and throws a NumberFormatException because it wants them both to