You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by simon litwan <si...@wyona.com> on 2006/08/04 17:59:05 UTC
bxe problems editing custom resourcetype
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
--
Simon Litwan simon.litwan@wyona.com
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: bxe problems editing custom resourcetype
Posted by simon litwan <si...@wyona.com>.
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: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
--
Simon Litwan simon.litwan@wyona.com
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: bxe problems editing custom resourcetype
Posted by Doug Chestnut <dh...@virginia.edu>.
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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org