aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Similar Threads
change font size in struts
Enabling / disabling forms (Struts)
dynamically checked radio button in struts1.3
displaytag titleKey not fetching values from .properties file
how to make html:radio default selected