cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: [cforms] selection list binding
Date Thu, 11 Mar 2004 14:04:35 GMT
Ugo Cei <u.cei <at> cbim.it> writes:

> > Do you have a solution for the 'non-value' entry in the items collection? I
> > use the selection list as filter for the list pages. And I want to provide an
> > option to do no filtering by this selection list.
> 
> I usually do the following:
> 
> 	var collection = getSomeCollection(); // Typically from a DB
> 	collection.add(0, null);

Nice one, thanks. JavaScript seems to ignore the Collection interface and goes
straight forward to my Collection implementation in use, the ArrayList.

Joerg


Mime
View raw message