jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes twovalues in a labelProperties field of the options tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "twovalues in a labelProperties field of the options tag" Watch "twovalues in a labelProperties field of the options tag" New topic
Author

twovalues in a labelProperties field of the options tag

rouven bee
Greenhorn

Joined: Nov 03, 2004
Posts: 1
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

Joined: Aug 08, 2003
Posts: 326
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: twovalues in a labelProperties field of the options tag