Display "path" details for an item
The path component tag is used to represent certain parts of the URL. 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=" " This determines the type of path component:
- base
- This returns the base section of a URL.
For example, http://hostname:8080 This should only be used when rendering content using a Servlet.
- noprefixbase
- The URL generated by the path component will be fully qualified when viewed through a portal. Use this instead of "base" when displaying content in rendering portlets.
- context
- This returns the context section of a URL.
For example, /ILWWCM This should only be used when rendering content using a Servlet.
- noprefixcontext
- The URL generated by the path component will be fully qualified when viewed through a portal. Use this instead of "context" when displaying content in rendering portlets.
- servlet
- This returns the Servlet path of a URL.
For example, /ILWWCM/connect This should only be used when rendering content using a Servlet.
- prefix
- The URL generated by the path component will be fully qualified when viewed through a portal. Use this setting to display the prefix value of Web content displayed in a rendering portlet. If no prefix exists then an empty string is returned.
start=" " end=" "
The start and end attributes are used to wrap the data returned by a Web content tag within other tags, such as HTML. These attributes are not mandatory. /> Closes the tag.
Parent topic:
Creating Web content tags