Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.2)
E14256-03

Portal Framework Rendering
Tag windowUrl


Description

A convenience tag to create URLs to portal windows. Use this tag to create links to submit requests to portlet windows (including requests to change portlet mode and/or state).

This tag should not be used from inside Java portlets (JSR168 or JSR286) to refer to themselves; for Java portlets use the java portlet tag library's actionURL or renderURL tags.

For more information on WindowURL, see the javadoc for com.bea.portlet.WindowURL.


Tag Information
Tag Classcom.bea.netuix.servlets.jsp.taglib.WindowURLTag
TagExtraInfo Classcom.bea.netuix.servlets.jsp.taglib.URLTagExtraInfo
Body ContentJSP
Display NameWindow Url

Attributes
NameRequiredRequest-timeDescription
forcedAmpFormfalsetrue Forces the form of query separators used for this URL. This overrides the natural mechanisms for determining ampersand entity or character usage based on document type and/or configuration. If the value 'true' is used, then "&" will be the separator. If 'false' is used, then "&" will be the separator.
varfalsetrue The name of the variable to which the return value will be assigned. The return value is of type java.lang.String.
scopefalsetrue The scope in which the variable should live. Defaults to page scope. Valid values are "REQUEST", "SESSION", or "APPLICATION".
schemefalsetrue Valid values are "http" and "https". If not specified, uses the scheme that was used to make the request.
domainfalsetrue Server domain. If not specified, uses the domain that was used to make the request. If requests are made via a proxy, specify the domain of the proxy server.
portfalsetrue Server port. If not specified, uses the port from the request. If requests are made via a proxy, specify the port of the proxy server for the scheme used.
pathPrefixfalsetrue A prefix that will be applied to the URL template specified. The value is inserted into the {url:prefix} token in the URL template.
encodeSessionfalsetrue Encodes the URL to include session ID. Defaults to true.
windowLabelfalsetrue The label of the window you want to generate a URL to. Defaults to the first window in the current scope. Use the window's instanceLabel if it exists; otherwise, use its definitionLabel. In particular, to link to a portlet, use the portlet's instance label here.
windowModefalsetrue Sets a portlet window mode. Valid values include "edit", "help", "view", or a user-defined custom mode name.
windowStatefalsetrue Sets a portlet window state. Valid values include "minimized", "maximized", "delete", "float", "normal", or a user-defined custom state name.
templatefalsetrue Sets a URL template for this URL. URL templates should be specified in "beehive-url-template-config.xml" file in WEB-INF directory of the webapp. Defaults to "default".

Variables
No Variables Defined.


Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.2)
E14256-03

Copyright © 2010, Oracle. All rights reserved.