From portal-commits at lists.jboss.org Thu Feb 7 07:04:09 2008 Content-Type: multipart/mixed; boundary="===============7502078455714946853==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r9833 - in modules/portlet/trunk/test/src: main/java/org/jboss/portal/portlet/test/jsp/response and 3 other directories. Date: Thu, 07 Feb 2008 07:04:09 -0500 Message-ID: --===============7502078455714946853== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: julien(a)jboss.com Date: 2008-02-07 07:04:09 -0500 (Thu, 07 Feb 2008) New Revision: 9833 Added: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/j= sp/response/EndPageChunk.java modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/j= sp/response/StartPageChunk.java modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/j= sp/response/portlet/StartPortletChunk.java Removed: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/j= sp/response/portlet/PortletTitleChunk.java Modified: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/j= sp/ControllerFilter.java modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/j= sp/Page.java modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/j= sp/PagePortletControllerContext.java modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/j= sp/taglib/PageTag.java modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/j= sp/taglib/PortletTag.java modules/portlet/trunk/test/src/test/resources/simple-portal-war/index.jsp Log: add support for maximized window in page Modified: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet= /test/jsp/ControllerFilter.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/ControllerFilter.java 2008-02-07 11:12:39 UTC (rev 9832) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/ControllerFilter.java 2008-02-07 12:04:09 UTC (rev 9833) @@ -25,13 +25,15 @@ import org.jboss.portal.portlet.test.jsp.response.Chunk; import org.jboss.portal.portlet.test.jsp.response.BytesChunk; import org.jboss.portal.portlet.test.jsp.response.CharsChunk; -import org.jboss.portal.portlet.test.jsp.response.portlet.PortletChunk; +import org.jboss.portal.portlet.test.jsp.response.portlet.StartPortletChun= k; import org.jboss.portal.portlet.test.jsp.response.portlet.PortletMarkupChu= nk; import org.jboss.portal.portlet.test.jsp.response.portlet.StartPortletTitl= eChunk; import org.jboss.portal.portlet.test.jsp.response.portlet.PortletURLChunk; import org.jboss.portal.portlet.test.jsp.response.portlet.EndPortletChunk; import org.jboss.portal.portlet.test.jsp.response.BufferingResponse; import org.jboss.portal.portlet.test.jsp.response.ResponseBuffer; +import org.jboss.portal.portlet.test.jsp.response.StartPageChunk; +import org.jboss.portal.portlet.test.jsp.response.EndPageChunk; import org.jboss.portal.portlet.test.controller.PortletURLRenderer; import org.jboss.portal.portlet.PortletInvoker; import org.jboss.portal.portlet.PortletInvokerException; @@ -65,6 +67,10 @@ import java.io.OutputStream; import java.io.OutputStreamWriter; import java.util.Map; +import java.util.Iterator; +import java.util.List; +import java.util.LinkedList; +import java.util.Collections; = /** * @author Julien Viet @@ -220,6 +226,68 @@ pageState =3D context.getStateControllerContext().createPageState= (); } = + // Look if we need to handle maxmized rendering + for (Window window : page.getWindows()) + { + WindowNavigationalState windowState =3D pageState.getWindowNaviga= tionalState(window.getId()); + if (windowState !=3D null && WindowState.MAXIMIZED.equals(windowS= tate.getWindowState())) + { + List chunks =3D new LinkedList(); + int mode =3D 0; + int count =3D 0; + for (Iterator i =3D page.getChunks().iterator();i.hasNe= xt();) + { + Chunk chunk =3D i.next(); + + switch (mode) + { + case 0: + if (chunk instanceof StartPageChunk) + { + mode =3D 1; + chunks.add(chunk); + } + break; + case 1: + if (chunk instanceof StartPortletChunk) + { + StartPortletChunk startPortletChunk =3D (StartPort= letChunk)chunk; + String windowId =3D "" + count; + if (window.getId().equals(windowId)) + { + mode =3D 2; + chunks.add(startPortletChunk); + } + } + else if (chunk instanceof EndPageChunk) + { + mode =3D 0; + chunks.add(chunk); + } + break; + case 2: + if (chunk instanceof EndPortletChunk) + { + mode =3D 1; + } + + // + chunks.add(chunk); + break; + } + + // + if (chunk instanceof EndPortletChunk) + { + count++; + } + } + + // New page + page =3D new Page(chunks, Collections.singletonMap(window.getI= d(), window)); + } + } + // Map responses =3D page.render(con= text, pageState); = @@ -230,7 +298,7 @@ // int count =3D 0; String windowId =3D null; - PortletChunk portletChunk =3D null; + StartPortletChunk startPortletChunk =3D null; PortletInvocationResponse portletResponse =3D null; for (Chunk chunk : page.getChunks()) { @@ -246,9 +314,9 @@ writer.write(bytesChunk.getChars()); writer.flush(); } - else if (chunk instanceof PortletChunk) + else if (chunk instanceof StartPortletChunk) { - portletChunk =3D (PortletChunk)chunk; + startPortletChunk =3D (StartPortletChunk)chunk; windowId =3D "" + count++; portletResponse =3D responses.get(windowId); } @@ -316,7 +384,7 @@ { FragmentResponse fragment =3D (FragmentResponse)portletR= esponse; WindowNavigationalState windowNS =3D pageState.getWindow= NavigationalState(windowId); - if (windowNS =3D=3D null || windowNS.getWindowState().eq= uals(WindowState.NORMAL)) + if (windowNS =3D=3D null || !windowNS.getWindowState().e= quals(WindowState.MINIMIZED)) { if (fragment.getType() !=3D FragmentResponse.TYPE_EMP= TY) { @@ -338,20 +406,20 @@ } else { - writer.write(portletResponse.getClass().getSimpleName() = + "[" + portletChunk.getPortletName() + "," + portletChunk.getApplicationNa= me() + "]"); + writer.write(portletResponse.getClass().getSimpleName() = + "[" + startPortletChunk.getPortletName() + "," + startPortletChunk.getApp= licationName() + "]"); writer.flush(); } } else { - writer.write("Empty[" + portletChunk.getPortletName() + ","= + portletChunk.getApplicationName() + "]"); + writer.write("Empty[" + startPortletChunk.getPortletName() = + "," + startPortletChunk.getApplicationName() + "]"); writer.flush(); } } else if (chunk instanceof EndPortletChunk) { windowId =3D null; - portletChunk =3D null; + startPortletChunk =3D null; portletResponse =3D null; } } Modified: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet= /test/jsp/Page.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/Page.java 2008-02-07 11:12:39 UTC (rev 9832) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/Page.java 2008-02-07 12:04:09 UTC (rev 9833) @@ -30,6 +30,7 @@ import java.util.Map; import java.util.HashMap; import java.util.List; +import java.util.Collection; = /** * @author Julien Viet @@ -60,6 +61,11 @@ return windows.get(windowId); } = + public Collection getWindows() + { + return windows.values(); + } + public Map render(PortletControllerC= ontext context, PageNavigationalState pageState) { Map responses =3D new HashMap(); Modified: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet= /test/jsp/PagePortletControllerContext.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/PagePortletControllerContext.java 2008-02-07 11:12:39 UTC (rev 9832) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/PagePortletControllerContext.java 2008-02-07 12:04:09 UTC (rev 9833) @@ -24,7 +24,7 @@ = import org.jboss.portal.portlet.test.controller.AbstractPortletControllerC= ontext; import org.jboss.portal.portlet.test.jsp.response.Chunk; -import org.jboss.portal.portlet.test.jsp.response.portlet.PortletChunk; +import org.jboss.portal.portlet.test.jsp.response.portlet.StartPortletChun= k; import org.jboss.portal.portlet.test.jsp.response.ResponseBuffer; import org.jboss.portal.portlet.Portlet; import org.jboss.portal.portlet.PortletInvokerException; @@ -43,6 +43,7 @@ import java.io.IOException; import java.util.Map; import java.util.HashMap; +import java.util.LinkedHashMap; = /** * @author Julien Viet @@ -72,12 +73,12 @@ = // Collect portlets to create the page int counter =3D 0; - Map windows =3D new HashMap(); + Map windows =3D new LinkedHashMap(); for (Chunk chunk : buffer.getChunks()) { - if (chunk instanceof PortletChunk) + if (chunk instanceof StartPortletChunk) { - PortletChunk portletChunk =3D (PortletChunk)chunk; + StartPortletChunk startPortletChunk =3D (StartPortletChunk)chu= nk; String windowId =3D "" + counter++; = // @@ -90,7 +91,7 @@ String applicationName =3D portletInfo.getApplicationNam= e(); = // - if (applicationName.equals(portletChunk.getApplicationNa= me()) && portletName.equals(portletChunk.getPortletName())) + if (applicationName.equals(startPortletChunk.getApplicat= ionName()) && portletName.equals(startPortletChunk.getPortletName())) { windows.put(windowId, new Window(windowId, portlet)); } @@ -104,6 +105,9 @@ } = // + = + + // this.page =3D new Page(buffer.getChunks(), windows); this.invoker =3D invoker; this.eventControllerContext =3D new EventControllerContextImpl(invok= er); Added: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/te= st/jsp/response/EndPageChunk.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/response/EndPageChunk.java (rev 0) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/response/EndPageChunk.java 2008-02-07 12:04:09 UTC (rev 9833) @@ -0,0 +1,33 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2008, Red Hat Middleware, LLC, and individual = * + * contributors as indicated by the @authors tag. See the = * + * copyright.txt in the distribution for a full listing of = * + * individual contributors. = * + * = * + * This is free software; you can redistribute it and/or modify it = * + * under the terms of the GNU Lesser General Public License as = * + * published by the Free Software Foundation; either version 2.1 of = * + * the License, or (at your option) any later version. = * + * = * + * This software is distributed in the hope that it will be useful, = * + * but WITHOUT ANY WARRANTY; without even the implied warranty of = * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU = * + * Lesser General Public License for more details. = * + * = * + * You should have received a copy of the GNU Lesser General Public = * + * License along with this software; if not, write to the Free = * + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA = * + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. = * + *************************************************************************= *****/ +package org.jboss.portal.portlet.test.jsp.response; + +import org.jboss.portal.portlet.test.jsp.response.Chunk; + +/** + * @author Julien Viet + * @version $Revision: 630 $ + */ +public class EndPageChunk extends Chunk +{ +} Added: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/te= st/jsp/response/StartPageChunk.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/response/StartPageChunk.java (rev 0) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/response/StartPageChunk.java 2008-02-07 12:04:09 UTC (rev 9833) @@ -0,0 +1,33 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2008, Red Hat Middleware, LLC, and individual = * + * contributors as indicated by the @authors tag. See the = * + * copyright.txt in the distribution for a full listing of = * + * individual contributors. = * + * = * + * This is free software; you can redistribute it and/or modify it = * + * under the terms of the GNU Lesser General Public License as = * + * published by the Free Software Foundation; either version 2.1 of = * + * the License, or (at your option) any later version. = * + * = * + * This software is distributed in the hope that it will be useful, = * + * but WITHOUT ANY WARRANTY; without even the implied warranty of = * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU = * + * Lesser General Public License for more details. = * + * = * + * You should have received a copy of the GNU Lesser General Public = * + * License along with this software; if not, write to the Free = * + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA = * + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. = * + *************************************************************************= *****/ +package org.jboss.portal.portlet.test.jsp.response; + +import org.jboss.portal.portlet.test.jsp.response.Chunk; + +/** + * @author Julien Viet + * @version $Revision: 630 $ + */ +public class StartPageChunk extends Chunk +{ +} Deleted: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/= test/jsp/response/portlet/PortletTitleChunk.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/response/portlet/PortletTitleChunk.java 2008-02-07 11:12:39 UTC (rev 98= 32) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/response/portlet/PortletTitleChunk.java 2008-02-07 12:04:09 UTC (rev 98= 33) @@ -1,33 +0,0 @@ -/*************************************************************************= ***** - * JBoss, a division of Red Hat = * - * Copyright 2008, Red Hat Middleware, LLC, and individual = * - * contributors as indicated by the @authors tag. See the = * - * copyright.txt in the distribution for a full listing of = * - * individual contributors. = * - * = * - * This is free software; you can redistribute it and/or modify it = * - * under the terms of the GNU Lesser General Public License as = * - * published by the Free Software Foundation; either version 2.1 of = * - * the License, or (at your option) any later version. = * - * = * - * This software is distributed in the hope that it will be useful, = * - * but WITHOUT ANY WARRANTY; without even the implied warranty of = * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU = * - * Lesser General Public License for more details. = * - * = * - * You should have received a copy of the GNU Lesser General Public = * - * License along with this software; if not, write to the Free = * - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA = * - * 02110-1301 USA, or see the FSF site: http://www.fsf.org. = * - *************************************************************************= *****/ -package org.jboss.portal.portlet.test.jsp.response.portlet; - -import org.jboss.portal.portlet.test.jsp.response.Chunk; - -/** - * @author Julien Viet - * @version $Revision: 630 $ - */ -public class PortletTitleChunk extends Chunk -{ -} Copied: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/t= est/jsp/response/portlet/StartPortletChunk.java (from rev 9821, modules/por= tlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/jsp/response/po= rtlet/PortletChunk.java) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/response/portlet/StartPortletChunk.java (rev 0) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/response/portlet/StartPortletChunk.java 2008-02-07 12:04:09 UTC (rev 98= 33) @@ -0,0 +1,86 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2008, Red Hat Middleware, LLC, and individual = * + * contributors as indicated by the @authors tag. See the = * + * copyright.txt in the distribution for a full listing of = * + * individual contributors. = * + * = * + * This is free software; you can redistribute it and/or modify it = * + * under the terms of the GNU Lesser General Public License as = * + * published by the Free Software Foundation; either version 2.1 of = * + * the License, or (at your option) any later version. = * + * = * + * This software is distributed in the hope that it will be useful, = * + * but WITHOUT ANY WARRANTY; without even the implied warranty of = * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU = * + * Lesser General Public License for more details. = * + * = * + * You should have received a copy of the GNU Lesser General Public = * + * License along with this software; if not, write to the Free = * + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA = * + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. = * + *************************************************************************= *****/ +package org.jboss.portal.portlet.test.jsp.response.portlet; + +import org.jboss.portal.Mode; +import org.jboss.portal.WindowState; +import org.jboss.portal.portlet.test.jsp.response.Chunk; + +import java.util.Set; + +/** + * @author Julien Viet + * @version $Revision: 630 $ + */ +public class StartPortletChunk extends Chunk +{ + + /** . */ + private final String portletName; + + /** . */ + private final String applicationName; + + /** . */ + private final Mode initialMode; + + /** . */ + private final Set supportedModes; + + /** . */ + private final Set supportedWindowStates; + + public StartPortletChunk(String portletName, String applicationName, Mo= de initialMode, Set supportedModes, Set supportedWindowS= tates) + { + this.portletName =3D portletName; + this.applicationName =3D applicationName; + this.initialMode =3D initialMode; + this.supportedModes =3D supportedModes; + this.supportedWindowStates =3D supportedWindowStates; + } + + public String getPortletName() + { + return portletName; + } + + public String getApplicationName() + { + return applicationName; + } + + public Mode getInitialMode() + { + return initialMode; + } + + public Set getSupportedModes() + { + return supportedModes; + } + + public Set getSupportedWindowStates() + { + return supportedWindowStates; + } +} Modified: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet= /test/jsp/taglib/PageTag.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/taglib/PageTag.java 2008-02-07 11:12:39 UTC (rev 9832) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/taglib/PageTag.java 2008-02-07 12:04:09 UTC (rev 9833) @@ -22,23 +22,31 @@ *************************************************************************= *****/ package org.jboss.portal.portlet.test.jsp.taglib; = -import javax.servlet.jsp.tagext.BodyTagSupport; +import org.jboss.portal.portlet.test.jsp.response.StartPageChunk; +import org.jboss.portal.portlet.test.jsp.response.EndPageChunk; + import javax.servlet.jsp.JspException; = /** * @author Julien Viet * @version $Revision: 630 $ */ -public class PageTag extends BodyTagSupport +public class PageTag extends BodyChunkTagSupport { = public int doStartTag() throws JspException { + addChunk(new StartPageChunk()); + + // return EVAL_BODY_INCLUDE; } = public int doEndTag() throws JspException { + addChunk(new EndPageChunk()); + + // return EVAL_PAGE; } } Modified: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet= /test/jsp/taglib/PortletTag.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/taglib/PortletTag.java 2008-02-07 11:12:39 UTC (rev 9832) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= jsp/taglib/PortletTag.java 2008-02-07 12:04:09 UTC (rev 9833) @@ -22,7 +22,7 @@ *************************************************************************= *****/ package org.jboss.portal.portlet.test.jsp.taglib; = -import org.jboss.portal.portlet.test.jsp.response.portlet.PortletChunk; +import org.jboss.portal.portlet.test.jsp.response.portlet.StartPortletChun= k; import org.jboss.portal.portlet.test.jsp.response.portlet.EndPortletChunk; import org.jboss.portal.Mode; import org.jboss.portal.WindowState; @@ -161,7 +161,7 @@ } = // - addChunk(new PortletChunk( + addChunk(new StartPortletChunk( name, applicationName, initialMode, Modified: modules/portlet/trunk/test/src/test/resources/simple-portal-war/i= ndex.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/test/resources/simple-portal-war/index.j= sp 2008-02-07 11:12:39 UTC (rev 9832) +++ modules/portlet/trunk/test/src/test/resources/simple-portal-war/index.j= sp 2008-02-07 12:04:09 UTC (rev 9833) @@ -10,6 +10,8 @@ applicationName=3D"google-weather-portlet"> -----------------------------------

+">Maximized +">Normal
">Minimized ">Derwood
-----------------------------------
--===============7502078455714946853==--