cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark H" <mailingli...@markhorgan.com>
Subject Getting a datasource in the latest CVS?
Date Mon, 03 Mar 2003 13:09:27 GMT
I'm sorry to bother the developers mailing list with this but I've tried
asking it on the cocoon-users list but I didn't get any response. Whats the
latest way of getting a datasource in an action? I've tried the following:

ComponentSelector selector=(ComponentSelector)
manager.lookup(DataSourceComponent.ROLE + "Selector");
DataSourceComponent datasource =
(DataSourceComponent)selector.select("someDatasourceName");

but the datasource is set to null. I've also tried using ServiceSelector but
couldn't get it to work. Is this broken in the current CVS?

BTW you are doing great work! Can't wait for v2.1 final to come out. Wish I
could contribute but I don't know Cocoon well enough at the moment.

Thx, Mark



Mime
View raw message