Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

question on struts html:optionsCollection  RSS feed

 
Yash Duddela
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In a html:select tag I have a collection to display where I display User names for selection from the label



which displays user names like BLUE,ORANGE,GREEN I want to include in the dispaly even the code. Is there a way to concat two attributes in the label
name+"-"+id output being BLUE-001B

Any help is appreciated.

Thanks
Summu
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37234
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Summu,
I'm not sure if this is the best way, but I have my object (like USER_CONTEXT), concatenate in the get method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!