oracle.cabo.servlet.ui
Class BajaRenderingContext
java.lang.Object
|
+--oracle.cabo.ui.LogicalNodeRenderingContext
|
+--oracle.cabo.ui.RenderedNodeRenderingContext
|
+--oracle.cabo.ui.RootRenderingContext
|
+--oracle.cabo.ui.ServletRenderingContext
|
+--oracle.cabo.servlet.ui.BajaRenderingContext
- All Implemented Interfaces:
- java.lang.Cloneable, ImageContext, RenderingContext, StyleContext
- public class BajaRenderingContext
- extends ServletRenderingContext
RenderingContext implementation for rendering UIX-Components-based
content inside of the UIX Servlet. This rendering context registers
several RenderingContext properties in the UIX Servlet namespace:
- PAGE_PROPERTY: the Baja Page being rendered
- BAJA_CONTEXT_PROPERTY: the active BajaContext
- BASE_URI_PROPERTY: the portion of the URI
that points to the servlet engine
The Page and BajaContext can be more conveniently retrieved
from a RenderingContext using static methods in this class.
This rendering context also will automatically attach
a BajaDataProvider, which makes several Servlet- and UIX-Servlet-
related objects automatically available. See the documentation
of that class for more infromation.
- See Also:
BajaDataProvider
Field Summary |
static java.lang.String |
BAJA_CONTEXT_PROPERTY
Property for storing the BajaContext. |
static java.lang.String |
BASE_URI_PROPERTY
Property for storing the portion of the URI
that points to the servlet engine. |
static java.lang.String |
PAGE_PROPERTY
Property for storing the Page object. |
Methods inherited from class oracle.cabo.ui.ServletRenderingContext |
createErrorLog, createOutputMethod, finishResponse, getBaseAgent, getDefaultLocale, getHttpSession, getHttpSession, getJspPage, getJspPage, getJspPageContext, getJspPageContext, getLocaleContext, getProperty, getServletConfig, getServletConfig, getServletContext, getServletContext, getServletRequest, getServletRequest, getServletResponse, getServletResponse, prepareResponse, setConfiguration, setHttpSession, setHttpSession, setJspPage, setJspPage, setJspPageContext, setJspPageContext, setLocaleContext, setServletConfig, setServletConfig, setServletContext, setServletContext, setServletRequest, setServletRequest, setServletResponse, setServletResponse |
Methods inherited from class oracle.cabo.ui.RootRenderingContext |
clone, createOutputMethod, getAgent, getConfiguration, getDataObject, getDataObject, getDefaultDataProviderSize, getDefaultNodeStackSize, getDefaultPropertyMapSize, getErrorLog, getFacet, getFormEncoder, getImageContext, getLookAndFeel, getOutputMethod, getParentContext, getRendererManager, getStyleContext, getURLEncoder, getVariableResolver, prepareOutput, resetProperties, setConfiguration, setDataObject, setDataObjectDictionary, setErrorLog, setFacet, setFormEncoder, setURLEncoder, transformName |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAGE_PROPERTY
public static final java.lang.String PAGE_PROPERTY
- Property for storing the Page object.
BAJA_CONTEXT_PROPERTY
public static final java.lang.String BAJA_CONTEXT_PROPERTY
- Property for storing the BajaContext.
BASE_URI_PROPERTY
public static final java.lang.String BASE_URI_PROPERTY
- Property for storing the portion of the URI
that points to the servlet engine.
BajaRenderingContext
public BajaRenderingContext(BajaContext bajaContext,
Page page)
- Creates a BajaRenderingContext. The PrintWriter used for output will
write to the HttpServletResponse in the BajaContext.
- Parameters:
bajaContext
- the current BajaContextpage
- the Page being rendered
BajaRenderingContext
public BajaRenderingContext(BajaContext bajaContext,
java.io.PrintWriter out,
Page page,
java.lang.String mimeType)
- Deprecated. Let the PrintWriter and mime type default
- Creates a BajaRenderingContext.
- Parameters:
bajaContext
- the current BajaContextout
- the PrintWriter used for outputpage
- the Page being rendered
BajaRenderingContext
public BajaRenderingContext(BajaContext bajaContext,
java.io.PrintWriter out,
Page page)
- Deprecated. Let the PrintWriter default
- Creates a BajaRenderingContext.
- Parameters:
bajaContext
- the current BajaContextout
- the PrintWriter used for outputpage
- the Page being rendered
getBajaContext
public static BajaContext getBajaContext(RenderingContext context)
- Returns the BajaContext stored on a RenderingContext.
getPage
public static Page getPage(RenderingContext context)
- Returns the Page stored on a RenderingContext.
createVariableResolver
protected final UIVariableResolver createVariableResolver()
- gets the variable resolver for the controller
- Overrides:
createVariableResolver
in class RootRenderingContext