<%-- 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="java.util.Enumeration" session="false" %> <%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %>

Jetspeed Tag Library

jetspeed:info

requestedInfo Returned Value
Email
FirstName
LastName
UserName
ServerDate

jetspeed:uriLookup

Type Returned Value
Customize
EditAccount
Login
Logout
Home

jetspeed:contentUri

href Returned Value
apidocs/
docs/
rss/

jetspeed:link

template action Returned Value
Login JLogoutUser
ChangePassword

jetspeed:portlet

name psml Returned Value
HelloVelocity user/turbine/media-type/html/page/default.psml
JetspeedFramed

(you will need JetspeedFramed in your profile in order for this to work)

 

jetspeed:portletlink

name psml action Returned Value
HelloVelocity user/turbine/media-type/html/page/default.psml controls.Print ">
DatabaseBrowserTest ">

jetspeed:l10n

key alt Returned Value
LOGIN_USERNAME  
NOT_LOCALIZED  
NOT_LOCALIZED Alternative translation

jetspeed:parameterStyle

name style value options Returned Value
portlet-list RegistryEntryListBox    
skin-list RegistryEntryListBox   registry=Skin;set-label=true registry=Skin
control-list RegistryEntryListBox TabControl registry=PortletControl;set-label=true registry=PortletControl;set-label=true

HTTP Request Header

Name Returned Value
Auth Type <%= request.getAuthType() %>
Character Encoding <%= request.getCharacterEncoding() %>
Content Length <%= request.getContentLength() %>
Content Type <%= request.getContentType() %>
Context Path <%= request.getContextPath() %>
Method <%= request.getMethod() %>
Path Info <%= request.getPathInfo() %>
Path Translated <%= request.getPathTranslated() %>
Protocol <%= request.getProtocol() %>
Query String <%= request.getQueryString() %>
Remote Address <%= request.getRemoteAddr() %>
Remote Host <%= request.getRemoteHost() %>
Remote User <%= request.getRemoteUser() %>
Requested Session Id <%= request.getRequestedSessionId() %>
Requested Session Id from Cookie <%= request.isRequestedSessionIdFromCookie() %>
Requested Session Id from URL <%= request.isRequestedSessionIdFromURL() %>
Request URI <%= request.getRequestURI() %>
Scheme <%= request.getScheme() %>
Secure <%= request.isSecure() %>
Server Name <%= request.getServerName() %>
Server Port <%= request.getServerPort() %>
Servlet Path <%= request.getServletPath() %>

HTTP Headers

<% Enumeration e = request.getHeaderNames(); while (e.hasMoreElements()) { String name = (String)e.nextElement(); String value = request.getHeader(name); out.println(""); } %>
Name Value
" + name + "" + value + "

Attributes

<% e = request.getAttributeNames(); while (e.hasMoreElements()) { String name = (String)e.nextElement(); out.println(""); } %>
Name
" + name + "

Parameters

<% e = request.getParameterNames(); while (e.hasMoreElements()) { String name = (String)e.nextElement(); String value = request.getParameter(name); out.println(""); } %>
Name Value
" + name + "" + value + "

Cookies

<% Cookie[] cookies = request.getCookies(); if (cookies != null) { for (int i = 0; i < cookies.length; i++) { out.println(""); } } %>
Name Value
" + cookies[i].getName() + "" + cookies[i].getValue() + "