User assistance for content authors |
---|
Use the RenderURL rendering plug-in to create URLs that set or remove render parameters.
[Plugin:RenderURL copyCurrentParams="" escape="" uri="" uriMode=""
prefix.key="" prefix.value="" prefix.mode="" prefix.type=""]
This
plug-in uses the following attributes:Limited support for non-declared public render parameters: IBM® Digital Data Connector (DDC) for WebSphere® Portal also provides limited support for public parameters that are not declared in the Web Content Viewer deployment descriptor. You can identify such parameters by the fully qualified name in the format {ns}localname. Non-declared public render parameters do not work when you use them with WSRP. They are not included by default in the portlet fragment cache key if portlet fragment caching is enabled.
[Plugin:RenderURL copyCurrentParams="true"
pr1.key="private1" pr1.value="v1"
pr1.type="private" pr1.mode="set"
pr2.key="public1" pr2.value="pv1" pr2.value="pv2"
pr2.type="public" pr2.mode="add"]
[Plugin1:RenderURL copyCurrentParams="true"
pr1.key="private1" pr1.type="private" pr1.mode="remove"
pr2.key="{http://ibm.com}prp1" pr2.value="pv1" pr2.value="pv2"
pr2.type="public" pr2.mode="set"]
[Plugin:RenderURL copyCurrentParams="true" uri="nm:oid:pageid"
pr2.key="{http://ibm.com}prp1" pr2.value="pv1"
pr2.type="public" pr2.mode="add"]
<form method="get" action="[Plugin:RenderURL copyCurrentParams="true"]">
<!-- This sets a private render parameter with the name param1: -->
<input type="text" name="param1">
<input type="submit" value="Submit">
</form>
To read the parameter value, use the following
tag in the page to which the form is submitted: [Plugin:RenderParam
key="param1"]<form method="get" action="[Plugin:RenderURL copyCurrentParams="true"]">
<!-- This sets a public render parameter with the name CUSTOM_CONTEXT: -->
<input type="text" name="CUSTOM_CONTEXT">
<input type="submit" value="Submit">
</form>
To read the parameter value, use the following
tag in the page to which the form is submitted: [Plugin:RenderParam
key="CUSTOM_CONTEXT"]