hi doug,

thanks very much!

simon

On Fre, 2006-08-04 at 12:34 -0400, Doug Chestnut wrote:
> Hi simon,
> In your resourcetype's conf file you need to define a format
> ex: (modules/xhtml/config/cocoon-xconf/resource-type-xhtml.xconf)
> 
> [...]
> <format name="webdavGET" uri="cocoon://modules/xhtml/daveget.xml"/>
> [...]
> 
> then match on this in your resource-type modules sitemap like so: 
> (modules/xhtml/sitemap.xmap)
> [...]
>        <map:match pattern="davget.xml">
>          <map:act type="set-header">
>            <map:parameter name="Last-Modified" 
> value="{date-iso8601-rfc822:{page-envelope:document-lastmodified}}" />
>            <map:generate 
> src="lenyadoc:/{page-envelope:document-language}/{page-envelope:document-id}"/>
>            <map:serialize type="xml-get"/>
>          </map:act>
>        </map:match>
> [...]
> 
> HTH,
> --Doug
> 
> simon litwan wrote:
> > hello all
> > 
> > i'm using lenya 1.4.
> > i try to edit a custom resourcetype with bxe.
> > as far as i found out, bxe wants to get the source document over webdav.
> > can somebody confirm that?
> > 
> > if i try to get the source document like i believe bxe does, i get
> > following error:
> > 
> > The resource type [address] does not support the format [webdavGET].
> > 
> > what do i have to do to making my resourcetype supports the format
> > [webdavGET]?
> > 
> > thanks for any hint
> > 
> > simon
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
Simon Litwan                               [EMAIL PROTECTED]
Wyona Inc.  -   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