This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:select and the titleKey attribute" Watch "html:select and the titleKey attribute" New topic
Author

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: http://aspose.com/file-tools
 
subject: html:select and the titleKey attribute