Sorry, hit send too soon

Doug Chestnut wrote:


Andreas Hartmann wrote:

Hi Lenya devs,

the webdav module contains code which assumes that a resource type
is provided by a module with the same name:


<map:act type="resource-exists" src="fallback://lenya/modules/{page-envelope:document-type}/xslt/clean-{page-envelope:document-type}.xsl">


This is a wrong assumption, for instance the "usecase" resource type
is provided by the "usecasedocument" module.

Sorry about that


Do we need to extend the resource type functionality to provide certain
resources, e.g.

  {resource-type:clean.xsl}
  {resource-type:xsl-base}/clean.xsl

or something similar?

perhaps {resource-type:module-name} ?
This way we could still reference the resource-types xsl|resources using fallback://

The fallback could be hidden in the resource-type input module but then what if I want to use template-fallback:// or some other protocol?



-- Andreas



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

Reply via email to