cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rolf Kulemann <r...@apache.org>
Subject Re: Problem creating (WebDAV) resources with new repository interface
Date Mon, 05 Apr 2004 06:53:06 GMT
On Mon, 2004-04-05 at 08:44, Guido Casper wrote:
> Rolf Kulemann wrote:
> > Wouldn't it be useful also to have
> > 
> > createResource(String url, Source src)
> > createResource(String url, Node src)
> > 
> > ??
> 
> Hm, I don't know. I don't want to bloat the interface too much right 
> from the start. 

Good point.

> If you find yourself needing these why not just do:
> 
> repo.createResource(uri, "");
> repo.saveContent(uri, node);

Good idea, I will do that.

-- 
Regards,

    Rolf Kulemann


Mime
View raw message