Author: smilek
Date: Mon Feb 26 22:35:55 2007
New Revision: 512154

URL: http://svn.apache.org/viewvc?view=rev&rev=512154
Log:
added desktop_print layout templates (both vm and jsp versions) to tigris and 
blueocean layout decorations

Added:
    
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.jsp
    
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.vm
    
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.jsp
    
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.vm
Modified:
    
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/decoratordesktop.properties
    
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/decoratordesktop.properties

Modified: 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/decoratordesktop.properties
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/decoratordesktop.properties?view=diff&rev=512154&r1=512153&r2=512154
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/decoratordesktop.properties
 (original)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/decoratordesktop.properties
 Mon Feb 26 22:35:55 2007
@@ -14,3 +14,5 @@
 
 desktop.template.extension=.jsp
 resource.file=Messages
+
+template.print.id=desktop_print

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.jsp
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.jsp?view=auto&rev=512154
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.jsp
 (added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.jsp
 Mon Feb 26 22:35:55 2007
@@ -0,0 +1,63 @@
+<%--
+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
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<%@ page language="java" 
import="org.apache.jetspeed.desktop.JetspeedDesktopContext" session="true" %>
+<%@ page import="java.util.Enumeration"%>
+<%@ page import="org.apache.jetspeed.request.RequestContext"%>
+<%@ page import="org.apache.jetspeed.Jetspeed" %>
+<%@ page import="org.apache.jetspeed.PortalReservedParameters" %>
+<%@ page import="org.apache.jetspeed.om.page.Fragment" %>
+<%@ page import="org.apache.jetspeed.decoration.Theme" %>
+<%@ page import="org.apache.jetspeed.decoration.Decoration" %>
+<% 
+    JetspeedDesktopContext desktop = 
(JetspeedDesktopContext)request.getAttribute(JetspeedDesktopContext.DESKTOP_ATTRIBUTE);
+    RequestContext requestContext = 
(RequestContext)request.getAttribute(RequestContext.REQUEST_PORTALENV);
+
+    String layoutStyleClass = "layout-" + desktop.getLayoutDecorationName();
+%>
+<html> <!-- .jsp --> <!-- NOTE: do not use strict doctype - see dojo svn log 
for FloatingPane.js -->
+<head>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+<meta http-equiv="Content-style-type" content="text/css" />
+
+<%= desktop.getHeaderResource().getNamedContentForPrefix( "header.dojo" )%>
+
+<%= desktop.getHeaderResource().getContent()%>
+
+<script language="JavaScript" type="text/javascript">
+    function notifyRetrieveAllMenusFinished()
+    {
+        dojo.debug( "window.notifyRetrieveAllMenusFinished" );
+    }
+    dojo.event.connect( jetspeed, "notifyRetrieveAllMenusFinished", 
"notifyRetrieveAllMenusFinished" );
+</script>
+</head>
+
+<body class="<%= layoutStyleClass %>">
+<!-- Start Jetspeed Page -->
+<div class="<%= layoutStyleClass %>" id="jetspeedPage">
+<table cellpadding="0" cellspacing="0" border="0" width="100%" id="main">
+<tr>
+<td id="jetspeedDesktopCell">
+<!-- Start Jetspeed Desktop -->
+<div class="<%= layoutStyleClass %>" id="jetspeedDesktop"></div>
+<!-- End Jetspeed Desktop -->
+</td>
+</tr>
+</table>
+</div>
+<!-- End Jetspeed Page -->
+</body>
+</html>

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.vm
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.vm?view=auto&rev=512154
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.vm
 (added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/blueocean/desktop_print.vm
 Mon Feb 26 22:35:55 2007
@@ -0,0 +1,49 @@
+#*
+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
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*#
+<html> <!-- .vm --> <!-- NOTE: do not use strict doctype - see dojo svn log 
for FloatingPane.js -->
+<head>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+<meta http-equiv="Content-style-type" content="text/css" />
+
+#desktopIncludeDojoHeaderContent()
+
+#desktopIncludeHeaderContent()
+
+<script language="JavaScript" type="text/javascript">
+    function notifyRetrieveAllMenusFinished()
+    {
+        dojo.debug( "window.notifyRetrieveAllMenusFinished" );
+    }
+    dojo.event.connect( jetspeed, "notifyRetrieveAllMenusFinished", 
"notifyRetrieveAllMenusFinished" );
+</script>
+</head>
+
+<body class="layout-${jetspeedDesktop.getLayoutDecorationName()}">
+<!-- Start Jetspeed Page -->
+<div class="layout-${jetspeedDesktop.getLayoutDecorationName()}" 
id="jetspeedPage">
+<table cellpadding="0" cellspacing="0" border="0" width="100%" id="main">
+<tr>
+<td id="jetspeedDesktopCell">
+<!-- Start Jetspeed Desktop -->
+<div class="layout-${jetspeedDesktop.getLayoutDecorationName()}" 
id="jetspeedDesktop"></div>
+<!-- End Jetspeed Desktop -->
+</td>
+</tr>
+</table>
+</div>
+<!-- End Jetspeed Page -->
+</body>
+</html>

Modified: 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/decoratordesktop.properties
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/decoratordesktop.properties?view=diff&rev=512154&r1=512153&r2=512154
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/decoratordesktop.properties
 (original)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/decoratordesktop.properties
 Mon Feb 26 22:35:55 2007
@@ -14,3 +14,5 @@
 
 desktop.template.extension=.jsp
 resource.file=Messages
+
+template.print.id=desktop_print

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.jsp
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.jsp?view=auto&rev=512154
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.jsp 
(added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.jsp 
Mon Feb 26 22:35:55 2007
@@ -0,0 +1,63 @@
+<%--
+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
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<%@ page language="java" 
import="org.apache.jetspeed.desktop.JetspeedDesktopContext" session="true" %>
+<%@ page import="java.util.Enumeration"%>
+<%@ page import="org.apache.jetspeed.request.RequestContext"%>
+<%@ page import="org.apache.jetspeed.Jetspeed" %>
+<%@ page import="org.apache.jetspeed.PortalReservedParameters" %>
+<%@ page import="org.apache.jetspeed.om.page.Fragment" %>
+<%@ page import="org.apache.jetspeed.decoration.Theme" %>
+<%@ page import="org.apache.jetspeed.decoration.Decoration" %>
+<% 
+    JetspeedDesktopContext desktop = 
(JetspeedDesktopContext)request.getAttribute(JetspeedDesktopContext.DESKTOP_ATTRIBUTE);
+    RequestContext requestContext = 
(RequestContext)request.getAttribute(RequestContext.REQUEST_PORTALENV);
+
+    String layoutStyleClass = "layout-" + desktop.getLayoutDecorationName();
+%>
+<html> <!-- .jsp --> <!-- NOTE: do not use strict doctype - see dojo svn log 
for FloatingPane.js -->
+<head>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+<meta http-equiv="Content-style-type" content="text/css" />
+
+<%= desktop.getHeaderResource().getNamedContentForPrefix( "header.dojo" )%>
+
+<%= desktop.getHeaderResource().getContent()%>
+
+<script language="JavaScript" type="text/javascript">
+    function notifyRetrieveAllMenusFinished()
+    {
+        dojo.debug( "window.notifyRetrieveAllMenusFinished" );
+    }
+    dojo.event.connect( jetspeed, "notifyRetrieveAllMenusFinished", 
"notifyRetrieveAllMenusFinished" );
+</script>
+</head>
+
+<body class="<%= layoutStyleClass %>">
+<!-- Start Jetspeed Page -->
+<div class="<%= layoutStyleClass %>" id="jetspeedPage">
+<table cellpadding="0" cellspacing="0" border="0" width="100%" id="main">
+<tr>
+<td id="jetspeedDesktopCell">
+<!-- Start Jetspeed Desktop -->
+<div class="<%= layoutStyleClass %>" id="jetspeedDesktop"></div>
+<!-- End Jetspeed Desktop -->
+</td>
+</tr>
+</table>
+</div>
+<!-- End Jetspeed Page -->
+</body>
+</html>

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.vm
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.vm?view=auto&rev=512154
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.vm 
(added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/layout/tigris/desktop_print.vm 
Mon Feb 26 22:35:55 2007
@@ -0,0 +1,49 @@
+#*
+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
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*#
+<html> <!-- .vm --> <!-- NOTE: do not use strict doctype - see dojo svn log 
for FloatingPane.js -->
+<head>
+<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+<meta http-equiv="Content-style-type" content="text/css" />
+
+#desktopIncludeDojoHeaderContent()
+
+#desktopIncludeHeaderContent()
+
+<script language="JavaScript" type="text/javascript">
+    function notifyRetrieveAllMenusFinished()
+    {
+        dojo.debug( "window.notifyRetrieveAllMenusFinished" );
+    }
+    dojo.event.connect( jetspeed, "notifyRetrieveAllMenusFinished", 
"notifyRetrieveAllMenusFinished" );
+</script>
+</head>
+
+<body class="layout-${jetspeedDesktop.getLayoutDecorationName()}">
+<!-- Start Jetspeed Page -->
+<div class="layout-${jetspeedDesktop.getLayoutDecorationName()}" 
id="jetspeedPage">
+<table cellpadding="0" cellspacing="0" border="0" width="100%" id="main">
+<tr>
+<td id="jetspeedDesktopCell">
+<!-- Start Jetspeed Desktop -->
+<div class="layout-${jetspeedDesktop.getLayoutDecorationName()}" 
id="jetspeedDesktop"></div>
+<!-- End Jetspeed Desktop -->
+</td>
+</tr>
+</table>
+</div>
+<!-- End Jetspeed Page -->
+</body>
+</html>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to