Doug Chestnut wrote:
Hmm, could be a browser caching problem, I will take a look at webDAV's GET headers.
Yes, it was just browser caching, sorry for the noise.

--Doug

Jonathan Addison wrote:
Hi Doug,

Doug Chestnut wrote:

If no one has any complaints / problems with this I will go ahead and remove the PUT functionality from the bxe module.

I am not sure if this is related but when I save changes with BXE those changes appear in the authoring view as they should, but if I then reenter BXE the changes have disappeared. I haven't tested BXE for a couple weeks so it could be caused by something else.

I also like the idea of consolidating the PUT functionality.


--Doug

[EMAIL PROTECTED] wrote:

Author: chestnut
Date: Thu Jun 29 05:21:22 2006
New Revision: 418024

URL: http://svn.apache.org/viewvc?rev=418024&view=rev
Log:
utilize PUT method from the webDAV protocol for bxe

Modified:
    lenya/trunk/src/modules/bxe/module.xml
    lenya/trunk/src/modules/bxe/sitemap.xmap

Modified: lenya/trunk/src/modules/bxe/module.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/bxe/module.xml?rev=418024&r1=418023&r2=418024&view=diff ==============================================================================
--- lenya/trunk/src/modules/bxe/module.xml (original)
+++ lenya/trunk/src/modules/bxe/module.xml Thu Jun 29 05:21:22 2006
@@ -19,7 +19,8 @@
<module xmlns="http://apache.org/lenya/module/1.0";>
   <id>org.apache.lenya.modules.bxe</id>
-  <depends module="org.apache.lenya.modules.usecase"/>
+  <depends module="org.apache.lenya.modules.usecase"/>
+  <depends module="org.apache.lenya.modules.webdav"/>
   <package>org.apache.lenya.modules</package>
   <version>0.1-dev</version>
   <name>BXE Editor</name>

Modified: lenya/trunk/src/modules/bxe/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/bxe/sitemap.xmap?rev=418024&r1=418023&r2=418024&view=diff ==============================================================================
--- lenya/trunk/src/modules/bxe/sitemap.xmap (original)
+++ lenya/trunk/src/modules/bxe/sitemap.xmap Thu Jun 29 05:21:22 2006
@@ -153,7 +153,7 @@
         <map:serialize />
       </map:match>
       -      <map:match pattern="**/*.html">
+      <map:match pattern="*/*/**.html">
         <!--+
           | Build the BXE configuration
           +-->
@@ -173,14 +173,15 @@
               defines the Lenya URL with which BXE interacts, to
1. get the document contents (by issuing a GET to this URL), 2. save the changed contents (by issuing a PUT to this URL)
-            -->
- <map:parameter name="BX_xmlfile" value="{request:requestURI}?lenya.module=bxe&amp;lenya.step=xml"/>
+            -->
+ <map:parameter name="BX_xmlfile" value="{request:contextPath}/{../1}/webdav/{../3}.xml"/> + <!--<map:parameter name="BX_xmlfile" value="{request:requestURI}?lenya.module=bxe&amp;lenya.step=xml"/>--> <map:parameter name="defaultlanguage" value="{page-envelope:default-language}"/> <!-- Instead of an xsl we use the xhtml file to provide the basic layout
               <map:parameter name="BX_xslfile" value="{2}.xsl"/>
             -->
- <map:parameter name="BX_xhtmlfile" value="{request:contextPath}/{../1}/{../2}.bxe.html?rendertype=edit"/> + <map:parameter name="BX_xhtmlfile" value="{request:contextPath}/{../1}/{../2}/{../3}.bxe.html?rendertype=edit"/> <map:parameter name="BX_validationfile" value="{resource-type:httpSchemaUri}"/> <map:parameter name="css" value="{request:contextPath}/lenya/css/default.css"/> <!-- The document is checked in when we exit from bx (in case of save&exit and in case of exit), so we use the usecase



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




--
Jonathan Addison                                 jon<at>wyona.com
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com http://lenya.apache.org

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

Reply via email to