portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/webapp/pages/pam pam-detail.jsp pam-browser.jsp
Date Sat, 03 Apr 2004 01:11:27 GMT
taylor      2004/04/02 17:11:27

  Modified:    portal/src/webapp/pages/pam pam-browser.jsp
  Added:       portal/src/webapp/pages/pam pam-detail.jsp
  Log:
  new JSPs for PAM PA
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.2       +57 -48    jakarta-jetspeed-2/portal/src/webapp/pages/pam/pam-browser.jsp
  
  Index: pam-browser.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/pages/pam/pam-browser.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pam-browser.jsp	2 Apr 2004 18:41:50 -0000	1.1
  +++ pam-browser.jsp	3 Apr 2004 01:11:27 -0000	1.2
  @@ -1,48 +1,57 @@
  -<%--
  -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="javax.portlet.*, java.util.List" session="true" %>
  -<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
  -<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
  -
  -<portlet:defineObjects/>
  -<p>This page was invoked from a LOCAL portlet app</P>
  -<a href='/snipet.html'>somelink</a>
  -
  -<p>renderURL</p>
  -
  -<p>
  -<portlet:renderURL windowState="normal" portletMode="view"  var="myView">
  -	 <portlet:param name="invokeMsg" value="No action just render" />
  -</portlet:renderURL>
  -<a href="<c:out value="${myView}" />">View!</a>
  -
  -</p>
  -
  -<p>"<c:out value="${myView}" />"</p>
  -
  -<p>
  -<a href="<portlet:actionURL windowState="normal" portletMode="view" />">My
Action!!!</a>
  -<a href="<portlet:actionURL windowState="normal" portletMode="view" />">Invoke
My Action!!!</a>
  -
  -</p>
  -
  -
  -<br>
  -
  -
  -
  -
  -
  +<%--
  +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="javax.portlet.*, java.util.List, java.util.Iterator,
org.apache.jetspeed.om.common.portlet.MutablePortletApplication" session="true" %>
  +<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
  +<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
  +
  +<portlet:defineObjects/>
  +<p>This page was invoked from a LOCAL portlet app</P>
  +<a href='/snipet.html'>somelink</a>
  +
  +<p>renderURL</p>
  +
  +<p>
  +<portlet:renderURL windowState="normal" portletMode="view"  var="myView">
  +	 <portlet:param name="invokeMsg" value="No action just render" />
  +</portlet:renderURL>
  +<a href="<c:out value="${myView}" />">View!</a>
  +
  +</p>
  +
  +<p>"<c:out value="${myView}" />"</p>
  +
  +<p>
  +<a href="<portlet:actionURL windowState="normal" portletMode="view" />">My
Action!!!</a>
  +<a href="<portlet:actionURL windowState="normal" portletMode="view" />">Invoke
My Action!!!</a>
  +
  +</p>
  +
  +
  +<br>
  +
  +<table>
  +<%
  + List apps = (List) renderRequest.getAttribute("apps");
  + for (Iterator i = apps.iterator(); i.hasNext();)
  + {
  +   MutablePortletApplication pa = (MutablePortletApplication) i.next();
  +   out.println("<tr><td>" + pa.getName() + "</td>");
  +   out.println("<td>" + pa.getDescription() + "</td></tr>"); 
  + }
  +%>
  +</table>
  +
  +
  
  
  
  1.1                  jakarta-jetspeed-2/portal/src/webapp/pages/pam/pam-detail.jsp
  
  Index: pam-detail.jsp
  ===================================================================
  <%--
  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="javax.portlet.*, java.util.List" session="true" %>
  <%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
  <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
  
  <portlet:defineObjects/>
  
  
  <br>
  <p>TODO: write me</p>
  
  
  
  
  
  
  
  
  

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


Mime
View raw message