This content has been marked as final.
Show 4 replies
-
1. Re: string concatenation inside a EL expression?
asookazian Jul 30, 2009 8:01 PM (in response to jeanluc)that syntax looks strange and likely illegal syntax. workaround would be a backing bean method call that does the lookup(s), concat and returns a String.
how bout: value="#{foo.bar} #{foo.baz(key)}"?
-
2. Re: string concatenation inside a EL expression?
jeanluc Jul 30, 2009 8:47 PM (in response to jeanluc)I'll use that as a workaround (and have @BypassInterceptors on that method, otherwise bijection would kill performance for tables.
-
3. Re: string concatenation inside a EL expression?
joblini Jul 31, 2009 3:40 AM (in response to jeanluc)Hello Jean,
#{messages.['some.prefix'.concat(key)]}
Regards, Ingo
-
4. Re: string concatenation inside a EL expression?
joblini Jul 31, 2009 3:42 AM (in response to jeanluc)#{messages['some.prefix'.concat(key)]}