aspose file tools*
The moose likes Struts and the fly likes question on struts html:optionsCollection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "question on struts html:optionsCollection " Watch "question on struts html:optionsCollection " New topic
Author

question on struts html:optionsCollection

Yash Duddela
Greenhorn

Joined: Jul 10, 2003
Posts: 4
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
Marshal

Joined: May 26, 2003
Posts: 31054
    
162

Summu,
I'm not sure if this is the best way, but I have my object (like USER_CONTEXT), concatenate in the get method.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question on struts html:optionsCollection