[Yanel-commits] rev 35452 -
public/yanel/trunk/src/webapp/global-resource-configs
michi at wyona.com
michi at wyona.com
Tue Apr 15 12:08:27 CEST 2008
Author: michi
Date: 2008-04-15 12:08:27 +0200 (Tue, 15 Apr 2008)
New Revision: 35452
Modified:
public/yanel/trunk/src/webapp/global-resource-configs/policy-manager_yanel-rc.xml
Log:
views added
Modified: public/yanel/trunk/src/webapp/global-resource-configs/policy-manager_yanel-rc.xml
===================================================================
--- public/yanel/trunk/src/webapp/global-resource-configs/policy-manager_yanel-rc.xml 2008-04-15 10:07:59 UTC (rev 35451)
+++ public/yanel/trunk/src/webapp/global-resource-configs/policy-manager_yanel-rc.xml 2008-04-15 10:08:27 UTC (rev 35452)
@@ -3,12 +3,26 @@
<yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
<yanel:rti name="policymanager" namespace="http://www.wyona.org/yanel/resource/1.0"/>
- <yanel:property name="mime-type" value="application/xhtml+xml"/>
-<!--
- <yanel:property name="mime-type" value="text/html"/>
--->
-<!--
- <yanel:property name="xslt" value="/app/xslt/policy2xhtml.xsl"/>
- <yanel:property name="xslt" value="/app/xslt/global.xsl"/>
--->
+ <yanel:custom-config>
+ <views>
+ <view id="default" type="XML"> <!-- default view shows the policies -->
+ <!-- <xslt>/xslt/global.xsl</xslt> -->
+ <mime-type>text/html</mime-type> <!-- IE browser has trouble with application/xhtml+xml -->
+ </view>
+ <view id="editor" type="XML">
+ <mime-type>text/html</mime-type> <!-- browsers have trouble with application/xhtml+xml re javascript of GWT -->
+ <!-- <xslt>/xslt/global.xsl</xslt> -->
+ </view>
+ <view id="get-xml" type="XML"> <!-- read identities and policy for editing -->
+ <mime-type>application/xml</mime-type>
+ <serializer key="XML">
+ </serializer>
+ </view>
+ <view id="post-xml" type="XML"> <!-- write policy -->
+ <mime-type>application/xml</mime-type>
+ <serializer key="XML">
+ </serializer>
+ </view>
+ </views>
+ </yanel:custom-config>
</yanel:resource-config>
More information about the Yanel-commits
mailing list