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: 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]


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: 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: Simple question on opening a file (via webdav) for editing

2004-09-23 Thread Oliver Zeigermann
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]


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

2004-09-23 Thread Miguel Figueiredo

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]



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

2004-09-23 Thread Oliver Zeigermann
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]


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

2004-09-23 Thread Nick Longinow
Thanks Miguel, this succeeds in opening the file in Word, 
and invokes authentication (username/pwd prompted).

But, when I change the document in Word, its not updated 
in the Slide repository.  Am I missing something ?

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 5:35 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


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]



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

2004-09-23 Thread Miguel Figueiredo

Hello Nick,

 Maybe you are... have you installed XP service pack 2, or, do you have a
popup blocker active?

 I tried to use that snipped to access a file in a slide repository and it
constantly opened it in 'http mode' instead of 'webdav mode'. An 'http mode'
symptom is having your word document opened inside IE.

 I temporarily disabled the built-in popup blocker of sp2 (allowing for
active content) and the response is as I expect: a web folder interface
window 'pops-up' in the designated folder showing all files and directories
currently available. If you double click the word document, then you can
open the document in 'davmode' and update it in the server by clicking save
:)

Best regards,
Miguel


-Original Message-
From: Nick Longinow [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 23 de Setembro de 2004 15:09
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing

Thanks Miguel, this succeeds in opening the file in Word, 
and invokes authentication (username/pwd prompted).

But, when I change the document in Word, its not updated 
in the Slide repository.  Am I missing something ?

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 5:35 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


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]



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

2004-09-23 Thread Miguel Figueiredo

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]



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

2004-09-23 Thread Nick Longinow
Ok, the problem was actually that the file has to be Put into the
collection initially with the extension intact, as well as setting
the content type.  When both are done, things work well.  Of course,
that only applies to Office related documents.

Thanks for each of your helps

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 11:17 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


Hello Nick,

 Maybe you are... have you installed XP service pack 2, or, do you have a
popup blocker active?

 I tried to use that snipped to access a file in a slide repository and it
constantly opened it in 'http mode' instead of 'webdav mode'. An 'http mode'
symptom is having your word document opened inside IE.

 I temporarily disabled the built-in popup blocker of sp2 (allowing for
active content) and the response is as I expect: a web folder interface
window 'pops-up' in the designated folder showing all files and directories
currently available. If you double click the word document, then you can
open the document in 'davmode' and update it in the server by clicking save
:)

Best regards,
Miguel


-Original Message-
From: Nick Longinow [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 23 de Setembro de 2004 15:09
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing

Thanks Miguel, this succeeds in opening the file in Word, 
and invokes authentication (username/pwd prompted).

But, when I change the document in Word, its not updated 
in the Slide repository.  Am I missing something ?

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 5:35 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


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]



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

2004-09-23 Thread Miguel Figueiredo

Could you show the resulting html code? I'm not sure what changes you
performed.

Miguel
___

Ok, the problem was actually that the file has to be Put into the
collection initially with the extension intact, as well as setting
the content type.  When both are done, things work well.  Of course,
that only applies to Office related documents.

Thanks for each of your helps

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 11:17 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


Hello Nick,

 Maybe you are... have you installed XP service pack 2, or, do you have a
popup blocker active?

 I tried to use that snipped to access a file in a slide repository and it
constantly opened it in 'http mode' instead of 'webdav mode'. An 'http mode'
symptom is having your word document opened inside IE.

 I temporarily disabled the built-in popup blocker of sp2 (allowing for
active content) and the response is as I expect: a web folder interface
window 'pops-up' in the designated folder showing all files and directories
currently available. If you double click the word document, then you can
open the document in 'davmode' and update it in the server by clicking save
:)

Best regards,
Miguel


-Original Message-
From: Nick Longinow [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 23 de Setembro de 2004 15:09
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing

Thanks Miguel, this succeeds in opening the file in Word, 
and invokes authentication (username/pwd prompted).

But, when I change the document in Word, its not updated 
in the Slide repository.  Am I missing something ?

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 5:35 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


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]



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

2004-09-23 Thread Nick Longinow
Sure,

  HttpURL slideSrv = new HttpURL(target);
  slideSrv.setUserinfo(currASusr, currASpwd);
  WebdavResource wdr = new WebdavResource(slideSrv);
  
  String contentType = getContentTypeString(sDocName);
  if (contentType != null)
  {
wdr.setContentType(contentType);  // ie, application/msword
  }
  
  String extension = getFileExtension(sDocName);
  collectionItem = parentUri + / + viewName + extension;  
  // ie, /slide/files/from/bugs.doc
  boolean worked = wdr.putMethod(collectionItem, sfile);
  if (worked == false)
  {
throw new Exception(unable to import);
  }

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 1:21 PM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


Could you show the resulting html code? I'm not sure what changes you
performed.

Miguel
___

Ok, the problem was actually that the file has to be Put into the
collection initially with the extension intact, as well as setting
the content type.  When both are done, things work well.  Of course,
that only applies to Office related documents.

Thanks for each of your helps

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 11:17 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


Hello Nick,

 Maybe you are... have you installed XP service pack 2, or, do you have a
popup blocker active?

 I tried to use that snipped to access a file in a slide repository and it
constantly opened it in 'http mode' instead of 'webdav mode'. An 'http mode'
symptom is having your word document opened inside IE.

 I temporarily disabled the built-in popup blocker of sp2 (allowing for
active content) and the response is as I expect: a web folder interface
window 'pops-up' in the designated folder showing all files and directories
currently available. If you double click the word document, then you can
open the document in 'davmode' and update it in the server by clicking save
:)

Best regards,
Miguel


-Original Message-
From: Nick Longinow [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 23 de Setembro de 2004 15:09
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing

Thanks Miguel, this succeeds in opening the file in Word, 
and invokes authentication (username/pwd prompted).

But, when I change the document in Word, its not updated 
in the Slide repository.  Am I missing something ?

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 5:35 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


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
 
 



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

2004-09-23 Thread Oliver Zeigermann
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]


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

2004-09-23 Thread Miguel Figueiredo

Thanks!! It enlightened me :)

Miguel

___

Sure,

  HttpURL slideSrv = new HttpURL(target);
  slideSrv.setUserinfo(currASusr, currASpwd);
  WebdavResource wdr = new WebdavResource(slideSrv);
  
  String contentType = getContentTypeString(sDocName);
  if (contentType != null)
  {
wdr.setContentType(contentType);  // ie, application/msword
  }
  
  String extension = getFileExtension(sDocName);
  collectionItem = parentUri + / + viewName + extension;  
  // ie, /slide/files/from/bugs.doc
  boolean worked = wdr.putMethod(collectionItem, sfile);
  if (worked == false)
  {
throw new Exception(unable to import);
  }

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 1:21 PM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


Could you show the resulting html code? I'm not sure what changes you
performed.

Miguel
___

Ok, the problem was actually that the file has to be Put into the
collection initially with the extension intact, as well as setting
the content type.  When both are done, things work well.  Of course,
that only applies to Office related documents.

Thanks for each of your helps

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 11:17 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


Hello Nick,

 Maybe you are... have you installed XP service pack 2, or, do you have a
popup blocker active?

 I tried to use that snipped to access a file in a slide repository and it
constantly opened it in 'http mode' instead of 'webdav mode'. An 'http mode'
symptom is having your word document opened inside IE.

 I temporarily disabled the built-in popup blocker of sp2 (allowing for
active content) and the response is as I expect: a web folder interface
window 'pops-up' in the designated folder showing all files and directories
currently available. If you double click the word document, then you can
open the document in 'davmode' and update it in the server by clicking save
:)

Best regards,
Miguel


-Original Message-
From: Nick Longinow [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 23 de Setembro de 2004 15:09
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing

Thanks Miguel, this succeeds in opening the file in Word, 
and invokes authentication (username/pwd prompted).

But, when I change the document in Word, its not updated 
in the Slide repository.  Am I missing something ?

Nick

-Original Message-
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 5:35 AM
To: 'Slide Users Mailing List'
Subject: RE: Simple question on opening a file (via webdav) for editing


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. 
 
  
 

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

2004-09-23 Thread Miguel Figueiredo

 Oh! That would be very interesting I think :)

 Miguel

___

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-23 Thread Stefan Lützkendorf

Miguel Figueiredo wrote:
Hello Nick,
 Maybe you are... have you installed XP service pack 2, or, do you have a
popup blocker active?
 I tried to use that snipped to access a file in a slide repository and it
constantly opened it in 'http mode' instead of 'webdav mode'. An 'http mode'
symptom is having your word document opened inside IE.
if you want links to webdav files that are opend by office tools as word
without opening a webfolder as a additional step, see
  http://wiki.apache.org/jakarta-slide/WebFolderIssues
for office 2002 and 2003 you can set it up to open documents directly,
i.e. in davmode with locking it, etc.
Cheers, Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]