cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: [VOTE] Add parameter to Woody {SelectionList,Widget}.generateSaxFragment
Date Thu, 23 Oct 2003 17:09:56 GMT
Giacomo Pati wrote:
> Why not just have the @src of the <selection-list> check the protocol
> used to distinguish the type?

That's a possibility I evaluated, but keep in mind that you need to 
specify also the name of the properties used to retrieve the key and 
value from each object in the collection. Maybe something like this 
would work:

src="xpath://path/of/collection#keyattr,valueattr"

but what does it buy you, besides having to parse the URI?

	Ugo

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it


Mime
View raw message