<render:endRender> Tag

This tag is used in the portal look and feel skeleton files that render the structure of portal components. Portal components have a hierarchical relationship with each other. For example, a book contains a page and a page contains a placeholder. The <render:beginRender> and <render:endRender> tags serve as opening and closing tags for a component within which child components are rendered, which ultimately result in opening and closing HTML tags within which child components are nested.

The <render:endRender> tag (and its closing </render:endRender> tag) in a component's skeleton contain the code and/or HTML markup that is processed and rendered before any child component rendering and serves as the closing tag of the parent component.

The WebLogic Portal Extensions provide predefined sets of skeletons that meet most portal rendering needs. Unless you are creating new skeleton JSPs by hand (rather than copying and modifying existing skeleton JSPs), you are not likely to use this tag.

Syntax

<tagName>
</tagName>

Attributes

none

Example

This example shows the page.jsp skeleton for portal page rendering. The result of the <render:beginRender> tag is an opening HTML <div> tag populated with id, class, and style attributes (if available) for the portal page. The <render:endRender> tag results in the closing </div> tag.

<%@ page import="com.bea.netuix.servlets.controls.page.PagePresentationContext,
com.bea.netuix.servlets.controls.page.BookPresentationContext"%>
<%@ taglib uri="render.tld" prefix="render" %>
.
.
.
<render:beginRender> <!-- Begin Page --> <div <render:writeAttribute name="id" value="<%= pageCtx.getPresentationId() %>"/> <render:writeAttribute name="class" value="<%= pageCtx.getPresentationClass() %>" defaultValue="<%= pageClass %>"/> <render:writeAttribute name="style" value="<%= pageCtx.getPresentationStyle() %>"/> > </render:beginRender> <render:endRender> </div> <!-- End Page --> </render:endRender>

Related Topics

<render:beginRender> Tag

<render:writeAttribute> Tag

<render:renderChild> Tag