This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "help needed" Watch "help needed" New topic
Author

help needed

MInu
Ranch Hand

Joined: Oct 09, 2003
Posts: 517
Hi...

How to print two properties of a single collection using html ptions tag?.

Thanks.


God Gave Me Nothing I Wanted<br />He Gave Me Everything I Needed<br /> - Swami Vivekananda
MInu
Ranch Hand

Joined: Oct 09, 2003
Posts: 517
Originally posted by vinod:
Hi...

How to print two properties of a single collection using html ptions tag?.

Thanks.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'm having a hard time understanding what it is you want to do. Do you want to concatenate two properties to display as one option? Do you want to create options with one property as the label and the other as the value?

Please elaborate.


Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: help needed