You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Ritu Kedia <RK...@saba.com> on 2004/05/25 17:08:44 UTC
Adding Labels to Resource Versions
Need help with adding labels to specific resource versions.
I could not find a method on WebdavResource to add label to a specific
version of a resource.
The available methods are:
public boolean labelMethod(String labelname, int type)
public boolean labelMethod(String path, String labelname, int type)
Neither of these methods takes the version parameter. If I want to label
Version 1.0 of Resource1 as "Release 1.0" and Version 1.1 as "Release 2.0":
Is there server side support for this and could it be achieved via
WebdavResource?
Also, does WebdavResource support "Getting Resource" by version/by label?
(Again the getMethod takes only the path and no version or label parameter)
Thanks for any help
Regards,
Ritu
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Adding Labels to Resource Versions
Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
You can add labels to and get a specific version. But you first have
to find out (via REPORT) where that version is located, because you
need to act directly on that version (yes, that's how WebDAV works).
And labels are supported by the server side of Slide.
Ingo
> Need help with adding labels to specific resource versions.
>
> I could not find a method on WebdavResource to add label to a specific
> version of a resource.
> The available methods are:
> public boolean labelMethod(String labelname, int type)
> public boolean labelMethod(String path, String labelname, int type)
>
> Neither of these methods takes the version parameter. If I want to label
> Version 1.0 of Resource1 as "Release 1.0" and Version 1.1 as "Release 2.0":
> Is there server side support for this and could it be achieved via
> WebdavResource?
>
> Also, does WebdavResource support "Getting Resource" by version/by label?
> (Again the getMethod takes only the path and no version or label parameter)
>
> Thanks for any help
> Regards,
> Ritu
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org