Combined value binding in Table columns

Hello buddies,

My question is about Table component and binding values inside <ui:tableColumn> tags to the dource data.

We know that it is as simple as binding some component value to #{currentRow.value['columnName']} but what if I want to combine two or more of the source data columns togather to evaluate the component value?

For example I wana one of my Table columns display full name of users. in source data firstname and lastname are two different columns, so i would like to concatenate these two values in each row to create a fullname column in my Table

I tried:

#{currentRow.value['firstname'] + " " + currentRow.value['lastname']}

but that doesn't work.

Any idea how to make it done?

Thanks

[772 byte] By [den2Fly] at [2007-11-26 8:24:11]
# 1
OK I got it myself!It is as easy as :text="#{firstname} #{lastname}"Yes, each of EL blocks are evaluated separately and replaced with resulting value :-)Thank you, me!
den2Fly at 2007-7-6 21:34:59 > top of Java-index,Development Tools,Java Tools...