Kwa Kil On Swa

Wednesday, November 08, 2006

appfuse webwork drop down

for struts dropdown see
http://raibledesigns.com/wiki/Wiki.jsp?page=HibernateRelationshipsUI#ref-HibernateRelationshipsUI-7

for webwork drop down see:
http://www.nabble.com/Using-ww%3Aselect-for-Lists-set-in-StartupListener-tf2198175s2369.html#a6084253
http://www.nabble.com/webwork-type-conversion-question-tf2352778s2369.html#a6552629

See LookupManager beans, initialized in StartupListener#setupContext()

context.setAttribute(Constants.AVAILABLE_ROLES, mgr.getAllRoles());

Had this in boatForm.jsp to test drop downs
<ww:select
label="getText('boat.name')"
name="'boat.name'"
id="boat.name"
list="#application.availableRoles"
value="%{boat.name}"
required="true"
listKey="value"
listValue="label"
emptyOption="true"/>

0 Comments:

Post a Comment

<< Home