Re: html:options not understanding collections from form beans?

2001-08-17 Thread Princeton Lau
Hello, I struggled with the options tag because I did not understand what it meant by 'collection'. I could not pass a collection along with a request because I was at my index page. In other words, nothing had been done yet. I instantiated the bean that had the collection and then used a t

Re: html:options not understanding collections from form beans ?

2001-07-10 Thread Howie
On Tue, 10 Jul 2001, Ted Husted wrote: > Can you post some of the code you are working with? > > Given a method getDirectoryName() you should be able to pass the same > collection to both the labelName and labelProperty properties. > > Though, you may need to expose the collection as a bean (in p

Re: html:options not understanding collections from form beans ?

2001-07-10 Thread Ted Husted
Can you post some of the code you are working with? Given a method getDirectoryName() you should be able to pass the same collection to both the labelName and labelProperty properties. Though, you may need to expose the collection as a bean (in page scope). The tags are not written with the ass

html:options not understanding collections from form beans ?

2001-07-08 Thread Howie
ive got a little problem with html:options. in my form bean i have a method called getAllDirectories() which does some processing and returns a java.util.List of all the available directories. this works fine; struts picks up on the fact that it should look at the form bean for this collection.