My guess is that for allowing a web form to push data in, you will need to perform the necessary steps to obtain the multipart data (struts has some helpers there, plus Kevin's email link as well), then you have to use the SlideToken and NamespaceAccessToken for the currently logged-in user to create a new document using the Slide low-level APIs( Lock, Content, etc). If you want to maintain revision history and ensure that what you put is in properly formed for later access via external WebDAV/DeltaV clients, you will need to replicate the logic inside the xxxMethod.java source code inside the webdav server portion of the slide src tree. I'm in the process of doing this as well for my project and just last night was able to push text content from a textarea back into slide - just need to get it making revisions rather than updating the code of an existing revision. If you don't care about external clients, you can probably use that source as a guide but strip things out that are more MS web folder workarounds, etc. etc. and concentrate on the work you want to do specifically.
It has been taking me several hours per step, where a step = learning how to properly lock all nodes assoc with an existing doc, update some content, create a new revision, unlock the node after editing, etc. Much of the code is bound the the servlet API for external HTTP clients, so making it operate from a struts action or simliar situation is a little time consuming right now. HTH, James > -----Original Message----- > From: Ryan McDonough [mailto:[EMAIL PROTECTED] > Sent: Friday, March 21, 2003 11:25 AM > To: 'Slide Users Mailing List' > Subject: Using a file upload form to add content to slide > > > I know it is possible to browser nodes in a web with slide. > I'm curious to know if it is possible to add a file to a > slide store using an HTML form with a file upload? Is it as > simple as setting the form's method to PUT or is the process > much more involved? Any help on this matter is greatly > appreciated as I have no idea as to where to start. > > Ryan- > > -- > "He who laughs last, thinks slowest." > > > --------------------------------------------------------------------- > 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]
