Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
html:select and the titleKey attribute
posted 12 years ago
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.
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