AW: AW: Document Extension

2004-09-24 Thread Martin, Stefan
Hello Newsgroup,

where can i define the Unicode or iso8859-1 settings for slide. 
the names are created on a windows box and then checked in. An
other windows box will use this files only for reading.

mfg

Stefan Martin

-Ursprüngliche Nachricht-
Von: Henning Schmiedehausen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 23:04
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension


That's Unicode vs. ISO-8859-1. Make sure that both your reader and
writer use the same encoding. Unicode probably preferred.

Regards
Henning

On Thu, 2004-09-23 at 14:48, Martin, Stefan wrote:
 Thank yoy for the answer,
 
 but now i had a problem with a document name with german umlauts. 
 For example:
   VerlänPromD.doc
 but the correct name should be
   VerlänPromD.doc
 
 How can i check the file in?
 
 Stefan Martin
 
 -Ursprüngliche Nachricht-
 Von: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 23. September 2004 14:34
 An: Slide Users Mailing List
 Betreff: Re: Document Extension
 
 
 Works with a hack only. I have posted it to the list before, if you want 
 it, I can try to find it again...
 
 Anyway, if you want to map a file system directly to Slide why not use 
 the new cool stuff Alon did at 
 org.apache.slide.store.file.SimpleFileStore in the CVS HEAD?
 
 Oliver
 
 Martin, Stefan wrote:
 
  Hello Newsgroup,
  
  how can i solve this problem: Slides check all documents in with the
  extension *.doc_1.0.
  I don't want this. The Ending should be allways *.doc.
  
  How can i do that
  
  Mit freundlichen Grüßen
  
  Stefan Martin
  
  izn - Informatikzentrum Niedersachsen
  Göttinger Chaussee 259
  30459 Hannover
  Germany
  Fon: +49 511 120 27067
  Fax: +49 511 120 99 27067
  eMail: [EMAIL PROTECTED]
  Website: http://www.izn.de
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/
 
RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems.
   --Michelle Levesque, Fundamental Issues with
Open Source Software Development


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: Document Extension

2004-09-24 Thread Jacob Lund
For TC 5:
In the connector in server.xml add parameter:
URIEncoding=UTF-8
Slide should be default set to utf-8 otherwise look in slide.properties.
When you say windows box - what client are you talking about? Webfolders, IE 
or something else? Be sure that your client is using utf-8 too!

/jacob
- Original Message - 
From: Martin, Stefan [EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, September 24, 2004 8:55 AM
Subject: AW: AW: Document Extension

Hello Newsgroup,
where can i define the Unicode or iso8859-1 settings for slide.
the names are created on a windows box and then checked in. An
other windows box will use this files only for reading.
mfg
Stefan Martin
-Ursprüngliche Nachricht-
Von: Henning Schmiedehausen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 23:04
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension
That's Unicode vs. ISO-8859-1. Make sure that both your reader and
writer use the same encoding. Unicode probably preferred.
Regards
Henning
On Thu, 2004-09-23 at 14:48, Martin, Stefan wrote:
Thank yoy for the answer,
but now i had a problem with a document name with german umlauts.
For example:
VerlänPromD.doc
but the correct name should be
VerlänPromD.doc
How can i check the file in?
Stefan Martin
-Ursprüngliche Nachricht-
Von: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 14:34
An: Slide Users Mailing List
Betreff: Re: Document Extension
Works with a hack only. I have posted it to the list before, if you want
it, I can try to find it again...
Anyway, if you want to map a file system directly to Slide why not use
the new cool stuff Alon did at
org.apache.slide.store.file.SimpleFileStore in the CVS HEAD?
Oliver
Martin, Stefan wrote:
 Hello Newsgroup,

 how can i solve this problem: Slides check all documents in with the
 extension *.doc_1.0.
 I don't want this. The Ending should be allways *.doc.

 How can i do that

 Mit freundlichen Grüßen

 Stefan Martin

 izn - Informatikzentrum Niedersachsen
 Göttinger Chaussee 259
 30459 Hannover
 Germany
 Fon: +49 511 120 27067
 Fax: +49 511 120 99 27067
 eMail: [EMAIL PROTECTED]
 Website: http://www.izn.de


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
  Linux, Java, perl, Solaris -- Consulting, Training, Development
Fighting for one's political stand is an honorable action, but re-
fusing to acknowledge that there might be weaknesses in one's
position - in order to identify them so that they can be remedied -
is a large enough problem with the Open Source movement that it
deserves to be on this list of the top five problems.
  --Michelle Levesque, Fundamental Issues with
   Open Source Software Development
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Put of a large file takes time.

2004-09-24 Thread Shuji Aono
Hi,
I have a problem in put.
I'm running version 2.0 of slide server and client library.

When TxFileContentStore is used, upload time takes about 5 minutes by
100MB of file. The FileHelper.copy method is using the time of the great
portion of processing. Upload time will become short if the class
currently used is changed into FileChannel from FileInputStream. Is
Slide able to support?

-- 
Shuji Aono [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Put of a large file takes time.

2004-09-24 Thread Oliver Zeigermann
Hi Shuji,
for me this is fast. What plattform are you working on? Anyway, 
FileChannel is avaible not before 1.4 and Slide tries to be compatible 
with 1.3...

Oliver
Shuji Aono wrote:
Hi,
I have a problem in put.
I'm running version 2.0 of slide server and client library.
When TxFileContentStore is used, upload time takes about 5 minutes by
100MB of file. The FileHelper.copy method is using the time of the great
portion of processing. Upload time will become short if the class
currently used is changed into FileChannel from FileInputStream. Is
Slide able to support?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Put of a large file takes time.

2004-09-24 Thread Stefan Lützkendorf
Currently Slide tries to be compatible with JDK1.3 And FileChannel
comes with 1.4, isn't it?
So currently I see no chance. Or is there any implementation which
work with 1.3?
Stefan
Shuji Aono wrote:
Hi,
I have a problem in put.
I'm running version 2.0 of slide server and client library.
When TxFileContentStore is used, upload time takes about 5 minutes by
100MB of file. The FileHelper.copy method is using the time of the great
portion of processing. Upload time will become short if the class
currently used is changed into FileChannel from FileInputStream. Is
Slide able to support?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Does slide support Digest authentication?

2004-09-24 Thread Miguel Figueiredo

Hello Mat,

 Yes you can. But, from what I've seen, it's not slide's responsibility to
digest the passwords, it's Tomcat's responsibility, or the web server you
using...
 You can check the web server documentation to do just that, but here is
something that works for me in tomcat 5.0.28, inside the server.xml
configuration file:

(you must place it inside the engine tag)

Realm className=org.apache.catalina.realm.JNDIRealm debug=99
connectionURL=ldap://miguel-desktop:389;
userPattern=uid={0},ou=people,dc=dominio,dc=pt
roleBase=ou=groups,dc=dominio,dc=pt
roleName=cn
roleSearch=(uniqueMember={0})
digest=SHA
/

This is a code snippet I found in slide's mailing list (if I remember
correctly), and it configures a authentication realm versus a ldap server.
In this case, the digest algorithm is the well known SHA.

 Hope this helps,
 Miguel

_

 
Can I connect to a server that requires Digest authentication?
 
If so, a snippet would be much appreciated.
 
Matt


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Simple question on opening a file (via webdav) for editing

2004-09-24 Thread Stefan Lützkendorf
I'm not sure that I like this idea. I currently click on a link, and
get the file opend with word, arcobat etc. directly.
With the FOLDER stuff I have to click the folder open I have to search the
file again and click again.
With the current state I can point people to a webdav document to read it,
and they dont need to know any about webdav.
May be we add it optional, with a parameter in web.xml?
best regards,
Stefan
Oliver Zeigermann wrote:
No, maybe I got everything wrong again, but I was thinking of what you 
see when you type something like http://localhost:8080/slide; in your 
web browser. The HTML is generated by Slide and I was wondering if we 
add the snipped to the generated HTML.

Oliver
Miguel Figueiredo wrote:
Within javadocs? Hmmm... don't know... But inside
http://jakarta.apache.org/slide/xp.html page could be useful!
Best regards,
Miguel

I was wondering shouldn't we change the generated HTML to display this 
snippet?

Oliver
Miguel Figueiredo wrote:

Hello nick,
Also, check out this code snippet I've found in slide's mailing list:
// open web folder from IE (windows 2000/XP)
body
STYLE
A {behavior: url(#default#AnchorClick);}
/style
A HREF = http://localhost:8080/storage/files/Survey.doc;;
FOLDER =  http://localhost:8080/storage/files/;;
TARGET = _blank

Open in Web Folder View
/a
/body
And this message 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06490.html
witch gives an insight on how to open an Microsoft Office document in 
edit
mode, using Java code inside a JSP or servlet.

You can open a document in edit mode, and then upload it to server, when
performing save within webdav enabled editors. Examples include 
Microsoft
Office, OpenOffice.org and the Acrobate Writer, if I remember correctly.

If you wanted to open every kind of documents (for example an autocad
drawing, not just word documents) in edit mode AND upload changes 
directly
to the server, one solution is making your own web folder client or and
'Windows Explorer' twin, witch is what my company team is working on
nowadays. Other possible solutions are, like Oliver said, netdrive or
similar products.

Best regards,
Miguel
___
Hi Nick!
If you are on Windows either mount Slide as described in 
http://jakarta.apache.org/slide/xp.html or use a product like 
NetDrive from Novell which can even map it to a drive letter.

If you are on Mac have a look at 
http://jakarta.apache.org/slide/osx.html. Be sure to adapt the 
web.xml in this case as suggested in 
http://jakarta.apache.org/slide/faq.html

Oliver
Nick Longinow wrote:

Hi,

I am just getting started with Slide, and have wrestled all day with 
this
one.

Maybe you can hel p ?

I have created a document collection and added (put) a document into 
slide

via java webdav client.  Now I want to get the file out in edit 
mode, ie,
this is
a Word document, and I want Word to open up with the document loaded

for editing.
How do you do this ??

Nick


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Simple question on opening a file (via webdav) for editing

2004-09-24 Thread Miguel Figueiredo

Hia folks,

 I too think it's too demanding to force people to always open a web folder
to open a file, so it should be their option to do it or not.
 I'm thinking of it more of another feature we can have in the browser
windows: a 'view in web folder' icon related with each shown collection. The
user would always have the option to open files in the browser, or open the
web folder view to open files in the dav mode (if that mode is available to
that particular file).

 Best regards,
 Miguel



I'm not sure that I like this idea. I currently click on a link, and
get the file opend with word, arcobat etc. directly.
With the FOLDER stuff I have to click the folder open I have to search the
file again and click again.
With the current state I can point people to a webdav document to read it,
and they dont need to know any about webdav.
May be we add it optional, with a parameter in web.xml?

best regards,
Stefan

Oliver Zeigermann wrote:

 No, maybe I got everything wrong again, but I was thinking of what you 
 see when you type something like http://localhost:8080/slide; in your 
 web browser. The HTML is generated by Slide and I was wondering if we 
 add the snipped to the generated HTML.
 
 Oliver
 
 Miguel Figueiredo wrote:
 
 Within javadocs? Hmmm... don't know... But inside
 http://jakarta.apache.org/slide/xp.html page could be useful!

 Best regards,
 Miguel
 

 I was wondering shouldn't we change the generated HTML to display this 
 snippet?

 Oliver

 Miguel Figueiredo wrote:


 Hello nick,

 Also, check out this code snippet I've found in slide's mailing list:

 // open web folder from IE (windows 2000/XP)

 body
 STYLE
 A {behavior: url(#default#AnchorClick);}
 /style

 A HREF = http://localhost:8080/storage/files/Survey.doc;;
 FOLDER =  http://localhost:8080/storage/files/;;
 TARGET = _blank
 
 Open in Web Folder View
 /a
 /body


 And this message 
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg06490.html
 witch gives an insight on how to open an Microsoft Office document in 
 edit
 mode, using Java code inside a JSP or servlet.

 You can open a document in edit mode, and then upload it to server, when
 performing save within webdav enabled editors. Examples include 
 Microsoft
 Office, OpenOffice.org and the Acrobate Writer, if I remember correctly.

 If you wanted to open every kind of documents (for example an autocad
 drawing, not just word documents) in edit mode AND upload changes 
 directly
 to the server, one solution is making your own web folder client or and
 'Windows Explorer' twin, witch is what my company team is working on
 nowadays. Other possible solutions are, like Oliver said, netdrive or
 similar products.


 Best regards,
 Miguel

 ___

 Hi Nick!

 If you are on Windows either mount Slide as described in 
 http://jakarta.apache.org/slide/xp.html or use a product like 
 NetDrive from Novell which can even map it to a drive letter.

 If you are on Mac have a look at 
 http://jakarta.apache.org/slide/osx.html. Be sure to adapt the 
 web.xml in this case as suggested in 
 http://jakarta.apache.org/slide/faq.html

 Oliver

 Nick Longinow wrote:


 Hi,



 I am just getting started with Slide, and have wrestled all day with 
 this
 one.

 Maybe you can hel p ?



 I have created a document collection and added (put) a document into 
 slide

 via java webdav client.  Now I want to get the file out in edit 
 mode, ie,
 this is
 a Word document, and I want Word to open up with the document loaded

 for editing.


 How do you do this ??



 Nick





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Put of a large file takes time.

2004-09-24 Thread Oliver Zeigermann
Hi Shuji!
Do you have something in mind to make it configurable which version to 
use, FileChannel if 1.4 is available and FileInputStream otherwise?

Good idea, actually my first implementation of the file store made use 
of the locks that one can acquire over a FileChannel. Might even be a 
good idea to map Slide's locks to such FileLocks.

However, I will not be able to implement anything like that before 2005 
I am afraid :(

So, if you have a patch you could contribute, I would be glad and would 
take care of it :)

Oliver
Shuji Aono wrote:
Hello Oliver
JDK1.4.2 is used.
To be sure, the compatibility of 1.3 is important.
Understood Thank.
By the way, if set to Slide2.1, although FileHelper will move to
Commons-transaction from Slide, is FileHelper of Commons-transaction
able to add FileChannel?
For example, the proposal to say to take the system which will use
FileChannel if the version of JDK is checked and it becomes 1.4 -- how
is it?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Simple question on opening a file (via webdav) for editing

2004-09-24 Thread Oliver Zeigermann
Yes, either that or make it configurable like Stefan would want it. By 
the way, I still can not open Word docs with that snippet. Do I have to 
use IE for that?

Oliver
Miguel Figueiredo wrote:
Hia folks,
 I too think it's too demanding to force people to always open a web folder
to open a file, so it should be their option to do it or not.
 I'm thinking of it more of another feature we can have in the browser
windows: a 'view in web folder' icon related with each shown collection. The
user would always have the option to open files in the browser, or open the
web folder view to open files in the dav mode (if that mode is available to
that particular file).
 Best regards,
 Miguel

I'm not sure that I like this idea. I currently click on a link, and
get the file opend with word, arcobat etc. directly.
With the FOLDER stuff I have to click the folder open I have to search the
file again and click again.
With the current state I can point people to a webdav document to read it,
and they dont need to know any about webdav.
May be we add it optional, with a parameter in web.xml?
best regards,
Stefan
Oliver Zeigermann wrote:

No, maybe I got everything wrong again, but I was thinking of what you 
see when you type something like http://localhost:8080/slide; in your 
web browser. The HTML is generated by Slide and I was wondering if we 
add the snipped to the generated HTML.

Oliver
Miguel Figueiredo wrote:

Within javadocs? Hmmm... don't know... But inside
http://jakarta.apache.org/slide/xp.html page could be useful!
Best regards,
Miguel

I was wondering shouldn't we change the generated HTML to display this 
snippet?

Oliver
Miguel Figueiredo wrote:

Hello nick,
Also, check out this code snippet I've found in slide's mailing list:
// open web folder from IE (windows 2000/XP)
body
   STYLE
   A {behavior: url(#default#AnchorClick);}
   /style
   A HREF = http://localhost:8080/storage/files/Survey.doc;;
   FOLDER =  http://localhost:8080/storage/files/;;
   TARGET = _blank
   
   Open in Web Folder View
   /a
/body
And this message 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06490.html
witch gives an insight on how to open an Microsoft Office document in 
edit
mode, using Java code inside a JSP or servlet.

You can open a document in edit mode, and then upload it to server, when
performing save within webdav enabled editors. Examples include 
Microsoft
Office, OpenOffice.org and the Acrobate Writer, if I remember correctly.

If you wanted to open every kind of documents (for example an autocad
drawing, not just word documents) in edit mode AND upload changes 
directly
to the server, one solution is making your own web folder client or and
'Windows Explorer' twin, witch is what my company team is working on
nowadays. Other possible solutions are, like Oliver said, netdrive or
similar products.

Best regards,
Miguel
___
Hi Nick!
If you are on Windows either mount Slide as described in 
http://jakarta.apache.org/slide/xp.html or use a product like 
NetDrive from Novell which can even map it to a drive letter.

If you are on Mac have a look at 
http://jakarta.apache.org/slide/osx.html. Be sure to adapt the 
web.xml in this case as suggested in 
http://jakarta.apache.org/slide/faq.html

Oliver
Nick Longinow wrote:

Hi,

I am just getting started with Slide, and have wrestled all day with 
this
one.

Maybe you can hel p ?

I have created a document collection and added (put) a document into 
slide

via java webdav client.  Now I want to get the file out in edit 
mode, ie,
this is
a Word document, and I want Word to open up with the document loaded

for editing.
How do you do this ??

Nick


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Simple question on opening a file (via webdav) for editing

2004-09-24 Thread Luke Noel-Storr
If you're still trying to solve this problem, these posts of mine may help:
http://www.mail-archive.com/cgi-bin/htsearch?method=andformat=shortconfig=slide-user_jakarta_apache_orgrestrict=exclude=words=word.application
Cheers
Luke.
-

Nick Longinow wrote:
Hi,

I am just getting started with Slide, and have wrestled all day with this
one.
Maybe you can hel p ?

I have created a document collection and added (put) a document into slide
via java webdav client.  Now I want to get the file out in edit mode, ie,
this is 

a Word document, and I want Word to open up with the document loaded
for editing. 


How do you do this ??

Nick
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


The indexpath parameter in the domain.xml

2004-09-24 Thread L Z
Hello slide users,

I am using slide-server-2.1b1 and when i try to use
the  SampleTxtContainsIndexer indexer uncommenting
the:
!--
contentindexer
classname=org.apache.slide.index.SampleTxtContainsIndexer
parameter
name=indexpath./index/parameter
/contentindexer
--
lines, i can't restart the web application. 
The error log is the following:
24 Sep 2004 11:10:25 - org.apache.slide.common.Domain
- ERROR - java.lang.NullPointerException
java.lang.NullPointerException
at java.io.File.init(File.java:180)
at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:83)
at
org.apache.lucene.index.IndexWriter.init(IndexWriter.java:173)
at
org.apache.slide.index.SampleTxtContainsIndexer.initialize(SampleTxtContainsIndexer.java:73)
at
org.apache.slide.store.AbstractStore.initialize(AbstractStore.java:265)
at
org.apache.slide.common.Namespace.initializeServices(Namespace.java:484)
at
org.apache.slide.common.Namespace.loadDefinition(Namespace.java:751)
at
org.apache.slide.common.Domain.initNamespace(Domain.java:840)
at
org.apache.slide.common.Domain.init(Domain.java:432)
at
org.apache.slide.common.Domain.init(Domain.java:366)
at
org.apache.slide.common.Domain.init(Domain.java:329)
at
org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:263)
at
javax.servlet.GenericServlet.init(GenericServlet.java:256)
at
org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:205)

I modified the the SampleTXContainsIndexer and i found
out that the program doesn't seems to find the
INDEX_PATH parameter.(indexpath =
token.getNamespaceConfig().getParameter (INDEX_PATH);)

Is there anybody else who experiences this ? 

Thank you!




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Simple question on opening a file (via webdav) for editing

2004-09-24 Thread Stefan Lützkendorf
Oliver Zeigermann wrote:
Yes, either that or make it configurable like Stefan would want it. By 
the way, I still can not open Word docs with that snippet. Do I have to 
use IE for that?
Yes, it's a Microsoft specific extension.
Oliver
Miguel Figueiredo wrote:
Hia folks,
 I too think it's too demanding to force people to always open a web 
folder
to open a file, so it should be their option to do it or not.
 I'm thinking of it more of another feature we can have in the browser
windows: a 'view in web folder' icon related with each shown 
collection. The
user would always have the option to open files in the browser, or 
open the
web folder view to open files in the dav mode (if that mode is 
available to
that particular file).

 Best regards,
 Miguel

I'm not sure that I like this idea. I currently click on a link, and
get the file opend with word, arcobat etc. directly.
With the FOLDER stuff I have to click the folder open I have to search 
the
file again and click again.
With the current state I can point people to a webdav document to read 
it,
and they dont need to know any about webdav.
May be we add it optional, with a parameter in web.xml?

best regards,
Stefan
Oliver Zeigermann wrote:

No, maybe I got everything wrong again, but I was thinking of what 
you see when you type something like http://localhost:8080/slide; in 
your web browser. The HTML is generated by Slide and I was wondering 
if we add the snipped to the generated HTML.

Oliver
Miguel Figueiredo wrote:

Within javadocs? Hmmm... don't know... But inside
http://jakarta.apache.org/slide/xp.html page could be useful!
Best regards,
Miguel

I was wondering shouldn't we change the generated HTML to display 
this snippet?

Oliver
Miguel Figueiredo wrote:

Hello nick,
Also, check out this code snippet I've found in slide's mailing list:
// open web folder from IE (windows 2000/XP)
body
   STYLE
   A {behavior: url(#default#AnchorClick);}
   /style
   A HREF = http://localhost:8080/storage/files/Survey.doc;;
   FOLDER =  http://localhost:8080/storage/files/;;
   TARGET = _blank
   
   Open in Web Folder View
   /a
/body
And this message 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06490.html 

witch gives an insight on how to open an Microsoft Office document 
in edit
mode, using Java code inside a JSP or servlet.

You can open a document in edit mode, and then upload it to server, 
when
performing save within webdav enabled editors. Examples include 
Microsoft
Office, OpenOffice.org and the Acrobate Writer, if I remember 
correctly.

If you wanted to open every kind of documents (for example an autocad
drawing, not just word documents) in edit mode AND upload changes 
directly
to the server, one solution is making your own web folder client or 
and
'Windows Explorer' twin, witch is what my company team is working on
nowadays. Other possible solutions are, like Oliver said, netdrive or
similar products.

Best regards,
Miguel
___
Hi Nick!
If you are on Windows either mount Slide as described in 
http://jakarta.apache.org/slide/xp.html or use a product like 
NetDrive from Novell which can even map it to a drive letter.

If you are on Mac have a look at 
http://jakarta.apache.org/slide/osx.html. Be sure to adapt the 
web.xml in this case as suggested in 
http://jakarta.apache.org/slide/faq.html

Oliver
Nick Longinow wrote:

Hi,

I am just getting started with Slide, and have wrestled all day 
with this
one.

Maybe you can hel p ?

I have created a document collection and added (put) a document 
into slide

via java webdav client.  Now I want to get the file out in edit 
mode, ie,
this is
a Word document, and I want Word to open up with the document loaded

for editing.
How do you do this ??

Nick


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: 

RE: Error creating SearchQuery

2004-09-24 Thread Andy Bowes
Thanks Julian.

That's great and the link is really useful.

-Original Message-
From: Julian Reschke [mailto:[EMAIL PROTECTED]
Sent: 23 September 2004 16:47
To: Slide Users Mailing List
Subject: Re: Error creating SearchQuery


Andy Bowes wrote:
 Hi Guys,
 
 I am getting the following exception thrown when I attempt to create a
 SearchQuery:
 
 org.apache.slide.search.InvalidQueryException: Expected exactly 1 prop
 element, found 2
   at

org.apache.slide.search.basic.expression.ComparedProperty.setProperty(Compar
 edProperty.java:169)
   at

org.apache.slide.search.basic.expression.ComparedProperty.init(ComparedPro
 perty.java:123)
   at

org.apache.slide.search.basic.expression.ComparePropertyExpression.init(Co
 mparePropertyExpression.java:65)
   at

org.apache.slide.search.basic.expression.EQExpression.init(EQExpression.ja
 va:47)
   at

org.apache.slide.search.basic.BasicExpressionFactory.createDAVExpression(Bas
 icExpressionFactory.java:241)
   at

org.apache.slide.search.basic.BasicExpressionFactory.createExpression(BasicE
 xpressionFactory.java:193)
   at

org.apache.slide.search.basic.BasicExpressionCompiler.createExpression(Basic
 ExpressionCompiler.java:177)
   at

org.apache.slide.search.basic.BasicExpressionCompiler.compile(BasicExpressio
 nCompiler.java:130)
   at

org.apache.slide.search.basic.BasicQueryImpl.parseQuery(BasicQueryImpl.java:
 206)
 
 
 The Query XML looks like:
 
 basicsearch xmlns=DAV:
   select
 prop
   getname /
 /prop
   /select
   from
 scope
   href//href
 /scope
   /from
   where
 eq
   prop
 uuid /
 literal0cb53c48fef5cdd72acc65ff2b9c9d318000/literal
   /prop
 /eq
   /where
 /basicsearch
 
 It looks like I have a problem with the eq statement in the where
clause
 but I haven't got a clue as to what this statement shoudl look like as I
 cannot find any examples or documentation.  Can anyone help ?

The spec is in 
http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html. 
What you need is:

   where
 eq
   prop
 uuid /
   /prop
   literal0cb53c48fef5cdd72acc65ff2b9c9d318000/literal
 /eq
   /where

instead.

Best regards, Julian


-- 
green/bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: AW: Document Extension

2004-09-24 Thread Martin, Stefan
Hello Mister Schmiedehausen,

the problem is that i check in the Document with the explorer/Webfolder.
I use Windows 2000. After refreshing the explorer, the umlauts are wrong.

So what can i do?

Stefan Martin

-Ursprüngliche Nachricht-
Von: Henning Schmiedehausen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 23:04
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension


That's Unicode vs. ISO-8859-1. Make sure that both your reader and
writer use the same encoding. Unicode probably preferred.

Regards
Henning

On Thu, 2004-09-23 at 14:48, Martin, Stefan wrote:
 Thank yoy for the answer,
 
 but now i had a problem with a document name with german umlauts. 
 For example:
   VerlänPromD.doc
 but the correct name should be
   VerlänPromD.doc
 
 How can i check the file in?
 
 Stefan Martin
 
 -Ursprüngliche Nachricht-
 Von: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 23. September 2004 14:34
 An: Slide Users Mailing List
 Betreff: Re: Document Extension
 
 
 Works with a hack only. I have posted it to the list before, if you want 
 it, I can try to find it again...
 
 Anyway, if you want to map a file system directly to Slide why not use 
 the new cool stuff Alon did at 
 org.apache.slide.store.file.SimpleFileStore in the CVS HEAD?
 
 Oliver
 
 Martin, Stefan wrote:
 
  Hello Newsgroup,
  
  how can i solve this problem: Slides check all documents in with the
  extension *.doc_1.0.
  I don't want this. The Ending should be allways *.doc.
  
  How can i do that
  
  Mit freundlichen Grüßen
  
  Stefan Martin
  
  izn - Informatikzentrum Niedersachsen
  Göttinger Chaussee 259
  30459 Hannover
  Germany
  Fon: +49 511 120 27067
  Fax: +49 511 120 99 27067
  eMail: [EMAIL PROTECTED]
  Website: http://www.izn.de
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/
 
RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems.
   --Michelle Levesque, Fundamental Issues with
Open Source Software Development


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: Document Extension

2004-09-24 Thread Jacob Lund
Windows 2000 has some issues when it comes to webfolders! Have a look at:
http://greenbytes.de/tech/webdav/webfolder-client-list.html
/jacob
- Original Message - 
From: Martin, Stefan [EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, September 24, 2004 2:24 PM
Subject: AW: AW: Document Extension

Hello Mister Schmiedehausen,
the problem is that i check in the Document with the explorer/Webfolder.
I use Windows 2000. After refreshing the explorer, the umlauts are wrong.
So what can i do?
Stefan Martin
-Ursprüngliche Nachricht-
Von: Henning Schmiedehausen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 23:04
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension
That's Unicode vs. ISO-8859-1. Make sure that both your reader and
writer use the same encoding. Unicode probably preferred.
Regards
Henning
On Thu, 2004-09-23 at 14:48, Martin, Stefan wrote:
Thank yoy for the answer,
but now i had a problem with a document name with german umlauts.
For example:
VerlänPromD.doc
but the correct name should be
VerlänPromD.doc
How can i check the file in?
Stefan Martin
-Ursprüngliche Nachricht-
Von: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 14:34
An: Slide Users Mailing List
Betreff: Re: Document Extension
Works with a hack only. I have posted it to the list before, if you want
it, I can try to find it again...
Anyway, if you want to map a file system directly to Slide why not use
the new cool stuff Alon did at
org.apache.slide.store.file.SimpleFileStore in the CVS HEAD?
Oliver
Martin, Stefan wrote:
 Hello Newsgroup,

 how can i solve this problem: Slides check all documents in with the
 extension *.doc_1.0.
 I don't want this. The Ending should be allways *.doc.

 How can i do that

 Mit freundlichen Grüßen

 Stefan Martin

 izn - Informatikzentrum Niedersachsen
 Göttinger Chaussee 259
 30459 Hannover
 Germany
 Fon: +49 511 120 27067
 Fax: +49 511 120 99 27067
 eMail: [EMAIL PROTECTED]
 Website: http://www.izn.de


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
  Linux, Java, perl, Solaris -- Consulting, Training, Development
Fighting for one's political stand is an honorable action, but re-
fusing to acknowledge that there might be weaknesses in one's
position - in order to identify them so that they can be remedied -
is a large enough problem with the Open Source movement that it
deserves to be on this list of the top five problems.
  --Michelle Levesque, Fundamental Issues with
   Open Source Software Development
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: AW: Document Extension

2004-09-24 Thread Martin, Stefan
exists a solution  for this problem?


-Ursprüngliche Nachricht-
Von: Jacob Lund [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 24. September 2004 14:45
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension


Windows 2000 has some issues when it comes to webfolders! Have a look at:
http://greenbytes.de/tech/webdav/webfolder-client-list.html

/jacob
- Original Message - 
From: Martin, Stefan [EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, September 24, 2004 2:24 PM
Subject: AW: AW: Document Extension


Hello Mister Schmiedehausen,

the problem is that i check in the Document with the explorer/Webfolder.
I use Windows 2000. After refreshing the explorer, the umlauts are wrong.

So what can i do?

Stefan Martin

-Ursprüngliche Nachricht-
Von: Henning Schmiedehausen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 23:04
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension


That's Unicode vs. ISO-8859-1. Make sure that both your reader and
writer use the same encoding. Unicode probably preferred.

Regards
Henning

On Thu, 2004-09-23 at 14:48, Martin, Stefan wrote:
 Thank yoy for the answer,

 but now i had a problem with a document name with german umlauts.
 For example:
 VerlänPromD.doc
 but the correct name should be
 VerlänPromD.doc

 How can i check the file in?

 Stefan Martin

 -Ursprüngliche Nachricht-
 Von: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 23. September 2004 14:34
 An: Slide Users Mailing List
 Betreff: Re: Document Extension


 Works with a hack only. I have posted it to the list before, if you want
 it, I can try to find it again...

 Anyway, if you want to map a file system directly to Slide why not use
 the new cool stuff Alon did at
 org.apache.slide.store.file.SimpleFileStore in the CVS HEAD?

 Oliver

 Martin, Stefan wrote:

  Hello Newsgroup,
 
  how can i solve this problem: Slides check all documents in with the
  extension *.doc_1.0.
  I don't want this. The Ending should be allways *.doc.
 
  How can i do that
 
  Mit freundlichen Grüßen
 
  Stefan Martin
 
  izn - Informatikzentrum Niedersachsen
  Göttinger Chaussee 259
  30459 Hannover
  Germany
  Fon: +49 511 120 27067
  Fax: +49 511 120 99 27067
  eMail: [EMAIL PROTECTED]
  Website: http://www.izn.de
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems.
   --Michelle Levesque, Fundamental Issues with
Open Source Software Development


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: Document Extension

2004-09-24 Thread Jacob Lund
Well not that I know of. Except to make sure that all users has a version of 
MSDAIPP.DLL that resolves your problem.

The fact that microsoft has not solved this on a windowsupdate patch is 
amazing!

I my opinion this renders Microsoft webfoldes close to useless - maybe 
someone else has a solution to this problem, but I have not heard about it 
yet.

/jacob
- Original Message - 
From: Martin, Stefan [EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, September 24, 2004 2:48 PM
Subject: AW: AW: Document Extension

exists a solution  for this problem?
-Ursprüngliche Nachricht-
Von: Jacob Lund [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 24. September 2004 14:45
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension
Windows 2000 has some issues when it comes to webfolders! Have a look at:
http://greenbytes.de/tech/webdav/webfolder-client-list.html
/jacob
- Original Message - 
From: Martin, Stefan [EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, September 24, 2004 2:24 PM
Subject: AW: AW: Document Extension

Hello Mister Schmiedehausen,
the problem is that i check in the Document with the explorer/Webfolder.
I use Windows 2000. After refreshing the explorer, the umlauts are wrong.
So what can i do?
Stefan Martin
-Ursprüngliche Nachricht-
Von: Henning Schmiedehausen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 23:04
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension
That's Unicode vs. ISO-8859-1. Make sure that both your reader and
writer use the same encoding. Unicode probably preferred.
Regards
Henning
On Thu, 2004-09-23 at 14:48, Martin, Stefan wrote:
Thank yoy for the answer,
but now i had a problem with a document name with german umlauts.
For example:
VerlänPromD.doc
but the correct name should be
VerlänPromD.doc
How can i check the file in?
Stefan Martin
-Ursprüngliche Nachricht-
Von: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 14:34
An: Slide Users Mailing List
Betreff: Re: Document Extension
Works with a hack only. I have posted it to the list before, if you want
it, I can try to find it again...
Anyway, if you want to map a file system directly to Slide why not use
the new cool stuff Alon did at
org.apache.slide.store.file.SimpleFileStore in the CVS HEAD?
Oliver
Martin, Stefan wrote:
 Hello Newsgroup,

 how can i solve this problem: Slides check all documents in with the
 extension *.doc_1.0.
 I don't want this. The Ending should be allways *.doc.

 How can i do that

 Mit freundlichen Grüßen

 Stefan Martin

 izn - Informatikzentrum Niedersachsen
 Göttinger Chaussee 259
 30459 Hannover
 Germany
 Fon: +49 511 120 27067
 Fax: +49 511 120 99 27067
 eMail: [EMAIL PROTECTED]
 Website: http://www.izn.de


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen  INTERMETA GmbH
[EMAIL PROTECTED]+49 9131 50 654 0   http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
  Linux, Java, perl, Solaris -- Consulting, Training, Development
Fighting for one's political stand is an honorable action, but re-
fusing to acknowledge that there might be weaknesses in one's
position - in order to identify them so that they can be remedied -
is a large enough problem with the Open Source movement that it
deserves to be on this list of the top five problems.
  --Michelle Levesque, Fundamental Issues with
   Open Source Software Development
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Weird behaviour in transaction

2004-09-24 Thread Peder Nordvaller
Anyone?
- Original Message - 
From: Peder Nordvaller [EMAIL PROTECTED]
To: Slide Users Mailing List [EMAIL PROTECTED]
Sent: Monday, September 20, 2004 10:56 PM
Subject: Weird behaviour in transaction

I'm using Slide 2.1b1 and MySql41RDBMSAdapter to a 4.1 MySQL nodestore, 
securitystore, lockstore, revisiondescriptorstore and 
revisiondescriptorsstore.

When performing the following commands towards the slide helpers (ommitting 
irrelevant code):

   token.begin();   // Start transaction
   collection = new SubjectNode( /files/test);
   revisionDescriptor = new NodeRevisionDescriptor();
 ... fill up revisionDescriptor...
   structure.create(slideToken, collection, /files/test);
   content.create(slideToken, /files/test, revisionDescriptor, null);
   collection = new SubjectNode( /files/test/sub1);
   revisionDescriptor = new NodeRevisionDescriptor();
 ... fill up revisionDescriptor...
   structure.create(slideToken, collection, /files/test/sub1);
   content.create(slideToken, /files/test, revisionDescriptor, null);
   collection = new SubjectNode( /files/test/sub2);
   revisionDescriptor = new NodeRevisionDescriptor();
 ... fill up revisionDescriptor...
   structure.create(slideToken, collection, /files/test/sub2);
   content.create(slideToken, /files/test, revisionDescriptor, null);
   token.commit();
All the nodes are created just fine, as they should, but only the last node 
under /files/test (/files/test/sub2) is added as a child to /files/test. 
(this is the only one that ends up in the BINDING table). If I manually add 
a row in the BINDING table to link the other node (/files/test/sub1) it is 
listed - but shouldn't the transaction be able to handle this scenario?

Another issue (well, kinda) I have is when I do two changes to a node and do 
content.store() on it within a single transaction (pseudocode):

   token.begin();
   nrd = content.retrieve(/files/test);
   .. change NodeRevisionDescriptor..
   content.store(nrd,/files/test);
   nrd = content.retrieve(/files/test);
   .. change NodeRevisionDescriptor again
   content.store(nrd,/files/test);
   token.commit();
This time only the last change is actually stored in the database. Now, this 
one I probably could understand as I overwrite the change before I actually 
do the commit, but it was a bit unclear when I only added new properties to 
the NodeRevisionDescriptor thinking that they both would be added in the 
commit?

Regards, Peder


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AW: Document Extension

2004-09-24 Thread Oliver Zeigermann
When you distribute the MSDAIPP.DLL to all users it might be an option 
to use Netdrive...

Oliver
Jacob Lund wrote:
Well not that I know of. Except to make sure that all users has a 
version of MSDAIPP.DLL that resolves your problem.

The fact that microsoft has not solved this on a windowsupdate patch is 
amazing!

I my opinion this renders Microsoft webfoldes close to useless - maybe 
someone else has a solution to this problem, but I have not heard about 
it yet.

/jacob
- Original Message - From: Martin, Stefan 
[EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, September 24, 2004 2:48 PM
Subject: AW: AW: Document Extension

exists a solution  for this problem?
-Ursprüngliche Nachricht-
Von: Jacob Lund [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 24. September 2004 14:45
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension
Windows 2000 has some issues when it comes to webfolders! Have a look at:
http://greenbytes.de/tech/webdav/webfolder-client-list.html
/jacob
- Original Message - From: Martin, Stefan 
[EMAIL PROTECTED]
To: 'Slide Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, September 24, 2004 2:24 PM
Subject: AW: AW: Document Extension

Hello Mister Schmiedehausen,
the problem is that i check in the Document with the explorer/Webfolder.
I use Windows 2000. After refreshing the explorer, the umlauts are wrong.
So what can i do?
Stefan Martin
-Ursprüngliche Nachricht-
Von: Henning Schmiedehausen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 23:04
An: Slide Users Mailing List
Betreff: Re: AW: Document Extension
That's Unicode vs. ISO-8859-1. Make sure that both your reader and
writer use the same encoding. Unicode probably preferred.
Regards
Henning
On Thu, 2004-09-23 at 14:48, Martin, Stefan wrote:
Thank yoy for the answer,
but now i had a problem with a document name with german umlauts.
For example:
VerlänPromD.doc
but the correct name should be
VerlänPromD.doc
How can i check the file in?
Stefan Martin
-Ursprüngliche Nachricht-
Von: Oliver Zeigermann [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. September 2004 14:34
An: Slide Users Mailing List
Betreff: Re: Document Extension
Works with a hack only. I have posted it to the list before, if you want
it, I can try to find it again...
Anyway, if you want to map a file system directly to Slide why not use
the new cool stuff Alon did at
org.apache.slide.store.file.SimpleFileStore in the CVS HEAD?
Oliver
Martin, Stefan wrote:
 Hello Newsgroup,

 how can i solve this problem: Slides check all documents in with the
 extension *.doc_1.0.
 I don't want this. The Ending should be allways *.doc.

 How can i do that

 Mit freundlichen Grüßen

 Stefan Martin

 izn - Informatikzentrum Niedersachsen
 Göttinger Chaussee 259
 30459 Hannover
 Germany
 Fon: +49 511 120 27067
 Fax: +49 511 120 99 27067
 eMail: [EMAIL PROTECTED]
 Website: http://www.izn.de


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Simple question on opening a file (via webdav) for editing

2004-09-24 Thread Nick Longinow
Sorry guys, I left something out of my solution.
It assumed the presence of OWSUPP.DLL, which comes with
Office XP or Office 2003.  Using that DLL, you call into
the OpenDocuments control to open the document in Office.

See hacked url below for info and examples.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/htm
l/tscliOpenDocuments.asp

Nick

-Original Message-
From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 24, 2004 6:17 AM
To: Slide Users Mailing List
Subject: Re: Simple question on opening a file (via webdav) for editing

Yes, either that or make it configurable like Stefan would want it. By 
the way, I still can not open Word docs with that snippet. Do I have to 
use IE for that?

Oliver

Miguel Figueiredo wrote:

 Hia folks,
 
  I too think it's too demanding to force people to always open a web
folder
 to open a file, so it should be their option to do it or not.
  I'm thinking of it more of another feature we can have in the browser
 windows: a 'view in web folder' icon related with each shown collection.
The
 user would always have the option to open files in the browser, or open
the
 web folder view to open files in the dav mode (if that mode is available
to
 that particular file).
 
  Best regards,
  Miguel
 
 
 
 I'm not sure that I like this idea. I currently click on a link, and
 get the file opend with word, arcobat etc. directly.
 With the FOLDER stuff I have to click the folder open I have to search the
 file again and click again.
 With the current state I can point people to a webdav document to read it,
 and they dont need to know any about webdav.
 May be we add it optional, with a parameter in web.xml?
 
 best regards,
 Stefan
 
 Oliver Zeigermann wrote:
 
 
No, maybe I got everything wrong again, but I was thinking of what you 
see when you type something like http://localhost:8080/slide; in your 
web browser. The HTML is generated by Slide and I was wondering if we 
add the snipped to the generated HTML.

Oliver

Miguel Figueiredo wrote:


Within javadocs? Hmmm... don't know... But inside
http://jakarta.apache.org/slide/xp.html page could be useful!

Best regards,
Miguel


I was wondering shouldn't we change the generated HTML to display this 
snippet?

Oliver

Miguel Figueiredo wrote:



Hello nick,

Also, check out this code snippet I've found in slide's mailing list:

// open web folder from IE (windows 2000/XP)

body
STYLE
A {behavior: url(#default#AnchorClick);}
/style

A HREF = http://localhost:8080/storage/files/Survey.doc;;
FOLDER =  http://localhost:8080/storage/files/;;
TARGET = _blank

Open in Web Folder View
/a
/body


And this message 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06490.html
witch gives an insight on how to open an Microsoft Office document in 
edit
mode, using Java code inside a JSP or servlet.

You can open a document in edit mode, and then upload it to server, when
performing save within webdav enabled editors. Examples include 
Microsoft
Office, OpenOffice.org and the Acrobate Writer, if I remember correctly.

If you wanted to open every kind of documents (for example an autocad
drawing, not just word documents) in edit mode AND upload changes 
directly
to the server, one solution is making your own web folder client or and
'Windows Explorer' twin, witch is what my company team is working on
nowadays. Other possible solutions are, like Oliver said, netdrive or
similar products.


Best regards,
Miguel

___

Hi Nick!

If you are on Windows either mount Slide as described in 
http://jakarta.apache.org/slide/xp.html or use a product like 
NetDrive from Novell which can even map it to a drive letter.

If you are on Mac have a look at 
http://jakarta.apache.org/slide/osx.html. Be sure to adapt the 
web.xml in this case as suggested in 
http://jakarta.apache.org/slide/faq.html

Oliver

Nick Longinow wrote:



Hi,



I am just getting started with Slide, and have wrestled all day with 
this
one.

Maybe you can hel p ?



I have created a document collection and added (put) a document into 
slide

via java webdav client.  Now I want to get the file out in edit 
mode, ie,
this is
a Word document, and I want Word to open up with the document loaded

for editing.


How do you do this ??



Nick





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: 

Re: DASL and scope

2004-09-24 Thread Guido Casper
I believe, your scope should be /slide/files/docs.
Guido
Jacob Lund wrote:
Hi
I have some problems getting the scope part of my query to work. If I 
want a search to only search through the /files/docs collection then I 
set scope to /files/docs/ and the uri in the header to /files/docs (see 
request below).

Server returns:
23 Sep 2004 12:46:10 - org.apache.slide.common.Domain - WARNING - scope 
/docs/ is invalid
http-81-Processor23, 23-sep-2004 12:46:10, root, SEARCH, 400 Bad 
Request, 16 ms, /files/docs

Client request:
SEARCH /files/docs HTTP/1.1
Host: localhost:82
D:searchrequest xmlns:D=DAV:
D:basicsearch
  D:select
  D:allprop/
   /D:select
  D:from
   D:scope
   D:href/files/docs//D:href
   D:depthinfinity/D:depth
   /D:scope
   /D:from
   D:where
   SLIDE:propcontains xmlns:SLIDE=http://jakarta.apache.org/slide/;
   D:propD:displayname//D:prop
   D:literalNew/D:literal
   /SLIDE:propcontains
   /D:where
/D:basicsearch
/D:searchrequest
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Getting 405 error on resource checkout... (webdav)

2004-09-24 Thread Nick Longinow
Hi

 

I am just doing a simple resource checkout, and it is returning

the 405 (Method not allowed) error.

 

all I am doing is  just like in the Wiki 

http://wiki.apache.org/jakarta-slide/CheckinCheckout

 

But, when I call the checkout method, it returns false and puts

that 405 error in the Webdavresource object.

 

Is there something special you have to do to a document after

doing a PUT to get it into Slide, in order to make it checkout-able ?

Like, turn on some sort of revisioning, etc.  I'm using the standard

Tomcat installation and have changed no settings.

 

Nick



Re: Getting 405 error on resource checkout... (webdav)

2004-09-24 Thread Oliver Zeigermann
I guess you will have to put it under version control. To do this 
automatically set the auto-version-control parameter in Domain.xml to 
true.

Oliver
Nick Longinow wrote:
Hi
 

I am just doing a simple resource checkout, and it is returning
the 405 (Method not allowed) error.
 

all I am doing is  just like in the Wiki 

http://wiki.apache.org/jakarta-slide/CheckinCheckout
 

But, when I call the checkout method, it returns false and puts
that 405 error in the Webdavresource object.
 

Is there something special you have to do to a document after
doing a PUT to get it into Slide, in order to make it checkout-able ?
Like, turn on some sort of revisioning, etc.  I'm using the standard
Tomcat installation and have changed no settings.
 

Nick


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Getting 405 error on resource checkout... (webdav)

2004-09-24 Thread Warwick Burrows

Yes. The resource must be version controlled before you can check it out/in
etc. There's a versioncontrolMethod() that enables this that you need to run
after your putMethod().

Auto-versioning can be turned on for the slide server so that all docs that
are put to the server are automatically versioned and this feature is
configurable from the domain.xml file (I think). But since I want to control
every aspect of file versioning I don't use this feature and call the
versioncontrolMethod() explicitly.

Warwick



 -Original Message-
 From: Nick Longinow [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 24, 2004 3:44 PM
 To: 'Slide Users Mailing List'
 Subject: Getting 405 error on resource checkout... (webdav)
 
 
 Hi
 
  
 
 I am just doing a simple resource checkout, and it is returning
 
 the 405 (Method not allowed) error.
 
  
 
 all I am doing is  just like in the Wiki 
 
http://wiki.apache.org/jakarta-slide/CheckinCheckout

 

But, when I call the checkout method, it returns false and puts

that 405 error in the Webdavresource object.

 

Is there something special you have to do to a document after

doing a PUT to get it into Slide, in order to make it checkout-able ?

Like, turn on some sort of revisioning, etc.  I'm using the standard

Tomcat installation and have changed no settings.

 

Nick


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DASL and scope

2004-09-24 Thread Jacob Lund
My slide installation is mapped to the root of the server.
However I found a solution. If I set the uri in the request header to / 
and the scope to files/docs then it works. If the uri in the scope starts 
with a / then the request fails.

Is that a bug? - the DASL document does not really specify this.
/jacob
- Original Message - 
From: Guido Casper [EMAIL PROTECTED]
To: Slide Users Mailing List [EMAIL PROTECTED]
Sent: Friday, September 24, 2004 6:44 PM
Subject: Re: DASL and scope


I believe, your scope should be /slide/files/docs.
Guido
Jacob Lund wrote:
Hi
I have some problems getting the scope part of my query to work. If I 
want a search to only search through the /files/docs collection then I 
set scope to /files/docs/ and the uri in the header to /files/docs (see 
request below).

Server returns:
23 Sep 2004 12:46:10 - org.apache.slide.common.Domain - WARNING - scope 
/docs/ is invalid
http-81-Processor23, 23-sep-2004 12:46:10, root, SEARCH, 400 Bad 
Request, 16 ms, /files/docs

Client request:
SEARCH /files/docs HTTP/1.1
Host: localhost:82
D:searchrequest xmlns:D=DAV:
D:basicsearch
  D:select
  D:allprop/
   /D:select
  D:from
   D:scope
   D:href/files/docs//D:href
   D:depthinfinity/D:depth
   /D:scope
   /D:from
   D:where
   SLIDE:propcontains 
xmlns:SLIDE=http://jakarta.apache.org/slide/;
   D:propD:displayname//D:prop
   D:literalNew/D:literal
   /SLIDE:propcontains
   /D:where
/D:basicsearch
/D:searchrequest

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: DASL and scope

2004-09-24 Thread Julian Reschke
Jacob Lund wrote:
My slide installation is mapped to the root of the server.
However I found a solution. If I set the uri in the request header to 
/ and the scope to files/docs then it works. If the uri in the scope 
starts with a / then the request fails.

Is that a bug? - the DASL document does not really specify this.
a) yes,
b) yes it does. If it's a URI reference, it is resolved against the 
request URI.

Julian
--
green/bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]