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 --%>
+
+
\ 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.
+--%>
+
+
+
+
+
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))
+
+
+
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.*" %>
+
+
+
+
+
+
+
+
+
+
+
+