Re: AW: Added projector documentation link

2004-11-15 Thread Daniel Florey
Finally I think that there are many different preferences regarding templating. It depends on what people are used to use and what they personally like. The primary goal of projector was not to introduce new templating mechanisms, but mainly focusses on the event driven workflow engine. So other

Re: AW: Added projector documentation link

2004-11-15 Thread Tim Frank
Daniel, I forgot to mention something on the issue of workflow and events. If you have not done so I would suggest looking at the Cocoon implementation of Flows and the use of flowscript and continuations. Obviously I don't know what you had in mind specifically, but I do know that there are a

Re: AW: Added projector documentation link

2004-11-15 Thread Stephane Bailliez
Daniel Florey wrote: Finally I think that there are many different preferences regarding templating. It depends on what people are used to use and what they personally like. The primary goal of projector was not to introduce new templating mechanisms, but mainly focusses on the event driven

Re: AW: Added projector documentation link

2004-11-15 Thread Daniel Florey
Slide Users Mailing List [EMAIL PROTECTED] schrieb am 15.11.04 13:42:49: Daniel Florey wrote: Finally I think that there are many different preferences regarding templating. It depends on what people are used to use and what they personally like. The primary goal of projector was not

Re: AW: Added projector documentation link

2004-11-15 Thread Stephane Bailliez
Daniel Florey wrote: What I had in mind is the following: If a have jsp/servlets that for example have to provide a news summary page, this task may take very long. So it is more clever to cache the generated output until some new news are added. This is what projector can do for you, but I

Sanity check of transaction support fixes

2004-11-15 Thread Warwick Burrows
Hi guys, I'd like to ask those who know/use/care about the WebDAV client transaction support to sanity check some fixes I've made to Slide (client and server) to get transaction continuation from the client to the server working. I've submitted the patch deltas to bugzilla along with defect

auto-version checkout

2004-11-15 Thread Tim Frank
I have been trying to experiment with the various settings for auto-version specified in section 3.2.2 of the DeltaV RFC. I am either not understanding one of these options, or it is not operating as it should. I have set the auto-version parameter to checkout in Domain.xml like this: parameter

WCK: correct way to interoperate with slide locks

2004-11-15 Thread Alessandro Apostoli
Hi all, my WCK Slide store implementation has its own locking system, much simpler than slide's. I can only lock resources either shared or exclusive only one lock per resource, inheritance is not supported. When a resource is locked via webdav/WCK everything works fine for I store the slide

Seeking java example querying slide

2004-11-15 Thread Phillip Rhodes
I want to connect to slide using a Java API and find out for a given folder, the contents within it (other folders and files). I would like to use slide as an image repository and create some a database record for each image that is found in the dav server. I was hoping someone can point me

Re: Seeking java example querying slide

2004-11-15 Thread Tim Frank
Phillip, Here is an example DASL query from the Wiki pages: http://wiki.apache.org/jakarta-slide/DASLSearch Someone else might know another way. Tim Phillip Rhodes wrote on 15/11/04 01:33 PM: I want to connect to slide using a Java API and find out for a given folder, the contents within it

Fwd: RE: PUT error when using jdbc/Oracle

2004-11-15 Thread mahesh kumar
Hi All,Further to my previous mail .. Can any one get me the source code or java program to put a file into oracle database/store using slide client. Would appreciate for your updates on this .. I have written a program see below ..import java.io.File;import java.io.IOException;import

Opinions for Exposing XML from Methods

2004-11-15 Thread Tim Frank
I have been working with the Webdav Client using the org.apache.webdav.lib.methods package directly to get the XML response from the slide server. I am using the XML results with XSLT to build web interfaces and reports. I noticed that the WebdavResource class seems to be the powerhouse of

Re: Seeking java example querying slide

2004-11-15 Thread Phillip Rhodes
That solution sounds like the best way to go. Is anyone anywhere of a example program that does a PROPFIND operation? Since I am new to this, it would be hard to pull a working program just using the javadocs. Thanks. Mirko Froehlich wrote: If all you want to do is enumerate the contents of a

Re: Opinions for Exposing XML from Methods

2004-11-15 Thread Mirko Froehlich
XML support sounds very useful for debugging. Speaking of the WebDAV client API: I have only recently started working with Slide and the WebDAV client API, and even though the client API is very powerful, I have to admit that I have mixed feelings about it. In particular, the WebdavResource does

Re: Opinions for Exposing XML from Methods

2004-11-15 Thread Tim Frank
Mirko, I have to agree with your feelings about the duality of the WebdavResource class. I think there does need to be a split somehow between access the properties from the result of a particular operation. For example, there is a getOwner() method in the class but it is only used for locking

Re: Seeking java example querying slide

2004-11-15 Thread Mirko Froehlich
The Wiki is pretty helpful. This document explains how to create a WebdavResource, which represents a folder or document in your repository: http://wiki.apache.org/jakarta-slide/CreateWebDavResource Once you have this, you can do all kinds of things. Like I said, if all you wan to do is get the

Directory Uploads

2004-11-15 Thread Nitin Chaumal
Hi All I have Apache HTTP Server 2.0.52 running with mod_dav/mod_dav_fs enabled over a part of the DocumentRoot. I am writing an applet (signed) which will show clients local filesystem as well as DAV enabled portion of the server filesystem. Using this applet the user may upload directories

Re: WCK: correct way to interoperate with slide locks

2004-11-15 Thread Oliver Zeigermann
Hi Alessandro, this is a very reasonable question! One idea was to allow lockObject to throw an already locked exception, but this would be somehow weird if getLockInfo did not return any locks. So, short answer: Currently the only solution would be to actually fake (create) such a lock object. I

RE: Opinions for Exposing XML from Methods

2004-11-15 Thread Warwick Burrows
Tim, The response document is available as an org.w3c.dom.Document from all of the raw *Method classes (eg. checkinMethod and checkoutMethod class) as they extend the XMLResponseMethodBase class which has a getResponseDocument() method that returns it. So you certainly could save the response

Re: ClusterCacheRef - a different approach

2004-11-15 Thread James Mason
Richard, This was one of the options originally considered (the other being JMS). The current approach was chosen for two reasons: 1) It uses WebDAV 2) It was easy to implement If you're willing to right the code, I would love to see JGroups used for notifications. As you say, that would make

Re: How do I get callback notifications from slide server about change in resources for eclipse RCP application

2004-11-15 Thread James Mason
Anupam, The easiest way to do this is probably with a NotificationListener. Take a look at http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/share/org/apache/slide/cluster/ClusterCacheRefresher.java?rev=1.5view=auto and http://jakarta.apache.org/slide/clientjavadoc/index.html -James On Fri,