From: Julien V. <ju...@jb...> - 2005-05-01 19:19:23
|
User: julien Date: 05/05/01 15:19:08 Modified: portlet/src/main/org/jboss/portal/portlet/impl PortletURLImpl.java RenderResponseImpl.java Log: back to relative URLs for PortletURL, added on JBossActionResponse and JBossRenderResponse a method to get the absolute URL Revision Changes Path 1.7 +2 -2 jboss-portal/portlet/src/main/org/jboss/portal/portlet/impl/PortletURLImpl.java (In the diff below, changes in quantity of whitespace are not shown.) Index: PortletURLImpl.java =================================================================== RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/portlet/impl/PortletURLImpl.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- PortletURLImpl.java 21 Feb 2005 00:47:52 -0000 1.6 +++ PortletURLImpl.java 1 May 2005 19:19:08 -0000 1.7 @@ -25,7 +25,7 @@ /** * @author <a href="mailto:ju...@jb...">Julien Viet</a> - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ */ public class PortletURLImpl implements PortletURL { @@ -117,6 +117,6 @@ public String toString() { - return resp.createURL(windowURL); + return resp.createURL(windowURL, true); } } 1.8 +5 -5 jboss-portal/portlet/src/main/org/jboss/portal/portlet/impl/RenderResponseImpl.java (In the diff below, changes in quantity of whitespace are not shown.) Index: RenderResponseImpl.java =================================================================== RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/portlet/impl/RenderResponseImpl.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -b -r1.7 -r1.8 --- RenderResponseImpl.java 1 Apr 2005 21:22:45 -0000 1.7 +++ RenderResponseImpl.java 1 May 2005 19:19:08 -0000 1.8 @@ -26,15 +26,15 @@ /** * @author <a href="mailto:ju...@jb...">Julien Viet</a> - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ */ public class RenderResponseImpl extends PortletResponseImpl implements RenderResponse { - private Window window; - private PortalRequest req; - private PortalResponse resp; - private FragmentResult result; + protected Window window; + protected PortalRequest req; + protected PortalResponse resp; + protected FragmentResult result; public RenderResponseImpl( Window window, |