re: Getting ArrayList of objects from my form bean into my drop down list - solution

2003-11-28 Thread Janice
Just in case some other newbies are doing the same thing, this was my solution: html:select property=projCodeName bean:define id=codes name=projectForm property=projCodeNames/ html:options collection=codes property=name labelProperty=name/ /html:select Its making a new bean on the .jsp page

re: Getting ArrayList of objects from my form bean into my drop down list - solution

2003-11-28 Thread Caroline Jen
What a good timing to see this post. I was about to do the same thing in the next day or two. I have an ArrayList of JavaBean objects created from accessing the database: while(rs.next()) { editorBean=new EditorBean(rs.getString(user_name)); editors.add(editorBean); } return editors;