[Yanel-commits] rev 48413 - public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager

guillaume at wyona.com guillaume at wyona.com
Wed Mar 31 16:06:24 CEST 2010


Author: guillaume
Date: 2010-03-31 16:06:23 +0200 (Wed, 31 Mar 2010)
New Revision: 48413

Modified:
   public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java
Log:
Removed code that prevented to use a view other than 'default' for the policy viewer.
Now in particular the 'source' view can be used as usual.

Note: This changed should be backward-compatible unless someone used
 requests on other policy usecases than 'update'
 that also set the 'yanel.resource.viewid' parameter to anything else than 'default'
 but still expected to get the default view: very unlikely...


Modified: public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java	2010-03-31 13:46:47 UTC (rev 48412)
+++ public/yanel/trunk/src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java	2010-03-31 14:06:23 UTC (rev 48413)
@@ -64,8 +64,6 @@
             } else {
                 viewId = "editor";
             }
-        } else {
-            viewId = "default"; // default is default anyway!
         }
         
         return getXMLView(viewId, getContentXML(viewId));



More information about the Yanel-commits mailing list