UIX 2.2.16

oracle.cabo.servlet.ui.data
Class PageIncludeBoundValue

java.lang.Object
  |
  +--oracle.cabo.servlet.ui.data.PageIncludeBoundValue
All Implemented Interfaces:
BoundValue

public class PageIncludeBoundValue
extends java.lang.Object
implements BoundValue

BoundValue implementation that will point to the root UINode of another Page. This is most useful for UIX Components's IncludeBean.


Constructor Summary
PageIncludeBoundValue(Page page)
          Create a PageIncludeBoundValue.
 
Method Summary
static Page getCurrentPage(RenderingContext rc)
          gets the Page that is currently being rendered.
 java.lang.Object getValue(RenderingContext rContext)
          Called to retrieve a value based on the current rendering context.
static UINode parsePage(RenderingContext rContext, Page page)
          parses the given page and produces the corresponding UINode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageIncludeBoundValue

public PageIncludeBoundValue(Page page)
Create a PageIncludeBoundValue.
Parameters:
page - the Page whose contents should be include
Method Detail

getValue

public java.lang.Object getValue(RenderingContext rContext)
Description copied from interface: BoundValue
Called to retrieve a value based on the current rendering context.
Specified by:
getValue in interface BoundValue
Following copied from interface: oracle.cabo.ui.data.BoundValue
Parameters:
context - the rendering context

parsePage

public static UINode parsePage(RenderingContext rContext,
                               Page page)
parses the given page and produces the corresponding UINode
Returns:
null if there was some error. the error will be logged on the RenderingContext.getErrorLog()

getCurrentPage

public static Page getCurrentPage(RenderingContext rc)
gets the Page that is currently being rendered. This may change as files are included. To get the root page use BajaRenderingContext.getPage(oracle.cabo.ui.RenderingContext)

UIX 2.2.16