Little help with EL: concat static string and databound number
Hi OTN,
I'm a bit stuck with a simple - as I thought - case: concatenating static string and databound number in EL:
I have a deffered expression like:
#{1 != 2 ? ('Number is ' bindings.SomeNumber.inputValue) : 'no number'}
1 and 2 are databound values too but the question is about showing "Number is 5" where 5 is a SomeNumber.
Expression editor shows error on 'Number is'. And the error dissapperars if I remove "bindings.SomeNumber.inputValue".
How can I concatenate them?
Thanks.