<netui:rewriteURL> Tag

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

Syntax

<netui:rewriteURL
    [URL="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. This tag will cause the name to be made available from the getNetuiTagName( tagId, tag ) JavaScript function (which is written to the page by the <netui:html> tag).

Attributes
URL
Required: No  |   Supports runtime evaluation: Yes  |   Data bindable: No

The value of the URL that will be rewritten.

 
Example

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.) But 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"/>">