You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by nl...@apache.org on 2004/07/08 11:15:43 UTC

cvs commit: jakarta-pluto/portal/src/webapp/WEB-INF/aggregation Head.jsp RootFragment.jsp

nlothian    2004/07/08 02:15:43

  Modified:    portal/src/webapp/WEB-INF/aggregation Head.jsp
                        RootFragment.jsp
  Log:
  Change HTML comments to JSP comments
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-pluto/portal/src/webapp/WEB-INF/aggregation/Head.jsp
  
  Index: Head.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-pluto/portal/src/webapp/WEB-INF/aggregation/Head.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Head.jsp	2 Mar 2004 15:01:23 -0000	1.2
  +++ Head.jsp	8 Jul 2004 09:15:43 -0000	1.3
  @@ -1,8 +1,8 @@
  -<!-- 
  +<%--
   Copyright 2004 The Apache Software Foundation
   Licensed  under the  Apache License,  Version 2.0  (the "License");
   you may not use  this file  except in  compliance with the License.
  -You may obtain a copy of the License at 
  +You may obtain a copy of the License at
   
   http://www.apache.org/licenses/LICENSE-2.0
   
  @@ -13,7 +13,7 @@
   
   See the License for the specific language governing permissions and
   limitations under the License.
  --->
  +--%>
   <HEAD>
       <TITLE>Pluto Home</TITLE>
   </HEAD>
  
  
  
  1.4       +4 -27     jakarta-pluto/portal/src/webapp/WEB-INF/aggregation/RootFragment.jsp
  
  Index: RootFragment.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-pluto/portal/src/webapp/WEB-INF/aggregation/RootFragment.jsp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RootFragment.jsp	2 Mar 2004 15:01:23 -0000	1.3
  +++ RootFragment.jsp	8 Jul 2004 09:15:43 -0000	1.4
  @@ -1,8 +1,8 @@
  -<!-- 
  +<%--
   Copyright 2004 The Apache Software Foundation
   Licensed  under the  Apache License,  Version 2.0  (the "License");
   you may not use  this file  except in  compliance with the License.
  -You may obtain a copy of the License at 
  +You may obtain a copy of the License at
   
   http://www.apache.org/licenses/LICENSE-2.0
   
  @@ -13,7 +13,7 @@
   
   See the License for the specific language governing permissions and
   limitations under the License.
  --->
  +--%>
   <%@ page session="true" buffer="none" %>
   <%@ page import="java.util.Iterator" %>
   <%@ page import="org.apache.pluto.portalImpl.util.Parameters" %>
  @@ -24,33 +24,13 @@
   <jsp:useBean id="fragment" type="org.apache.pluto.portalImpl.aggregation.Fragment" scope="request" />
   <html>
   <%@ include file="./Head.jsp" %>
  -<body marginwidth="0" marginheight="0">
  -<%@ include file="./Banner.jsp" %>
  -<table border="0" cellpadding="0" cellspacing="2" width="100%">
  -  <tr>
  -    <td width="30%" valign="top">
  +<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
   <%
           Iterator childIterator = fragment.getChildFragments().iterator();
   
           while (childIterator.hasNext()) {
               Fragment subfragment = (Fragment)childIterator.next();
   
  -            if (subfragment instanceof AbstractNavigationFragment)
  -            {
  -                subfragment.service(request, response);
  -                break;
  -            }
  -
  -        }
  -%>
  -    </td>
  -    <td valign="top">
  -<%
  -        childIterator = fragment.getChildFragments().iterator();
  -
  -        while (childIterator.hasNext()) {
  -            Fragment subfragment = (Fragment)childIterator.next();
  -
               if (!(subfragment instanceof AbstractNavigationFragment))
               {
                   subfragment.service(request, response);
  @@ -58,8 +38,5 @@
   
           }
   %>
  -    </td>
  -  </tr>
  -</table>
   </body>
   </html>