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:beginRender> tag (and it's closing </render:beginRender> tag) in a component's skeleton contain the code and/or HTML markup that is processed and rendered before any child component rendering.
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.
<tagName>
</tagName>
none
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 for the portal page. In many skeleton files, code is included above the render tags to construct the class attribute, which is a string for a specific CSS style. The id and style attributes are usually populated for a portal component in the Propert Editor window in WebLogic Workshop Platform Edition.
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>