From jetspeed-dev-return-24604-apmail-portals-jetspeed-dev-archive=portals.apache.org@portals.apache.org Fri Nov 25 02:28:15 2005 Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 800 invoked from network); 25 Nov 2005 02:28:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Nov 2005 02:28:12 -0000 Received: (qmail 71162 invoked by uid 500); 25 Nov 2005 02:26:54 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 70438 invoked by uid 500); 25 Nov 2005 02:26:50 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 70114 invoked by uid 99); 25 Nov 2005 02:26:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 18:26:48 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 Nov 2005 18:28:01 -0800 Received: (qmail 99495 invoked by uid 65534); 25 Nov 2005 02:26:09 -0000 Message-ID: <20051125022609.99494.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r348854 [14/16] - in /portals/jetspeed-2/trunk/applications/j2-admin: ./ src/java/org/apache/jetspeed/portlets/entityeditor/ src/java/org/apache/jetspeed/portlets/localeselector/ src/java/org/apache/jetspeed/portlets/localeselector/resource... Date: Fri, 25 Nov 2005 02:25:20 -0000 To: jetspeed-dev@portals.apache.org From: taylor@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pam-detail.jsp URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pam-detail.jsp?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pam-detail.jsp (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pam-detail.jsp Thu Nov 24 18:24:19 2005 @@ -0,0 +1,281 @@ +<%-- +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" session="true" %> +<%@ page import="javax.portlet.*" %> +<%@ page import="java.util.*" %> +<%@ page import="org.apache.portals.bridges.beans.TabBean" %> +<%@ page import="org.apache.jetspeed.om.common.preference.*" %> +<%@ page import="org.apache.jetspeed.om.common.*" %> +<%@ page import="org.apache.jetspeed.om.common.portlet.*" %> + +<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%> +<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> + + + + + + + + + + + + + + + + + + + + + + +
+ Information +
+ + + + + + + +
+ = +
+ = +
+ +
+
+ +
+ + + + <%@ include file="tabs.jsp"%> +
+ +<%--Beginning of Portlets tab data--%> +<%--TODO: switch to c:choose --%> + +
+ + + <%----%> + +
" method="post"> + + + +
+
+ +
+ + + <%@ include file="portlet-detail.jsp" %> + + +
+
+<%--End of Portlets tab data--%> + +<%--Beginning of UserAttr tab data--%> +<%--TODO: switch to c:choose --%> + +
+ + + +
" method="post"> + + + + + + + + + + + <%--"/>--%> + + + + + + +
 
+ "/> + + + + :description" value="" class="portlet-form-field-label"/> +
+ + " onClick="this.form.portlet_action.value = 'portlet_app.edit_user_attribute'" class="portlet-form-button"/> + " onClick="this.form.portlet_action.value = 'portlet_app.remove_user_attribute'" class="portlet-form-button"/> +
+ +
" method="post"> + + + + + + + + + + + +
+ + + +
+ + + +
+ " class="portlet-form-button"/> +
+
+
+<%--End of UserAttr tab data--%> + + +<%--Beginning of Metadata tab data--%> +<%--TODO: switch to c:choose --%> + +
+ + + + + + + + <%@ include file="metadata-detail.jsp" %> + +
+
+<%--End of Metadata tab data--%> + +<%--Beginning of Details tab data--%> +<%--TODO: switch to c:choose --%> + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ + + + + + + + + + +
+ + + +
+ + + +
+ + + + + + + +
+ +
+
+ +
<%--| |
--%> +
+
+
+
+
+
+<%--End of Details tab data--%> + +
+
+ + Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pemp/browser_view.vm URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pemp/browser_view.vm?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pemp/browser_view.vm (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pemp/browser_view.vm Thu Nov 24 18:24:19 2005 @@ -0,0 +1,107 @@ +#set($locale = $request.locale) + + + + + + +#set($createUrl = $renderResponse.createActionURL()) +$!createUrl.setParameter("action", "create") + +
+ +

Portlet Entity Browser

+ +

Choose a Portlet Application...

+ + + + + + + +
+ + \ No newline at end of file Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pemp/editor_view.vm URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pemp/editor_view.vm?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pemp/editor_view.vm (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/pemp/editor_view.vm Thu Nov 24 18:24:19 2005 @@ -0,0 +1,77 @@ + + +#set($url = $renderResponse.createActionURL()) + + \ No newline at end of file Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/portlet-detail.jsp URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/portlet-detail.jsp?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/portlet-detail.jsp (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/portlet-detail.jsp Thu Nov 24 18:24:19 2005 @@ -0,0 +1,654 @@ +<%-- +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. +--%> + + + + + + + + + + + +
Selected Portlet
+
+ +
+
+
+ +
+ + + + + <%@ include file="tabs.jsp"%> +
+ + + + + +
" method="post"> + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + + <% + PortletDefinitionComposite portlet = (PortletDefinitionComposite)pageContext.findAttribute("selectedPDef"); + pageContext.setAttribute("displayNameSet", portlet.getDisplayNameSet()); + %> + + + + + + + +
" value="" class="portlet-form-field-label"/>
+
+ + " class="portlet-form-button"/> +
+ +
" method="post"> + + + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ " class="portlet-form-button"/> +
+
+ + +
+ + + + + + + <%@ include file="metadata-detail.jsp" %> +
+
+ + + + <% + PreferenceSetComposite comp = (PreferenceSetComposite)pageContext.findAttribute("prefSet"); + Iterator prefIter = comp.iterator(); + pageContext.setAttribute("prefIter", prefIter); + %> + + + + +
" method="post"> + + + + + + + + + + + + + + +
 
+ "/> + + + "/> + + + + + + + +
+ :" value="" class="portlet-form-field-label"/> +
+
+ + " onClick="this.form.portlet_action.value = 'portlet.edit_preference'" class="portlet-form-button"/> + " onClick="this.form.portlet_action.value = 'portlet.remove_preference'" class="portlet-form-button"/> +
+ +
+ + +
" method="post"> + + + + + + <%--TODO add combo box of existing keys--%> + + + + + + <%-- + + + + + --%> +
+ + + +
+ + + +
+ + + +
+ " class="portlet-form-button"/> +
+
+ + + + + + + +
" method="post"> + + + + + + + + + + + + + + + + + + +
 
+ "/> + "/> + + " value="" class="portlet-form-field-label"/> + + " value="" class="portlet-form-field-label"/> + + + + + + + +
+ :" value="" class="portlet-form-field-label"/> +
+ <%-- + " value="," class="portlet-form-field-label"/> + --%> +
+ +
+ + " onClick="this.form.portlet_action.value = 'portlet.edit_language'" class="portlet-form-button"/> + " onClick="this.form.portlet_action.value = 'portlet.remove_language'" class="portlet-form-button"/> +
+ +
" method="post"> + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ + " class="portlet-form-button"/> +
+
+ + + + + + + + <%-- + TODO: if needed, place iterator into page context + see prefs section + --%> + +
" method="post"> + + + + + + + + + + + + + + + + + +
  /
+ " /> + + " /> + + + :value" value="" class="portlet-form-field-label"/> + + <% + ParameterComposite param = (ParameterComposite)pageContext.findAttribute("theparam"); + pageContext.setAttribute("description_set", param.getDescriptionSet()); + %> + + + + + + + +
+ + + :description:" + value="" class="portlet-form-field-label"/> +
+
+ + " onClick="this.form.portlet_action.value = 'portlet.edit_parameter'" class="portlet-form-button"/> + " onClick="this.form.portlet_action.value = 'portlet.remove_parameter'" class="portlet-form-button"/> + +
+ +
" method="post"> + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ " class="portlet-form-button"/> +
+ +
+ + + + + + + +
" method="post"> + + + + + + + + + + + + + + + + + +
  /
+ "/> + + "/> + :name" value="" class="portlet-form-field-label"/> + + :link" value="" class="portlet-form-field-label"/> + + <% + SecurityRoleRefComposite ref = (SecurityRoleRefComposite)pageContext.findAttribute("therole"); + pageContext.setAttribute("description_set", ref.getDescriptionSet()); + %> + + + + + + + +
+ + + :description:" + value="" class="portlet-form-field-label"/> +
+
+ + " onClick="this.form.portlet_action.value = 'portlet.edit_security'" class="portlet-form-button"/> + " onClick="this.form.portlet_action.value = 'portlet.remove_security'" class="portlet-form-button"/> + +
+
+ +
" method="post"> + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ " class="portlet-form-button"/> +
+ +
+ + + + + + + + +
" method="post"> + + + + + + + + + + + + + + +
 
+ "/> + + + + + , + +
+ + " onClick="this.form.portlet_action.value = 'portlet.edit_content_type'" class="portlet-form-button"/> + " onClick="this.form.portlet_action.value = 'portlet.remove_content_type'" class="portlet-form-button"/> +
+
+ +
" method="post"> + + + + + + + + + + + + + + + + + +
+ + + <%--TODO: this could be a select box--%> + + + +
+ + + + + +
+ + + <%--TODO: this could be a select box--%> + + + +
+ " class="portlet-form-button"/> +
+
Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-admin.jsp URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-admin.jsp?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-admin.jsp (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-admin.jsp Thu Nov 24 18:24:19 2005 @@ -0,0 +1,131 @@ +<%@ page session="true" contentType="text/html;charset=utf-8"%> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> +<%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-criterion.jsp URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-criterion.jsp?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-criterion.jsp (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-criterion.jsp Thu Nov 24 18:24:19 2005 @@ -0,0 +1,78 @@ +<%@ page session="true" contentType="text/html;charset=utf-8"%> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> +<%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%> + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-help.html URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-help.html?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-help.html (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/profiler-help.html Thu Nov 24 18:24:19 2005 @@ -0,0 +1,147 @@ +

+Profiler Help +

+

NOTE: This help file is in English Only. TODO: add a option to locate by locale to the GenericServletPortlet

+

NOTE: Please DO NOT TRANSLATE since its still under construction.

+

+The Profiler locates portal resources given a set of request parameters, properties, and attributes +The Profiler is invoked during the request processing pipeline. +It requires that the request context is already populated with the portal request and response, +and capability and user information. The request context parameters, properties and attributes +make up the profile criterion which the profiler uses to locate portal resources: +

    +
  • page +
  • navigations +
  • document lists +
+ The profiler does not actually locate the document. + It creates a Profile Locator, an abstract definition of a resource locator. +

+

Rules

+Rules define how a resource locator is created. +A rule is an ordered sequence of one or more criterion. +The profiler will apply all criteria for a given rule in fallback order. +It will start from the lowest fallback number for a criteria, and continue +trying to locate until it either locates a resource, or until the fallback type of the +criteria dictates that it either stop or continue to loop. +

Resolvers

+Resolvers are Java classes associated with a criterion. +A resolver determines what runtime parameters and state to look at when building a profile locator. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+path + +
    +
  • Looks at the Request Path of the request. +
+
+group + +
    +
  • Looks in HTTP Request Parameter (Standard) for the named parameter. +
  • Next looks at current authenticated subject, finding all group principals for the subject. +
+
+role + +
    +
  • Looks in HTTP Request Parameter (Standard) for the named parameter. +
  • Next looks at current authenticated subject, finding all role principals for the subject. +
+
+user + +
    +
  • Looks in HTTP Request Parameter (Standard) for the named parameter. +
  • Next looks at current authenticated subject, finding all user principals for the subject. +
+
+language + +
    +
  • Looks in HTTP Request Parameter (Standard) for the named parameter. +
  • Next looks at the Locale.LanguageCode for the current request. +
+
+mediatype + +
    +
  • Looks in HTTP Request Parameter (Standard) for the named parameter. +
  • Next looks at the Mediatype (Mime Type) for the current request. +
+
+country + +
    +
  • Looks in HTTP Request Parameter (Standard) for the named parameter. +
  • Next looks at the Locale.CountryCode for the current request. +
+
+hard.coded + +
    +
  • Applies the value specified in this rule as a constant. +
+
+path.session + +
    +
  • Looks in HTTP Request Parameter (Standard) for the named parameter. +
  • Looks in Portal's Servlet Session for the named attribute. +
+
+group.user.role + +
    +
  • todo +
+
+

Fallback Types

+ + + + +
+
Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/prototype.jsp URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/prototype.jsp?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/prototype.jsp (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/prototype.jsp Thu Nov 24 18:24:19 2005 @@ -0,0 +1,87 @@ +<%-- +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. +--%> +<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%> +<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> +<%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%> + + + + + + + + + + + + + + + + ... + + + + + + + + + + + + +

User Information

+
+ + +
+ +
+ + + + +

TAB TWO

+
+
+ + +
+
+
+
+ +
+ + Tab 1 visible
+ Tab 2 visible
+ Tab 3 visible
+ + + +
+ + +
+
+
Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/selectors/portlet-selector.vm URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/selectors/portlet-selector.vm?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/selectors/portlet-selector.vm (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/selectors/portlet-selector.vm Thu Nov 24 18:24:19 2005 @@ -0,0 +1,191 @@ +#* +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. +*# + +#** + +@author David Sean Taylor +@version $Id: portlet-selector.vm 348264 2005-11-22 22:06:45Z taylor $ + +*# + + + + +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale)) +
+ + + #foreach ($column in $title) + + #end + + + #foreach ( $portlet in $table ) + + #if ($velocityCount % 2 == 0) + #set($rowstyle = "jetdbEven") + #else + #set($rowstyle = "jetdbOdd") + #end + + + + + #end +
+
$!portlet.DisplayName
+
+
$!portlet.Description
+
+ +
+ + + +
+ + + + + #if ($prev) + + + #end + #if ($tableSize > 0) + + + + + + + + + #end + #if ($next) + + + #end + #if ($tableSize > 0) + + #end + +
+
+
+ + + +
+
+
+
+
+ + + +
+
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
+
+ + + +
+
+
+
+
+ + + +
+
+
+
+
+ + +
+
+
+
+ + + + + + + + + +
Filter by Keyword:  + +
+
Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site-detail.jsp URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site-detail.jsp?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site-detail.jsp (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site-detail.jsp Thu Nov 24 18:24:19 2005 @@ -0,0 +1,141 @@ +<%-- +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="http://java.sun.com/jstl/fmt" prefix="fmt" %> +<%@ taglib uri="/WEB-INF/pam.tld" prefix="pam" %> + +<%@ page import="org.apache.portals.bridges.TabBean" %> +<%@ page import="org.apache.jetspeed.page.document.*" %> + + + + + + + + + + + +
+ + + + <%@ include file="tabs.jsp"%> +
+ + + + + + + + Name (Node):
+ Path (Node):
+ Title (BaseElement):
+ Parent (Node):
+ ID (BaseElement):
+ Type (Node):
+ URL (Node):
+ ACL (SecuredResource):
+ Hidden (Node):
+ + + + + Default Page (Folder):
+ Default Theme (Folder):
+ + + + | |
+
+ + +
+ + + + Name:
+ Title:
+ Parent:
+ +
+ + +
+
+ + + + +
" method="post"> + + + + + + + + "/> + + + + + + + + + + + + + + + + +
Node Name
Current ACL + <% + Node node = (Node)pageContext.findAttribute("node"); + out.write("" + node.getAcl()); + %> +
New Role + +
+ +
+
+
Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-link.vm URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-link.vm?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-link.vm (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-link.vm Thu Nov 24 18:24:19 2005 @@ -0,0 +1,7 @@ +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale)) + +

$MESSAGES.getString('add.link')

+ +$MESSAGES.getString('folder.details') + +#ErrorMessages($ERRORS) Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-page.vm URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-page.vm?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-page.vm (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-page.vm Thu Nov 24 18:24:19 2005 @@ -0,0 +1,20 @@ + +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale)) + +

$MESSAGES.getString('add.page')

+ +
+ + + #formField('Name' "$!pageBean.Key" "40" 'key' $MESSAGES $ERRORS) + #formField('Title' "$!pageBean.Title" "40" 'title' $MESSAGES $ERRORS) + #formField('ShortTitle' "$!pageBean.ShortTitle" "40" 'shortTitle' $MESSAGES $ERRORS) + #formField('Version' "$!pageBean.Version" "40" 'version' $MESSAGES $ERRORS) + + +
+
+ +
+ +#ErrorMessages($ERRORS) Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-subfolder.vm URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-subfolder.vm?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-subfolder.vm (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/add-subfolder.vm Thu Nov 24 18:24:19 2005 @@ -0,0 +1,17 @@ +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale)) + +

$MESSAGES.getString('add.subfolder')

+ +
+ + + #formField('Name' "$!folderBean.Key" "40" 'key' $MESSAGES $ERRORS) + #formField('Title' "$!folderBean.Title" "40" 'title' $MESSAGES $ERRORS) + #formField('ShortTitle' "$!folderBean.ShortTitle" "40" 'shortTitle' $MESSAGES $ERRORS) + #formField('DefaultPage' "$!folderBean.DefaultPage" "40" 'defaultPage' $MESSAGES $ERRORS) +
+
+ +$MESSAGES.getString('folder.details') +
+#ErrorMessages($ERRORS) Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/doc-order.vm URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/doc-order.vm?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/doc-order.vm (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/doc-order.vm Thu Nov 24 18:24:19 2005 @@ -0,0 +1,7 @@ +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale)) + +

$MESSAGES.getString('doc.order')

+ +$MESSAGES.getString('folder.details') + +#ErrorMessages($ERRORS) Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/folder-details.vm URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/folder-details.vm?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/folder-details.vm (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/folder-details.vm Thu Nov 24 18:24:19 2005 @@ -0,0 +1,34 @@ + + +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale)) + +#if ($!folderBean.isNew()) + +#else +

$MESSAGES.getString('folder.details')

+ +
+ + + #readField('Name' "$!folderBean.Path" "40" 'path' $MESSAGES $ERRORS) + #formField('Title' "$!folderBean.Title" "40" 'title' $MESSAGES $ERRORS) + #formField('ShortTitle' "$!folderBean.ShortTitle" "40" 'shortTitle' $MESSAGES $ERRORS) + #formField('DefaultPage' "$!folderBean.DefaultPage" "40" 'defaultPage' $MESSAGES $ERRORS) +
+
+ + +#set ($sub = $forward.getView('add-subfolder')) +$sub.setParameter('parent', $!folderBean.Key) +#set ($page = $forward.getView('add-page')) +$page.setParameter('parent', $!folderBean.Key) +[$MESSAGES.getString('add.subfolder')] +[$MESSAGES.getString('add.page')] +[$MESSAGES.getString('add.link')] +[$MESSAGES.getString('doc.order')] +[$MESSAGES.getString('menus')] +[$MESSAGES.getString('security')] +
+ +#ErrorMessages($ERRORS) +#end \ No newline at end of file Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/menus.vm URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/menus.vm?rev=348854&view=auto ============================================================================== --- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/menus.vm (added) +++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/menus.vm Thu Nov 24 18:24:19 2005 @@ -0,0 +1,7 @@ +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale)) + +

$MESSAGES.getString('menus')

+ +$MESSAGES.getString('folder.details') + +#ErrorMessages($ERRORS) --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org