netui:rewriteURL Tag

<netui:rewriteURL> Tag

Allows a tag name, typically either an id or name attribute, to participate in URL rewritting.

Syntax

<netui:rewriteURL
    [URL="string_url"] />

Description

Allows a tag name, typically either an id or name attribute, to participate in URL rewritting. Some containers such as WebLogic Portal rewrite names so they are unique.

Attributes

URLThe value of the URL that will be rewritten.
 
RequiredSupports runtime expression evaluationData bindable
NoNoNo

Sample

In this sample, the id attribute of a <span> tag is set to 'foo'. The actual value that will be written to the rendered HTML may change depending on the application container. (Portal containers sometimes rewrite the id attributes to ensure their uniqueness.) The value 'foo' can be passed to getNetuiTagName( tagId, tag ) to find the value of the id attribute actually rendered in the browser.
    <span id="<netui:rewriteURL URL="foo"/>">

Sample Code

[BEA_HOME]/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui/rewrite/

Related Topics

<netui:rewrite...> Tag Samples

<netui:rewriteName> Tag