syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1452290 - in /syncope/trunk/console/src/main/java/org/apache/syncope/console/pages: EditUserModalPage.java UserModalPage.java
Date Mon, 04 Mar 2013 13:16:19 GMT
Author: ilgrosso
Date: Mon Mar  4 13:16:19 2013
New Revision: 1452290

URL: http://svn.apache.org/r1452290
Log:
[SYNCOPE-334] Passing the right page reference

Modified:
    syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/EditUserModalPage.java
    syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/UserModalPage.java

Modified: syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/EditUserModalPage.java
URL: http://svn.apache.org/viewvc/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/EditUserModalPage.java?rev=1452290&r1=1452289&r2=1452290&view=diff
==============================================================================
--- syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/EditUserModalPage.java
(original)
+++ syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/EditUserModalPage.java
Mon Mar  4 13:16:19 2013
@@ -71,7 +71,7 @@ public class EditUserModalPage extends U
 
             form.addOrReplace(new ResourcesPanel("resources", userTO, statusPanel));
 
-            form.addOrReplace(new MembershipsPanel("memberships", userTO, false, statusPanel,
pageRef));
+            form.addOrReplace(new MembershipsPanel("memberships", userTO, false, statusPanel,
getPageReference()));
         }
     }
 

Modified: syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/UserModalPage.java
URL: http://svn.apache.org/viewvc/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/UserModalPage.java?rev=1452290&r1=1452289&r2=1452290&view=diff
==============================================================================
--- syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/UserModalPage.java
(original)
+++ syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/UserModalPage.java
Mon Mar  4 13:16:19 2013
@@ -140,7 +140,7 @@ public abstract class UserModalPage exte
         //--------------------------------
         // Roles panel
         //--------------------------------
-        form.add(new MembershipsPanel("memberships", userTO, mode == Mode.TEMPLATE, null,
pageRef));
+        form.add(new MembershipsPanel("memberships", userTO, mode == Mode.TEMPLATE, null,
getPageReference()));
         //--------------------------------
 
         final AjaxButton submit = getOnSubmit();



Mime
View raw message