From portal-commits at lists.jboss.org Wed Feb 6 11:52:29 2008 Content-Type: multipart/mixed; boundary="===============2186008037250731807==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r9804 - in modules/portlet/trunk/test/src: main/java/org/jboss/portal/portlet/test/taglib and 2 other directories. Date: Wed, 06 Feb 2008 11:52:29 -0500 Message-ID: --===============2186008037250731807== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: julien(a)jboss.com Date: 2008-02-06 11:52:29 -0500 (Wed, 06 Feb 2008) New Revision: 9804 Added: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/t= aglib/ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/t= aglib/PageTag.java modules/portlet/trunk/test/src/test/resources/simple-portal-war/WEB-INF/= portal.tld modules/portlet/trunk/test/src/test/resources/simple-portal-war/index.jsp Log: taglib blah Added: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/te= st/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/= taglib/PageTag.java (rev 0) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= taglib/PageTag.java 2008-02-06 16:52:29 UTC (rev 9804) @@ -0,0 +1,50 @@ +/*************************************************************************= ***** + * 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.taglib; + +import javax.servlet.jsp.tagext.TagSupport; +import javax.servlet.jsp.tagext.BodyTagSupport; +import javax.servlet.jsp.JspException; + +/** + * @author Julien Viet + * @version $Revision: 630 $ + */ +public class PageTag extends BodyTagSupport +{ + + public int doStartTag() throws JspException + { + System.out.println("START"); + + + return EVAL_BODY_INCLUDE; + } + + public int doEndTag() throws JspException + { + System.out.println("END"); + + return EVAL_PAGE; + } +} Added: modules/portlet/trunk/test/src/test/resources/simple-portal-war/WEB-= INF/portal.tld =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/WEB-INF= /portal.tld (rev 0) +++ modules/portlet/trunk/test/src/test/resources/simple-portal-war/WEB-INF= /portal.tld 2008-02-06 16:52:29 UTC (rev 9804) @@ -0,0 +1,17 @@ + + + + + 1.0 + portal + + + page + org.jboss.portal.portlet.test.taglib.PageTag + JSP + + + Added: modules/portlet/trunk/test/src/test/resources/simple-portal-war/inde= x.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 (rev 0) +++ modules/portlet/trunk/test/src/test/resources/simple-portal-war/index.j= sp 2008-02-06 16:52:29 UTC (rev 9804) @@ -0,0 +1,11 @@ +<%@ page language=3D"java" %> +<%@ taglib uri=3D"/WEB-INF/portal.tld" prefix=3D"portal" %> +<%@ taglib uri=3D"http://java.sun.com/portlet" prefix=3D"portlet" %> +<%@ page isELIgnored=3D"false" %> + + + + HELLO!!! + + + --===============2186008037250731807==--