portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r216205 - in /portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view: ./ site/
Date Wed, 13 Jul 2005 18:26:00 GMT
Author: taylor
Date: Wed Jul 13 11:25:58 2005
New Revision: 216205

URL: http://svn.apache.org/viewcvs?rev=216205&view=rev
Log:
continued work on Site Admin portlet: 
http://issues.apache.org/jira/browse/JS2-306

Added:
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-link.vm
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-subfolder.vm
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/doc-order.vm
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/menus.vm
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/security.vm
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/site-browser.jsp
Removed:
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site-browser.jsp
Modified:
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/folder-details.vm

Added: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-link.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-link.vm?rev=216205&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-link.vm (added)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-link.vm Wed
Jul 13 11:25:58 2005
@@ -0,0 +1,7 @@
+#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
+
+<h2 class="portlet-section-header">$MESSAGES.getString('add.link')</h2>
+
+<a href="$forward.getView('folder-view')">$MESSAGES.getString('folder.details')</a>
+
+#ErrorMessages($ERRORS)

Added: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm?rev=216205&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm (added)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm Wed
Jul 13 11:25:58 2005
@@ -0,0 +1,8 @@
+#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
+#set ($view = $forward.getView('folder-view'))
+
+<h2 class="portlet-section-header">$MESSAGES.getString('add.page')</h2>
+
+<a href="$view">$MESSAGES.getString('folder.details')</a>
+
+#ErrorMessages($ERRORS)

Added: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-subfolder.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-subfolder.vm?rev=216205&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-subfolder.vm
(added)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-subfolder.vm
Wed Jul 13 11:25:58 2005
@@ -0,0 +1,7 @@
+#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
+
+<h2 class="portlet-section-header">$MESSAGES.getString('add.subfolder')</h2>
+
+<a href="$forward.getView('folder-view')">$MESSAGES.getString('folder.details')</a>
+
+#ErrorMessages($ERRORS)

Added: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/doc-order.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/doc-order.vm?rev=216205&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/doc-order.vm (added)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/doc-order.vm Wed
Jul 13 11:25:58 2005
@@ -0,0 +1,7 @@
+#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
+
+<h2 class="portlet-section-header">$MESSAGES.getString('doc.order')</h2>
+
+<a href="$forward.getView('folder-view')">$MESSAGES.getString('folder.details')</a>
+
+#ErrorMessages($ERRORS)

Modified: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/folder-details.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/folder-details.vm?rev=216205&r1=216204&r2=216205&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/folder-details.vm
(original)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/folder-details.vm
Wed Jul 13 11:25:58 2005
@@ -1,7 +1,9 @@
+<script language="javascript" src="${request.contextPath}/javascript/pam.js"></script>
+
 #set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
 
 #if ($!folderBean.isNew())
-
+<h2>new Bean</h2>
 #else
 <h2 class="portlet-section-header">$MESSAGES.getString('folder.details')</h2>
 
@@ -9,12 +11,18 @@
 <input type='hidden' name='portlet.action' value='processSaveFolderAction'/>
 <table>
     #formField('Title' "$!folderBean.Title" "40" 'title' $MESSAGES $ERRORS)
+    #formField('ShortTitle' "$!folderBean.ShortTitle" "40" 'shortTitle' $MESSAGES $ERRORS)
+    #formField('DefaultPage' "$!folderBean.DefaultPage" "40" 'defaultPage' $MESSAGES $ERRORS)
 </table>
 <br/>
 <input type="submit" name="Save" value="$MESSAGES.getString('save')" />
-<a href="<bf:forward view='add-page'/>">$MESSAGES.getString('add.page')</a>
-<a href="<bf:forward view='add-subfolder'/>">$MESSAGES.getString('add.subfolder')</a>
-<a href="<bf:forward view='add-docset'/>">$MESSAGES.getString('add.docset')</a>
+<!-- <a href="#" onClick='return checkSubmit("Remove","${pa.name}")'>$MESSAGES.getString('remove')</a>
-->
+<a href="$forward.getView('add-subfolder')">[$MESSAGES.getString('add.subfolder')]</a>
+<a href="$forward.getView('add-page')">[$MESSAGES.getString('add.page')]</a>
+<a href="$forward.getView('add-link')">[$MESSAGES.getString('add.link')]</a>
+<a href="$forward.getView('doc-order')">[$MESSAGES.getString('doc.order')]</a>
+<a href="$forward.getView('menus')">[$MESSAGES.getString('menus')]</a>
+<a href="$forward.getView('security')">[$MESSAGES.getString('security')]</a>
 </form>
 
 #ErrorMessages($ERRORS)

Added: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/menus.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/menus.vm?rev=216205&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/menus.vm (added)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/menus.vm Wed Jul
13 11:25:58 2005
@@ -0,0 +1,7 @@
+#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
+
+<h2 class="portlet-section-header">$MESSAGES.getString('menus')</h2>
+
+<a href="$forward.getView('folder-view')">$MESSAGES.getString('folder.details')</a>
+
+#ErrorMessages($ERRORS)

Added: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/security.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/security.vm?rev=216205&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/security.vm (added)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/security.vm Wed
Jul 13 11:25:58 2005
@@ -0,0 +1,7 @@
+#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
+
+<h2 class="portlet-section-header">$MESSAGES.getString('security')</h2>
+
+<a href="$forward.getView('folder-view')">$MESSAGES.getString('folder.details')</a>
+
+#ErrorMessages($ERRORS)

Added: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/site-browser.jsp
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/site-browser.jsp?rev=216205&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/site-browser.jsp
(added)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/site-browser.jsp
Wed Jul 13 11:25:58 2005
@@ -0,0 +1,48 @@
+<%--
+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 session="true" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
+<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
+<%@ taglib uri="/WEB-INF/pam.tld" prefix="pam" %>
+
+<!--
+/*
+ * 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.
+ */
+//-->
+
+
+<portlet:defineObjects/>
+<h3 class="portlet-section-header">Site Tree View</h3>
+<portlet:actionURL var="nodeLink" >
+	<portlet:param name="node" value="${name}" />
+</portlet:actionURL>
+
+<pam:tree tree="site-tree" images="/pam/images/tree" scope="portlet_request"
+          action="<%= nodeLink %>"
+          style="tree-control"
+          styleSelected="portlet-section-alternate"          
+  />
+  



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message