|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.render.RenderKit
org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase
org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator
org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit
public class CoreRenderKit
RenderKit based on UIX.
| Field Summary | |
|---|---|
static java.lang.String |
BASE_RENDER_KIT_ID
RenderKit ID for an internal and not-fully-functional kit that contains a base set of renderers. |
static java.lang.String |
OUTPUT_MODE_DEFAULT
The default output mode; if no output mode is set, or the requested output mode is not available, this output mode will be used. |
static java.lang.String |
OUTPUT_MODE_EMAIL
An e-mail output mode; when supported, this output mode should result in a version of page content optimized for use in e-mail. |
static java.lang.String |
OUTPUT_MODE_PORTLET
A portlet output mode; when supported, this output mode should result in a version of page content optimized for use in portlets. |
static java.lang.String |
OUTPUT_MODE_PRINTABLE
A printable output mode; when supported, this output mode should result in a version of a page designed for printouts. |
static java.lang.String |
RETURN_PARAM
|
| Constructor Summary | |
|---|---|
CoreRenderKit()
|
|
| Method Summary | |
|---|---|
void |
addScript(javax.faces.context.FacesContext context,
java.lang.String script)
Adds a script for execution during rendering. |
static java.lang.String |
chooseRenderKit(javax.faces.context.FacesContext context)
Choose a RenderKit for the current request. |
javax.faces.context.ResponseStream |
createResponseStream(java.io.OutputStream output)
|
javax.faces.context.ResponseWriter |
createResponseWriter(java.io.Writer writer,
java.lang.String contentTypeList,
java.lang.String characterEncoding)
|
void |
encodeBegin(javax.faces.context.FacesContext context)
Called when the encoding of a page begins. |
void |
encodeEnd(javax.faces.context.FacesContext context)
Called when the encoding of a page ends, if there were no exceptions. |
void |
encodeFinally(javax.faces.context.FacesContext context)
Called when the encoding of a page completes, whether or not there were exceptions. |
void |
encodeScripts(javax.faces.context.FacesContext context)
|
protected java.lang.String |
getDecoratedRenderKitId()
|
static java.lang.String |
getId()
|
protected java.lang.String |
getRenderKitMap()
|
javax.faces.render.ResponseStateManager |
getResponseStateManager()
|
static boolean |
isLegacyAjaxRequest(javax.faces.context.ExternalContext ec)
Returns true if this is a Trinidad PPR Ajax request sent over with the legacy (non-JSF2 Ajax) mechanism |
static boolean |
isLegacyPartialRequest(javax.faces.context.ExternalContext ec)
Returns true is this a PPR request sent by Trinidad (as opposed to a request sent with |
static boolean |
isLegacyPartialRequest(java.util.Map<java.lang.String,java.lang.String[]> parameters)
Returns true is this a PPR request sent by Trinidad (as opposed to a request sent with |
static boolean |
isPartialRequest(javax.faces.context.ExternalContext ec)
Returns true if this is a Trinidad PPR request or |
static boolean |
isPartialRequest(java.util.Map<java.lang.String,java.lang.String[]> parameters)
Returns true if this is a Trinidad PPR request or |
boolean |
isReturning(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source)
|
boolean |
isStateless(javax.faces.context.FacesContext context)
|
boolean |
launchDialog(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot targetRoot,
javax.faces.component.UIComponent source,
java.util.Map<java.lang.String,java.lang.Object> processParameters,
boolean useWindow,
java.util.Map<java.lang.String,java.lang.Object> windowProperties)
|
boolean |
returnFromDialog(javax.faces.context.FacesContext context,
java.lang.Object returnValue)
|
static void |
saveDialogPostbackValues(java.lang.String returnId)
Save the form name of the source page for use in subsequent postback. |
boolean |
shortCircuitRenderView(javax.faces.context.FacesContext context)
|
static boolean |
usePopupForDialog(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RequestContext rc)
|
| Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator |
|---|
addClientBehaviorRenderer, createDecoratedResponseWriter, findRenderer, getClientBehaviorRenderer, getClientBehaviorRendererTypes, getRenderKit, getService |
| Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase |
|---|
addRenderer, addRenderer, attachAggregatedRenderKit, getRenderer |
| Methods inherited from class javax.faces.render.RenderKit |
|---|
getComponentFamilies, getRendererTypes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OUTPUT_MODE_DEFAULT
public static final java.lang.String OUTPUT_MODE_PORTLET
public static final java.lang.String OUTPUT_MODE_PRINTABLE
public static final java.lang.String OUTPUT_MODE_EMAIL
public static final java.lang.String RETURN_PARAM
public static final java.lang.String BASE_RENDER_KIT_ID
| Constructor Detail |
|---|
public CoreRenderKit()
| Method Detail |
|---|
public static java.lang.String getId()
public static java.lang.String chooseRenderKit(javax.faces.context.FacesContext context)
public static boolean isLegacyAjaxRequest(javax.faces.context.ExternalContext ec)
public static boolean isLegacyPartialRequest(java.util.Map<java.lang.String,java.lang.String[]> parameters)
public static boolean isLegacyPartialRequest(javax.faces.context.ExternalContext ec)
public static boolean isPartialRequest(java.util.Map<java.lang.String,java.lang.String[]> parameters)
public static boolean isPartialRequest(javax.faces.context.ExternalContext ec)
protected java.lang.String getDecoratedRenderKitId()
getDecoratedRenderKitId in class RenderKitDecoratorprotected java.lang.String getRenderKitMap()
getRenderKitMap in class RenderKitBasepublic static void saveDialogPostbackValues(java.lang.String returnId)
public boolean launchDialog(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot targetRoot,
javax.faces.component.UIComponent source,
java.util.Map<java.lang.String,java.lang.Object> processParameters,
boolean useWindow,
java.util.Map<java.lang.String,java.lang.Object> windowProperties)
launchDialog in interface org.apache.myfaces.trinidad.render.DialogRenderKitService
public static boolean usePopupForDialog(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RequestContext rc)
public boolean returnFromDialog(javax.faces.context.FacesContext context,
java.lang.Object returnValue)
returnFromDialog in interface org.apache.myfaces.trinidad.render.DialogRenderKitService
public boolean isReturning(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent source)
isReturning in interface org.apache.myfaces.trinidad.render.DialogRenderKitService
public boolean shortCircuitRenderView(javax.faces.context.FacesContext context)
throws java.io.IOException
shortCircuitRenderView in interface org.apache.myfaces.trinidad.render.ExtendedRenderKitServicejava.io.IOExceptionpublic boolean isStateless(javax.faces.context.FacesContext context)
isStateless in interface org.apache.myfaces.trinidad.render.ExtendedRenderKitService
public void addScript(javax.faces.context.FacesContext context,
java.lang.String script)
addScript in interface org.apache.myfaces.trinidad.render.ExtendedRenderKitService
public void encodeScripts(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeScripts in interface org.apache.myfaces.trinidad.render.ExtendedRenderKitServicejava.io.IOExceptionpublic void encodeBegin(javax.faces.context.FacesContext context)
encodeBegin in interface org.apache.myfaces.trinidad.render.ExtendedRenderKitServicepublic void encodeEnd(javax.faces.context.FacesContext context)
encodeEnd in interface org.apache.myfaces.trinidad.render.ExtendedRenderKitServicepublic void encodeFinally(javax.faces.context.FacesContext context)
encodeFinally in interface org.apache.myfaces.trinidad.render.ExtendedRenderKitServicepublic javax.faces.render.ResponseStateManager getResponseStateManager()
getResponseStateManager in class RenderKitDecoratorpublic javax.faces.context.ResponseStream createResponseStream(java.io.OutputStream output)
createResponseStream in class RenderKitDecorator
public javax.faces.context.ResponseWriter createResponseWriter(java.io.Writer writer,
java.lang.String contentTypeList,
java.lang.String characterEncoding)
createResponseWriter in class RenderKitDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||