A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
html:select and the titleKey attribute
Joined: Feb 17, 2003
Apr 21, 2003 21:22:00
It was my understanding that if I put a titleKey attribute into my select tag then i'd get a title. eg
<html:select property="gender" titleKey="instruction.choose"> <html :-o ptions collection="<%= Global.GENDER_LIST_KEY %>" property="value" labelProperty="label"/> </html:select>
should give me something like
Choose... - male - female
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
JSF / Jini / Javaspaces / JDO - all rock in my opinion.
I agree. Here's the link:
subject: html:select and the titleKey attribute
change font size in struts
displaytag titleKey not fetching values from .properties file
dynamically checked radio button in struts1.3
Enabling / disabling forms (Struts)
how to make html:radio default selected
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014