Re: binding for multivaluefields

2005-12-06 Thread cocoon.erard
Hello Niels, I'v found another solution for my problem. In the Class SelectionListQuestion which extends the Question Class described in my first mail, I had to implement two "proxy methods" that take as parameter Collection Objects: public Collection getCollection() { if (this.getResponse

Re: binding for multivaluefields

2005-12-05 Thread Niels van Kampenhout
cocoon.erard wrote: Hello, I'm trying to bind a multivaluefield with an object, but this doesn't work. I've a bean: public class MyBean { private HashMap questions = new HashMap(); public HashMap getQuestions() ... public void setQuestions(HashMap questions) ... } the quesitons ma

binding for multivaluefields

2005-12-04 Thread cocoon.erard
Hello, I'm trying to bind a multivaluefield with an object, but this doesn't work. I've a bean: public class MyBean { private HashMap questions = new HashMap(); public HashMap getQuestions() ... public void setQuestions(HashMap questions) ... } the quesitons map contains Question Ob