struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Colic" <>
Subject using value of bean in my tag.
Date Tue, 01 May 2001 18:00:34 GMT
Hi, I have a tag setup as follows:

<logic:iterate id="category" name="CategoryList" property="categoryList"
  <bean:write name="category" property="categoryNumber" filter="true"/>
  <SELECT NAME="test">
    <db:setCategory categoryNumber="1" />

I have an object in the servlet context that holds a vector of numbers
corresponding to categories. I then have a custom tag that needs a number
passed to it. The <logic:iterate tag does iterate through all the numbers in
the collection but how do I pass the value of the number to my own custom
tag attribute as I have above with the number'1'? Any help is appreciated.



View raw message