<render:param> Tag

This tag lets you append query parameters to the URL tags. It allows you to attach request parameters to the url. For example, the example below creates a url with an additional request parameter like “lang=foo”.

Syntax

<tagName attribute="value" />

Attributes

name

Required (String) - Name of the query parameter.

value

Optional (String) - Value of the query parameter.

Example

<%@ page import="com.bea.netuix.servlets.controls.page.PagePresentationContext,
com.bea.netuix.servlets.controls.page.BookPresentationContext"%>
<%@ taglib uri="render.tld" prefix="render" %>
.
.
.
<render:jspContentUrl var="jspContent" windowLabel="news"      contentUri="/myportlets/foo.jsp" />
<a href="<%=pageContext.getAttribute("jspContent")%><render:param name="lang" value="en" />">See the latest foo news in English</a>

Related Topics

<render:pageUrl> Tag

<render:windowUrl> Tag

<render:jspContentUrl> Tag