This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 37
    
    1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: insering variable into a html:select label
 
It's not a secret anymore!