Display "path" details for an item

 

+
Search Tips   |   Advanced Search

 

The path component tag is used to represent certain parts of the URL for an item. The PathCmpnt tag can represent the servlet path, the base path, or the context path of the current page. This tag can be added to presentation templates, element designs and component designs.

<pathcmpnt type=" " start=" " end=" " />

<pathcmpnt Opens a path component tag.
type=" " Determines the type of path component:

base

Returns the base section of a URL. For example,http://hostname:8080

context

Returns the context section of a URL. For example, /ILWWCM

servlet

Returns the servlet path of a URL. For example, /ILWWCM/connect
start=" "
end=" "
The start and end attributes are used to wrap the data returned by an IWWCM tag within other tags, such as HTML. These attributes are not mandatory.
/> Closes a Web Content Management tag.

 

Restriction

Using the path component in a portlet.

The URLs generated by the path component will be fully qualified when viewed through a portal. To generate URLs with no prefix, use the following "Type" parameters instead of the standard parameters:

  • Type="noprefixbase" instead of Type="base"

  • Type="noprefixservlet" instead of Type="servlet".

  • Type="Prefix". When viewed through portal the, prefix value will be printed. If no prefix exists then empty string is returned.

 

Parent Topic

Display item details