Hi,

quick questions.

I am trying to figure out how to create multiple select boxes on the fly.

I have a class CategoryList the extends vector. To this list I add elements
of type Category, which has a getCategoryValues() method which returns a
vector of categories (String) as well as a getCategoryName().

Now the big questions, on a page I want to pull this object out of the
session kept under the key "CategoryList" and create select boxes out of the
Category objects held in CategoryList. At design time I do not know how many
elements there are in CategoryList but for each element I need to create a
select box populated by that elements getCategoryValues() method;

Any help or pointers is appreciated.

Alex

Reply via email to