Andreas Hartmann schrieb:
> How about this approach:
>
> In the resource type configuration, instead of listing the samples,
> a file containing the sample declarations is referenced:
>
> <component-instance name="xhtml" ...>
> ...
> <samples uri="fallback://lenya/modules/xhtml/samples/samples.xml"/>
> ...
> </component-instance>
>
> The samples.xml would look like this:
>
> <samples>
> <sample name="Default Sample" mime-type="application/xhtml+xml"
> uri="fallback://lenya/modules/xhtml/samples/xhtml.xml"/>
> ...
> </samples>
I implemented this, but the contents of the samples.xml file must
look like the standard samples declaration:
<samples>
<sample-name name="Default Sample" mime-type="application/xhtml+xml">
fallback://lenya/modules/xhtml/samples/xhtml.xml</sample-name>
...
</samples>
Please test! :)
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]