This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Struts and the fly likes html:select and the titleKey attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:select and the titleKey attribute" Watch "html:select and the titleKey attribute" New topic

html:select and the titleKey attribute

dave sag
Ranch Hand

Joined: Feb 17, 2003
Posts: 47
It was my understanding that if I put a titleKey attribute into my select tag then i'd get a title. eg

should give me something like

but it does not. I just get the popup with male and female options and male preselected.
is there a special trick to this, or is this yet another struts bug?

JSF / Jini / Javaspaces / JDO - all rock in my opinion.
I agree. Here's the link:
subject: html:select and the titleKey attribute
It's not a secret anymore!