Hi,
I was wondering if a can do a concatenation between to string inside a expression binding.
Ex. #{User.firstName} + “
Hi,
I was wondering if a can do a concatenation between to string inside a expression binding.
Ex. #{User.firstName} + “
Yes you can:
#{user.firstName + " " + user.lastName}
Please look for JSF binding expression language reference. For example:
http://developers.sun.com/docs/jscreator/help/jsp-jsfel/jsf_expression_language_intro.html
Alex
Hi,
It didn’t work with the plus sign. So I write the following in the data Binding value and worked perfectly.
#{User.firstName} #{User.lastName}