In my jsp code I have been using custom tags to list certian things.  I use
custom tags because the tags do JDO calls and but the objects in static
objects (yadda yadda yadda).. anyway..  here is how I have been doing it:

  <display:colorList colors="#CCFFCC, ##66CCFF">
  <campaign:listByUser id="campaign">
  <TR bgcolor="<display:color/>">
   <TD>
    <html-el:link
page="/app/campaign/editPage.do?campaignId=${campaign.campaignId}"><core:out
value="${campaign.name}"/></html-el:link>
   </TD>
   <TD align="CENTER" nowrap>
    <html-el:link
page="/app/campaign/promotion/mainPage.do?campaignId=${campaign.campaignId}"
>Promo Mgmt</html-el:link>
   </TD>
   <TD align="CENTER" nowrap>
    <html-el:checkbox property="retire" value="${campaign.campaignId}"/>
   </TD>
  </TR>
  <display:colorIncrement/>
  </campaign:listByUser>
  </display:colorList>

Don't worry about the display tags.. that is a custom tag I wrote to flip
colors.

Anyway... that works fine..  my problem/question is:

What is the best way to do this when I have to put the things in a HTML
select tag and sometimes select a certain one.
I'm thinking about doing:


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to