RE: Checkin and checkout

2004-06-30 Thread Ritu Kedia
:)... I have seen this question being asked so many times. I had myself asked the same questions some time back...Just a piece of advice from personal experience.. it would be of help if you refer the Webdav and DeltaV specs when in doubt about any specific behavior. Checkout just marks the resour

RE: Checkin and checkout

2004-06-30 Thread r d
Hi Ritu, Yes. It started working after I set auto-version-control to true in Domain.xml. I have some more queries. For Checkout and checkin methods, there is only one parameter path. Generally after checkout, we need to get working copy. Where does slide put this? Do I have to do explicit get

RE: Checkin and checkout

2004-06-30 Thread Ritu Kedia
Check whether your versioncontrol property in slide.properties is true. slide.properties is in slide-kernel.jar. The following property should be set to true. # Use version control (DeltaV) # Default: true org.apache.slide.versioncontrol=true Most likely that should be true since you say that you

Checkin and checkout

2004-06-30 Thread r d
Hi, I am using Webdav client api. It seems I can do get and put but not any checkin and checkout on webdavresource. When I try, it says (405) method not allowed. What is the problem? Are there any specific steps before we can do checkout? I have default slide configuration and have not changed any

Slide1.x and slide2.x schema mapping

2004-06-30 Thread Sanjay Lahurikar
Hi We need to migrate data from Slide1.x schema to slide2.x schema Is it possible using Slide API and how? Or any body knows mapping between slide1.x schema and slide2.x schema Thanks Sanjay. - To unsubscribe, e-mail: [EMAIL PRO

Re: Multiple stores

2004-06-30 Thread James Mason
I don't know what the practical limit for the number of stores is, but I'm using three at the moment and I don't see any reason you couldn't do more than that. In the Domain.xml file you need to configure each Store and give it a unique name, then you need to put each Store at a unique path usin

Problems with retrieveRevision Content

2004-06-30 Thread Fallin, Jonathan A.
I am continuing to try and create my own content store to eventually hook into an existing Content Management Application that has an exposed API. I have gotten as far as given a URI like "/slide/files/1234" I return that it's a collection and it contains a Word document named "1234Document.doc".

Multiple stores

2004-06-30 Thread Haipeng Du
Is that possible use multiple stores at the same time? If so, how could I do that? thanks a lot. haipeng _ MSN 9 Dial-up Internet Access fights spam and pop-ups – now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/di

RE: Dynamic Node Store

2004-06-30 Thread James Mason
If you really want to do it dynamically, really dynamically, you'll need to disable caching for your store. cacheResults() needs to return false, and you'd better make your Store fast :). Without caching all ObjectNodes should be newly generated for each request. You'll probably want to do some of

RE: Dynamic Node Store

2004-06-30 Thread Michael Oliver
Well, if users Abe, Bella and Charlie log into a slide and slide has /slide/files/Abe/ /slide/files/Bella/ /slide/files/Charlie/ and each of those three collections has ACLs that grant access to Abe for /Abe/, to Bella for /Bella/, etc. and nobody else is granted accesswhen Abe logs in he won'

Dynamic Node Store

2004-06-30 Thread Eitzmann, James
I'm trying to create a custom node store that will build the node hierarchy dynamically based on the user (i.e., the node hierarchy may look different from user to user based on business rules, security filtering, etc.). I'm just getting started with slide, so please pardon my ignorance. The probl

Authenticating an user

2004-06-30 Thread Gaurav Khanna
Hi, The requirement is to authenticate a user against the slide store. We have the username and password as credentials for the user. Can anybody help us with the slide server API that we need to use for authentication? I looked into the org.apache.slide.authenticate package but got no clues.

Re: Slide WebDAV Client API - Redirection

2004-06-30 Thread Guillermo J. Colón
I'm trying to write a javamail driver for Hotmail which is basically a webDAV Resource The first URL is : http://services.msn.com/svcs/hotmail/httpmail.asp Then it redirects you to http://oe.hotmail.com/cgi-bin/hmdata, then to passport.net I have a small problem, since I couldn't get slide workin

Re: help for linking CVS

2004-06-30 Thread James Mason
Haipeng, You'll need a cvs client that's accessible from java, either written in java or with java bindings. Search on google for "java cvs" and you'll find several to choose from. After you pick one you get to figure out how to map Slide's APIs to the appropriate methods calls in the cvs client

Re: ACL How To - Command-line client

2004-06-30 Thread James Mason
You need to use the full path to the resource. eg: /slide/files/Perso/alice. The command line client has problems with relative paths for some methods. -James James Mason Adventist Health Programmer/Analyst 916.783.2576 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 06/30/04 3:39 AM >>> Hi, I am using

Re: Slide WebDAV Client API - Redirection

2004-06-30 Thread James Mason
Well, one for instance that I know of is when accessing the root of the Store (http://localhost/slide rather than http://localhost/slide/). I've run into that a few times. -James James Mason Adventist Health Programmer/Analyst 916.783.2576 [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 06/30/04 1:41 A

help for linking CVS

2004-06-30 Thread Haipeng Du
Everybody: I read Ollie's article about building custom store. Thank Ollie very much. But I still can not get my way because I am pretty new to slide. To link to CVS, what kind of external API to be mapped? How could I modify souce code? Thanks a lot. Haipeng ___

Question about namespaces and properties

2004-06-30 Thread Paul Hussein
Hi, Can someone help me on namespaces with properties. With the client api, when I try to add a property with a custom namespace e.g. 'CUSTOM:' i get an bad request 400. If I use 'DAV:' all is ok. When using DAV Explorer I can add the property with no poblem with my custom namespace. Is t

ACL How To - Command-line client

2004-06-30 Thread Jean-Baptiste Lièvremont
Hi, I am using the slide-2.0/tomcat-5.0.19 bundle. I am trying setup ACLs on collections I have created. My tree looks like this: /files |-/Perso | |-alice | |-bob | |-charles ... As I try to setup ACLs using the Slide WebDAV commandline client (v 2.0), I have the following issues: [PATROUILLE]

WebDAV for webspace-server

2004-06-30 Thread Joerg Bredlau
Hi, I'm new to Slide and want to use it for a directory-based webspace-server. Every user has its own directory, like "http://servername.org/foldername";, and should have the ability to upload and edit files over WebDAV only in his folder. The accountinformations like loginname, password and dire

Re: Slide WebDAV Client API - Redirection

2004-06-30 Thread Stefan Lützkendorf
Can you shortly describe in what cases you are redirected? Stefan Guillermo J. Colón wrote: But then how do I access the DAV resource??? Unfortunately, WebdavResource is not (yet) calling setFollowRedirects(). So (for now) you'd have to exceute the method manually. Ingo How do I relate this with th