In my jsp I am using users ArrayList which is collection of User bean on 
server side.
My drop down list works fine as under when I use only one display userNameShort 
in my example.


                <html:select property="userIdNew">
                        <option value="-1">Choose User...</option>
                        <html:options collection="users" property="userId" 
labelProperty="userNameShort" />\
            </html:select>

Now I want to combine two attributes concatenation in label for e.g. 
userId+"("+userNameShort"+")"

how would I do that ?

Thanks..





This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries 
and affiliates.

Reply via email to