<render:createUri> Tag

This tag creates a URI based on the application's configured skin path. The URI is assigned to the id attribute.

If you use this tag in a JSP that is used in a struts or Java Page Flow application, in order for the URI to resolve correctly, Java Page Flow support must be enabled in the portal Web project's WEB-INF/netuix-config.xml file, as shown in the following example. Notice the <enable> element is set to true.

<!-- Enable or disable Pageflow support -->
<pageflow>
    <enable>true</enable>
</pageflow>

Syntax

<tagName attribute="value" />

Attributes

id

Required (String) - The URI of the skin root directory.

uriFragment

Required (String) - The relative path to the skin's root directory.

Example

<render:createUri id="<%= id %>" uriFragment="<%= uriFragment %>" />      

Related Topics

<render:writeUri> Tag