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