Asiri Rathnayake wrote:
> Hi Devs,
>
> xwiki-webdav-plugin was developed to provide means to calculate webdav urls
> of xwiki documents and attachments. But as it turns out, for a given
> document or an attachment, calculating webdav url is simply a string
> manipulation operation. It doesn't require any support from the webdav
> component (and thus the webdav plugin). So, I'm thinking we should remove
> the webdav plugin completely.
I don't like the "string manipulation" approach. In the future we should
have pluggable URLFactories, so that you should just call something like:
$services.urlFactory.getFactory('webdav').getAttachmentLink($attachment)
+1 for removing the plugin, I never liked it anyway.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs