Author: thomas.heute(a)jboss.com
Date: 2007-04-30 04:51:25 -0400 (Mon, 30 Apr 2007)
New Revision: 7137
Added:
trunk/core/src/bin/portal-core-war/layouts/3columns/
trunk/core/src/bin/portal-core-war/layouts/3columns/index.jsp
trunk/core/src/bin/portal-core-war/layouts/3columns/maximized.jsp
Modified:
trunk/core/src/resources/portal-core-war/WEB-INF/portal-layouts.xml
Log:
Adding a 3 columns layout.
Added: trunk/core/src/bin/portal-core-war/layouts/3columns/index.jsp
===================================================================
--- trunk/core/src/bin/portal-core-war/layouts/3columns/index.jsp
(rev 0)
+++ trunk/core/src/bin/portal-core-war/layouts/3columns/index.jsp 2007-04-30 08:51:25 UTC
(rev 7137)
@@ -0,0 +1,66 @@
+<%@ page import="org.jboss.portal.server.PortalConstants" %>
+<%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p"
%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title><%= PortalConstants.VERSION.toString() %></title>
+ <meta http-equiv="Content-Type" content="text/html;"/>
+ <!-- to correct the unsightly Flash of Unstyled Content. -->
+ <script type="text/javascript"></script>
+ <!-- inject the theme, default to the Renaissance theme if nothing is selected for
the portal or the page -->
+ <p:theme themeName="renaissance"/>
+ <!-- insert header content that was possibly set by portlets on the page -->
+ <p:headerContent/>
+</head>
+
+<body id="body">
+<p:region regionName='AJAXScripts' regionID='AJAXScripts'/>
+<div id="portal-container">
+ <div id="sizer">
+ <div id="expander">
+ <div id="logoName"></div>
+ <table border="0" cellpadding="0"
cellspacing="0" id="header-container">
+ <tr>
+ <td align="center" valign="top"
id="header">
+
+ <!-- Utility controls -->
+ <p:region regionName='dashboardnav'
regionID='dashboardnav'/>
+
+ <!-- navigation tabs and such -->
+ <p:region regionName='navigation'
regionID='navigation'/>
+ <div id="spacer"></div>
+ </td>
+ </tr>
+ </table>
+ <div id="content-container">
+ <table>
+ <tr>
+ <td valign="top">
+ <!-- insert the content of the 'left' region of the page,
and assign the css selector id 'regionA' -->
+ <p:region regionName='left' regionID='left'/>
+ </td>
+ <td valign="top">
+ <!-- insert the content of the 'center' region of the page,
and assign the css selector id 'regionB' -->
+ <p:region regionName='center'
regionID='center'/>
+ </td>
+ <td valign="top">
+ <!-- insert the content of the 'center' region of the page,
and assign the css selector id 'regionC' -->
+ <p:region regionName='right' regionID='right'/>
+ </td>
+ <hr class="cleaner"/>
+ </div>
+ </div>
+ </div>
+</div>
+
+<!-- TODO: Fix the auto jump in this tag -->
+<!-- <div id="footer-container"
class="portal-copyright">Powered by
+<a class="portal-copyright"
href="http://www.jboss.com/products/jbossportal">JBoss
Portal</a><br/>
+</div>
+-->
+
+<p:region regionName='AJAXFooter' regionID='AJAXFooter'/>
+
+</body>
+</html>
Property changes on: trunk/core/src/bin/portal-core-war/layouts/3columns/index.jsp
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/core/src/bin/portal-core-war/layouts/3columns/maximized.jsp
===================================================================
--- trunk/core/src/bin/portal-core-war/layouts/3columns/maximized.jsp
(rev 0)
+++ trunk/core/src/bin/portal-core-war/layouts/3columns/maximized.jsp 2007-04-30 08:51:25
UTC (rev 7137)
@@ -0,0 +1,50 @@
+<%@ page import="org.jboss.portal.server.PortalConstants" %>
+<%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p"
%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title><%= PortalConstants.VERSION.toString() %></title>
+ <meta http-equiv="Content-Type" content="text/html;"/>
+ <!-- to correct the unsightly Flash of Unstyled Content. -->
+ <script type="text/javascript"></script>
+ <!-- use the renaissance theme if nothing else was defined for the portal or the
page -->
+ <p:theme themeName="renaissance"/>
+ <!-- inject header content that was generated by the portlets on the requested
page -->
+ <p:headerContent/>
+</head>
+
+<body id="body">
+<p:region regionName='AJAXScripts' regionID='AJAXScripts'/>
+<div id="portal-container">
+ <div id="sizer">
+ <div id="expander">
+ <div id="logoName"></div>
+ <table border="0" cellpadding="0"
cellspacing="0" id="header-container">
+ <tr>
+ <td align="center" valign="top"
id="header">
+ <p:region regionName='dashboardnav'
regionID='dashboardnav'/>
+
+ <p:region regionName='navigation'
regionID='navigation'/>
+ <div id="spacer"></div>
+ </td>
+ </tr>
+ </table>
+ <div id="content-container">
+ <!-- Note: this construct assumes that the 'maximizedRegion'
layout strategy was chosen for the layout, page or portal -->
+ <!-- the 'maximizedRegion' strategy assigns the maximized
portlet to the 'maximized' region -->
+ <p:region regionName='maximized'
regionID='regionMaximized'/>
+ <hr class="cleaner"/>
+
+ <div id="footer-container"
class="portal-copyright">Powered by
+ <a class="portal-copyright"
href="http://www.jboss.com/products/jbossportal">JBoss
Portal</a><br>
+ <span id="ThemeBy"></span>
+ </div>
+ </div>
+
+ </div>
+ </div>
+</div>
+<p:region regionName='AJAXFooter' regionID='AJAXFooter'/>
+</body>
+</html>
Property changes on: trunk/core/src/bin/portal-core-war/layouts/3columns/maximized.jsp
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/core/src/resources/portal-core-war/WEB-INF/portal-layouts.xml
===================================================================
--- trunk/core/src/resources/portal-core-war/WEB-INF/portal-layouts.xml 2007-04-29
22:12:17 UTC (rev 7136)
+++ trunk/core/src/resources/portal-core-war/WEB-INF/portal-layouts.xml 2007-04-30
08:51:25 UTC (rev 7137)
@@ -51,4 +51,15 @@
<region name="navigation"/>
</regions>
</layout>
+ <layout>
+ <name>3columns</name>
+ <uri>/layouts/3columns/index.jsp</uri>
+ <uri state="maximized">/layouts/3columns/maximized.jsp</uri>
+ <regions>
+ <region name="left"/>
+ <region name="center"/>
+ <region name="right"/>
+ <region name="navigation"/>
+ </regions>
+ </layout>
</layouts>