[Yanel-dev] Setting XSL for a resource's view

Michael Wechner michael.wechner at wyona.com
Thu Oct 7 20:54:27 CEST 2010


  On 10/7/10 7:31 PM, Balz Schreier wrote:
> I actually meant any kind of resource type.
> I would like to know what prefixes are allowed in the resource.xml =

> file in the section below.

You can do anything within

<yanel:custom-config>
...
</yanel:custom-config>

and access it with

src/core/java/org/wyona/yanel/core/ResourceConfiguration.java#getCustomConf=
iguration()

Cheers

Michael
>
> Cheers
> Balz
>
> On Thu, Oct 7, 2010 at 6:20 PM, Michael Wechner =

> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
>     On 10/7/10 1:13 PM, basZero wrote:
>>     hi,
>>
>>     can somebody tell me what prefixes
>
>     you mean the protocols/schemes? (like rthtdocs, ...)
>
>
>>     are allowed withing the custom-config section in a resource.xml?
>>
>>     <yanel:custom-config>
>>     <views>
>>     <view id=3D"default" type=3D"XML">
>>     * <xslt>rthtdocs:/registration.xsl</xslt>*
>>     * <xslt>yanelhtdocs:/html.xslt</xslt>*
>>     * <xslt>*
>>
>>     yanelrepo:<myrealmname>:app
>>
>>     **:/app/html.xslt</xslt>**
>>     <mime-type>application/xhtml+xml</mime-type>
>>     </view>
>>     <view id=3D"xml" type=3D"XML">
>>     <mime-type>application/xml</mime-type>
>>     </view>
>>     </views>
>>     </yanel:custom-config>
>>
>>     I only know that the third option (starting with yanelrepo) is
>>     working.
>>     But as I would be interested in hosting the XSLs in the htdocs
>>     folder,
>
>     which htdocs folder? The one of the resource type?
>
>     I guess you are using the XML resource type which extends the
>     BasicXMLResource, right?
>
>     Cheers
>
>     Michael
>
>>     I would like to know the syntax for other allowed configurations.
>>
>>     Thanks
>>     Cheers
>>
>
>
>     --
>     Yanel-development mailing list Yanel-development at wyona.com
>     <mailto:Yanel-development at wyona.com>
>     http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wyona.org/pipermail/yanel-development/attachments/2010100=
7/8dae62ea/attachment-0001.htm


More information about the Yanel-development mailing list