[portal-commits] JBoss Portal SVN: r9012 - in branches/UIServer/uiserver/src/main/org/jboss/portal/presentation: protocol and 1 other directory.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Sun Nov 18 14:46:46 EST 2007


Author: julien at jboss.com
Date: 2007-11-18 14:46:46 -0500 (Sun, 18 Nov 2007)
New Revision: 9012

Modified:
   branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/impl/PresentationContextImpl.java
   branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/protocol/LinkActivation.java
Log:
- remove target portal on LinkActivation
- use Java convention getURL/setURL instead of getUrl and setUrl

Modified: branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/impl/PresentationContextImpl.java
===================================================================
--- branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/impl/PresentationContextImpl.java	2007-11-18 18:08:08 UTC (rev 9011)
+++ branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/impl/PresentationContextImpl.java	2007-11-18 19:46:46 UTC (rev 9012)
@@ -92,7 +92,7 @@
     * @throws IllegalArgumentException
     */
    public String render(ServerAction action) throws IllegalArgumentException
-   {    
+   {
       return "TODO";
    }
 }

Modified: branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/protocol/LinkActivation.java
===================================================================
--- branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/protocol/LinkActivation.java	2007-11-18 18:08:08 UTC (rev 9011)
+++ branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/protocol/LinkActivation.java	2007-11-18 19:46:46 UTC (rev 9012)
@@ -24,7 +24,6 @@
 
 import java.util.Map;
 
-import org.jboss.portal.presentation.model.UIPortal;
 import org.jboss.portal.presentation.model.UIObject;
 
 /**
@@ -47,13 +46,8 @@
     * 
     */
    protected Map queryParameters = null;  
-   
+
    /**
-    * The Portal that the target object belongs to
-    */
-   protected UIPortal portal = null;
-   
-   /**
     * Target object where action needs to be performed
     */
    protected UIObject target = null;
@@ -98,42 +92,24 @@
     * 
     * @return
     */
-   public String getUrl()
+   public String getURL()
    {
       return url;
    }
 
    /**
     * 
-    * @param url
+    * @param URL
     */
-   public void setUrl(String url)
+   public void setURL(String URL)
    {
-      this.url = url;
+      this.url = URL;
    }
 
    /**
     * 
     * @return
     */
-   public UIPortal getPortal()
-   {
-      return portal;
-   }
-
-   /**
-    * 
-    * @param portal
-    */
-   public void setPortal(UIPortal portal)
-   {
-      this.portal = portal;
-   }
-
-   /**
-    * 
-    * @return
-    */
    public UIObject getTarget()
    {
       return target;




More information about the portal-commits mailing list