This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

twovalues in a labelProperties field of the options tag  RSS feed

 
rouven bee
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i give my labelProperty many labels? thx for your help!

<html:select property="kolleg">
<html ptions collection="users" property="userId" labelProperty='"name","firsname"'/> //doesn't work :-)
</html:select>
 
Ray Stojonic
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm pretty sure you may only specify one value for labelProperty.

Here's a way to get around it:

[ November 03, 2004: Message edited by: Ray Stojonic ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!