*
The moose likes Struts and the fly likes insering variable into a html:select label Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "insering variable into a html:select label" Watch "insering variable into a html:select label" New topic
Author

insering variable into a html:select label

Klament J. Kruoghst
Ranch Hand

Joined: Oct 24, 2008
Posts: 35
Hi there, here's my situation:

I want to be able to combine 2 values into the label for optionsCollection. I saw somewhere that the way to declare the variables is using bean:define as below, so I did that.. but that's not working correctly:



Any ideas how I can modify my selection? also I'm not sure the iteration on optionsCollection would pick the new labels up.. what else can I do.

I get a "cannot resolve symbol" for variable mylabel1...

Thanks in advance
ajay solanki
Ranch Hand

Joined: Feb 25, 2008
Posts: 37
Hi Klament,

Did you find any solution to this? I also have same situation.

Thanks
 
 
subject: insering variable into a html:select label