Skip to content

Commit

Permalink
custom views added
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Sep 19, 2012
1 parent c898b1b commit d15a42f
Showing 1 changed file with 19 additions and 8 deletions.
Expand Up @@ -3,15 +3,26 @@
<yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
<yanel:rti name="xml" namespace="http://www.wyona.org/yanel/resource/1.0"/>

<!-- NOTE: By calling the XSLT via another resource it allows to implement a dynamic layout switch :-) -->
<yanel:property name="xslt" value="yanelresource:/my-global.xsl"/>
<!-- NOTE: Workflow definition is located within app1 directory, even if a different layout is used! -->
<yanel:property name="workflow-schema" value="/app1/workflow/workflow-with-review.xml"/>

<yanel:custom-config>
<views xmlns="http://www.wyona.org/yanel/rti/1.0">
<view id="default">

<!-- Older IE versions have problems with the mime type application/xhtml+xml -->
<yanel:property name="mime-type" value="text/html"/>
<!-- NOTE: By calling the XSLT via another resource it allows to implement a dynamic layout switch :-) -->
<xslt>yanelresource:/my-global.xsl</xslt>
<!-- INFO: Older IE versions have problems with the mime type application/xhtml+xml -->
<mime-type>text/html</mime-type>
<serializer key="HTML_TRANSITIONAL">
<!--
<yanel:property name="mime-type" value="application/xhtml+xml"/>
<indent>no</indent>
-->

<!-- NOTE: Workflow definition is located within app1 directory, even if a different layout is used! -->
<yanel:property name="workflow-schema" value="/app1/workflow/workflow-with-review.xml"/>
</serializer>
</view>
<view id="xml">
<mime-type>application/xml</mime-type>
</view>
</views>
</yanel:custom-config>
</yanel:resource-config>

0 comments on commit d15a42f

Please sign in to comment.