This tag is used in the portal look and feel skeleton files that render the structure of portal components. The <render:renderChild> tag is used to render portlet titlebars, titlebar buttons, menus (navigation such as page tabs), and table cells within a layout.
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 attribute="value" />
presentationContext
Required (String) - The presentation context for the component being rendered. In the skeleton JSPs provided in the WebLogic Workshop Portal Extensions, the presentationContext value is passed in as a variable from a *PresentationContext declaration earlier in the JSP, as shown in the following example.
This example shows the book.jsp skeleton for portal book rendering. The <render:renderChild> tag uses a "menu" variable declared as the MenuPresentationContext in the first code block to render the navigation style used in the book.
<%@ page import="com.bea.netuix.servlets.controls.page.BookPresentationContext,
com.bea.netuix.servlets.controls.page.MenuPresentationContext"%>
<%@ taglib uri="render.tld" prefix="render" %>
<% BookPresentationContext book = BookPresentationContext.getBookPresentationContext(request); MenuPresentationContext menu = (MenuPresentationContext) book.getFirstChild("page:menu"); String bookClass = "bea-portal-book";
if (book.isDesktopBook()) { bookClass += "-primary"; }
String bookContentClass = bookClass + "-content"; %>
<render:beginRender> <!-- Begin Book --> <div <render:writeAttribute name="id" value="<%= book.getPresentationId() %>"/> <render:writeAttribute name="class" value="<%= book.getPresentationClass()%>" defaultValue="<%= bookClass %>"/> <render:writeAttribute name="style" value="<%= book.getPresentationStyle() %>"/> cellspacing="0" > <render:renderChild presentationContext="<%= menu %>"/> <!-- Begin Book Content --> <div class="<%= bookContentClass %>"> </render:beginRender> <render:endRender> </div> <!-- End Book Content --> </div> <!-- End Book --> </render:endRender>