struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian K. Buckley" <bbuck...@surfglobal.net>
Subject Re: Help with logic:iterate
Date Wed, 22 Aug 2001 16:40:08 GMT
Wow, that's nice!

One minor fix I needed was to put the collection onto the request prior to
<html:options..>

<% Collection songs = SongCache.getInstance().fetchAll(); %>
<html:select property="id">
  <% pageContext.setAttribute("songs", songs); %>
  <html:options collection="songs" property="stringId"
labelProperty="name"/>
</html:select>

- Brian



Mime
View raw message