|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openfaces.util.Rendering
public class Rendering
This class contain methods for working with components tree and client-side javascript
Field Summary | |
---|---|
static java.lang.String |
CLIENT_ID_SUFFIX_SEPARATOR
|
static java.lang.String |
DEFAULT_FOCUSED_STYLE
|
static java.lang.String |
ON_LOAD_SCRIPTS_KEY
|
static java.lang.String |
SERVER_ID_SUFFIX_SEPARATOR
|
Method Summary | |
---|---|
static void |
addJsonParam(JSONObject paramsObject,
java.lang.String paramName,
boolean paramValue,
boolean defaultValue)
Add boolean parameter to json parameters |
static void |
addJsonParam(JSONObject paramsObject,
java.lang.String paramName,
java.awt.Color paramValue)
Format color string and add it to json parameters |
static void |
addJsonParam(JSONObject paramsObject,
java.lang.String paramName,
double paramValue)
Add double parameter to json parameters |
static void |
addJsonParam(JSONObject paramsObject,
java.lang.String paramName,
double paramValue,
double defaultValue)
Add double parameter to json parameters |
static void |
addJsonParam(JSONObject paramsObject,
java.lang.String paramName,
int paramValue)
Add integer parameter to json parameters |
static void |
addJsonParam(JSONObject paramsObject,
java.lang.String paramName,
int paramValue,
int defaultValue)
Add integer parameter to json parameters |
static void |
addJsonParam(JSONObject paramsObject,
java.lang.String paramName,
java.lang.Object paramValue)
Add object to json parameters |
static void |
addJsonParam(JSONObject paramsObject,
java.lang.String paramName,
java.lang.Object paramValue,
java.lang.Object defaultValue)
Add object to json parameters |
static void |
appendOnLoadScript(javax.faces.context.FacesContext context,
Script script)
Appends javascript to be executed on onLoad phase on client browser |
static java.lang.Object |
convertFromString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String str)
Converts string to object with associated converter |
static java.lang.String |
convertToString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
Converts object to string with associated converter |
static void |
decodeBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
static byte[] |
encodeAsPNG(java.awt.image.RenderedImage data)
Encode png image as array of bytes |
static void |
encodeClientActions(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render all children of the component, which are instances of OUIClientAction |
static void |
encodeInitComponentCall(javax.faces.context.FacesContext context,
OUIComponent component)
Render javascript initialization of component and css style and styleclasses |
static void |
encodeInitComponentCall(javax.faces.context.FacesContext context,
OUIComponent component,
boolean skipIfNotNeeded)
Render javascript initialization of component and css style and styleclasses |
static void |
ensureComponentInsideForm(javax.faces.component.UIComponent component)
Return true if component is inside form component, throw exception otherwise |
static javax.faces.component.behavior.ClientBehavior |
getA4jAjaxForComponent(javax.faces.component.UIComponent component)
Find ajax support component in children and facets of component |
static java.util.List<InitScript> |
getAjaxInitScripts(javax.faces.context.FacesContext context)
|
static boolean |
getBooleanAttribute(javax.faces.component.UIComponent component,
java.lang.String attrName,
boolean defaultValue)
Retrieve boolean value of the component attribute or default |
static boolean |
getBooleanContextParam(javax.faces.context.FacesContext context,
java.lang.String webXmlContextParam)
|
static boolean |
getBooleanContextParam(javax.faces.context.FacesContext context,
java.lang.String webXmlContextParam,
boolean defaultValue)
|
static java.lang.String |
getChangeHandlerScript(javax.faces.component.UIComponent component)
|
static java.lang.String |
getContextParam(javax.faces.context.FacesContext context,
java.lang.String webXmlContextParam)
|
static java.lang.String |
getContextParam(javax.faces.context.FacesContext context,
java.lang.String webXmlContextParam,
java.lang.String defaultValue)
|
static java.lang.Object |
getConvertedUISelectManyValue(javax.faces.context.FacesContext context,
javax.faces.component.UIInput selectMany,
java.lang.Object submittedValue)
Retrive array of converted submitted values from UISelectMany component |
static javax.faces.convert.Converter |
getConverter(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
static javax.faces.convert.Converter |
getConverterForType(javax.faces.context.FacesContext context,
java.lang.Class valueType)
|
static ImageDataModel |
getDataModel(byte[] data)
Create image data model from array of bytes |
static ImageDataModel |
getDataModel(java.lang.Object data)
Create image data model from array of bytes or RenderedImage |
static ImageDataModel |
getDataModel(java.awt.image.RenderedImage data)
Create image data model from RenderedImage |
static java.lang.String |
getEventHandlerScript(javax.faces.component.UIComponent component,
java.lang.String event)
|
static java.lang.String |
getEventHandlerScript(javax.faces.component.UIComponent component,
java.lang.String event,
java.lang.String logicalEvent)
|
static java.lang.String |
getEventHandlerScript(javax.faces.component.UIComponent component,
javax.faces.component.UIComponent sourceComponent,
java.lang.String event,
java.lang.String logicalEvent)
|
static JSONObject |
getEventsParam(javax.faces.component.UIComponent component,
java.lang.String... eventNames)
Return event handlers for a given events |
static java.lang.String |
getEventWithOnPrefix(javax.faces.context.FacesContext context,
OUIClientAction component,
java.lang.String componentName)
|
static java.lang.String |
getFocusedClass(javax.faces.context.FacesContext context,
OUIInput component)
Return focused css class for component |
static DynamicImagePool |
getImagePool(javax.faces.context.FacesContext context)
Return the current session's in-memory image pool |
static java.lang.String |
getRolloverClass(javax.faces.context.FacesContext context,
OUIComponent component)
Return rollover css class for component |
static java.lang.String |
getStringValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Return converted to string value of component |
static boolean |
isComponentWithA4jAjax(javax.faces.component.UIComponent component)
Check if the component has ajax4jsf support |
static boolean |
isDefaultAttributeValue(java.lang.Object value)
See JSF Spec. |
static boolean |
isDynamicResource(java.lang.String uri)
Check resource uri if it is dymamic resource or not |
static boolean |
isNullOrEmpty(java.lang.String string)
Check string for nullable and empty |
static java.lang.String |
joinScripts(java.lang.String script1,
java.lang.String script2)
Join two javascripts into one |
static void |
logWarning(javax.faces.context.FacesContext context,
java.lang.String message)
Log OpenFaces warning to external context |
static void |
registerDateTimeFormatObject(java.util.Locale locale)
Render javascript initiation of DateTimeFormatObject |
static void |
renderChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
This method render all children of a given component |
static void |
renderComponents(javax.faces.context.FacesContext context,
java.util.List<javax.faces.component.UIComponent> components)
This method calls encodeAll with a given context for all
passed components |
static void |
renderHiddenField(javax.faces.context.ResponseWriter writer,
java.lang.String idAndName,
java.lang.String value)
Render the hidden field |
static void |
renderHTMLAttribute(javax.faces.context.ResponseWriter writer,
java.lang.String componentProperty,
java.lang.String attrName,
java.lang.Object value)
Write attribute and replace styleClass attribute with style |
static void |
renderInitScript(javax.faces.context.FacesContext context,
Script script,
java.lang.String... jsFiles)
Renders the specified JavaScript code into the response and ensures including the specified JavaScript files to the rendered page prior to the rendered script. |
static void |
renderInitScripts(javax.faces.context.FacesContext context,
InitScript... initScripts)
Combine javascript scripts into one script and links to javascript files and render them |
static void |
renderJavascriptEnd(javax.faces.context.ResponseWriter writer)
Write javascript start html tag |
static void |
renderJavascriptStart(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component)
Write javascript start html tag |
static void |
renderPreloadImagesScript(javax.faces.context.FacesContext context,
java.util.List<java.lang.String> imageUrls,
boolean prependContextPath)
Render javascript for preloading images |
static void |
startWriteIMG(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String extension,
ImageDataModel model,
int[] size)
Render image html tag with hack for ie transparency |
static void |
writeAttribute(javax.faces.context.ResponseWriter writer,
java.lang.String name,
int value,
int emptyValue)
|
static void |
writeAttribute(javax.faces.context.ResponseWriter writer,
java.lang.String name,
java.lang.String value)
Check value for nullable and write it to writer |
static void |
writeAttributes(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
java.lang.String... attributes)
Renders the specified list of component's attributes as is for all non-null attributes. |
static void |
writeComponentClassAttribute(javax.faces.context.ResponseWriter writer,
OUIComponent component)
Render component css style class attribute |
static void |
writeComponentClassAttribute(javax.faces.context.ResponseWriter writer,
OUIComponent component,
java.lang.String defaultClass)
Render component css style class attribute |
static java.lang.String |
writeIdAttribute(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
static void |
writeIdIfNecessary(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
javax.faces.context.FacesContext context)
Render component id attribute if it is not null and not starts with UIViewRoot.UNIQUE_ID_PREFIX |
static void |
writeNameAttribute(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
static void |
writeNewLine(javax.faces.context.ResponseWriter writer)
Write newline symbol to writer |
static void |
writeNonBreakableSpace(javax.faces.context.ResponseWriter writer)
Write HTML.NBSP_ENTITY to writer |
static void |
writeStandardEvents(javax.faces.context.ResponseWriter writer,
OUIComponent component)
|
static void |
writeStandardEvents(javax.faces.context.ResponseWriter writer,
OUIComponent component,
boolean skipOnclick)
|
static void |
writeStandardEvents(javax.faces.context.ResponseWriter writer,
OUIInput component)
|
static void |
writeStyleAndClassAttributes(javax.faces.context.ResponseWriter writer,
OUIComponent component)
|
static void |
writeStyleAndClassAttributes(javax.faces.context.ResponseWriter writer,
java.lang.String style,
java.lang.String styleClass)
Write style and class html attributes |
static void |
writeStyleAndClassAttributes(javax.faces.context.ResponseWriter writer,
java.lang.String style,
java.lang.String styleClass,
java.lang.String defaultStyleClass)
Write style and class html attributes |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLIENT_ID_SUFFIX_SEPARATOR
public static final java.lang.String SERVER_ID_SUFFIX_SEPARATOR
public static final java.lang.String DEFAULT_FOCUSED_STYLE
public static final java.lang.String ON_LOAD_SCRIPTS_KEY
Method Detail |
---|
public static void renderChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
context
- FacesContext
for the current requestcomponent
- The component, which children will be rendered
java.io.IOException
- if an input/output error occurs while renderingpublic static void renderComponents(javax.faces.context.FacesContext context, java.util.List<javax.faces.component.UIComponent> components) throws java.io.IOException
encodeAll
with a given context for all
passed components
context
- FacesContext
for the current requestcomponents
- The list of components to be rendered
java.io.IOException
- if an input/output error occurs while renderingpublic static void logWarning(javax.faces.context.FacesContext context, java.lang.String message)
context
- FacesContext
for the current requestmessage
- The message to logpublic static void renderHTMLAttribute(javax.faces.context.ResponseWriter writer, java.lang.String componentProperty, java.lang.String attrName, java.lang.Object value) throws java.io.IOException
styleClass
attribute with style
writer
- The character-based outputattrName
- Attribute name to be addedvalue
- Attribute value to be addedcomponentProperty
- Name of the property or attribute (if any) of the
UIComponent
associated with the containing element,
to which this generated attribute corresponds
java.io.IOException
- if an input/output error occurspublic static void renderJavascriptStart(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component) throws java.io.IOException
writer
- The character-based outputcomponent
- The UIComponent
(if any) to which
this element corresponds
java.io.IOException
- if an input/output error occurspublic static void renderJavascriptEnd(javax.faces.context.ResponseWriter writer) throws java.io.IOException
writer
- The character-based output
java.io.IOException
- if an input/output error occurspublic static void registerDateTimeFormatObject(java.util.Locale locale) throws java.io.IOException
locale
- The locale for DateTimeFormat
java.io.IOException
- if an input/output error occurspublic static void renderHiddenField(javax.faces.context.ResponseWriter writer, java.lang.String idAndName, java.lang.String value) throws java.io.IOException
writer
- The character-based outputidAndName
- The id and name of hidden fieldvalue
- The value of hidden field
java.io.IOException
- if an input/output error occurspublic static boolean getBooleanAttribute(javax.faces.component.UIComponent component, java.lang.String attrName, boolean defaultValue)
component
- The componentattrName
- The attribute namedefaultValue
- The default value to return if such attribute doesn't exist
public static boolean isDefaultAttributeValue(java.lang.Object value)
value
- The value to check
public static void writeIdIfNecessary(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component, javax.faces.context.FacesContext context) throws java.io.IOException
UIViewRoot.UNIQUE_ID_PREFIX
writer
- The character-based outputcomponent
- The component, which id will be writtencontext
- FacesContext
for the current request
java.io.IOException
- if an input/output error occurspublic static java.lang.Object getConvertedUISelectManyValue(javax.faces.context.FacesContext context, javax.faces.component.UIInput selectMany, java.lang.Object submittedValue) throws javax.faces.convert.ConverterException
UISelectMany
component
context
- FacesContext
for the current requestselectMany
- The submitted componentsubmittedValue
- The submitted value
javax.faces.convert.ConverterException
- if submittedValue is not a String arraypublic static javax.faces.convert.Converter getConverter(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
public static javax.faces.convert.Converter getConverterForType(javax.faces.context.FacesContext context, java.lang.Class valueType)
public static java.lang.Object convertFromString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String str)
context
- FacesContext
for the current requestcomponent
- The component, which converter will be usedstr
- The string to convert
public static java.lang.String getStringValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
context
- FacesContext
for the current requestcomponent
- The component, which value will be converted
public static java.lang.String convertToString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
context
- FacesContext
for the current requestcomponent
- The component, which converter will be usedvalue
- The object to convert
public static void appendOnLoadScript(javax.faces.context.FacesContext context, Script script)
context
- FacesContext
for the current requestscript
- The script to appendpublic static void renderInitScript(javax.faces.context.FacesContext context, Script script, java.lang.String... jsFiles) throws java.io.IOException
context
- FacesContext
for the current requestscript
- The javascript to be renderedjsFiles
- The collection of javascript files to be added
java.io.IOException
- if an input/output error occurspublic static java.util.List<InitScript> getAjaxInitScripts(javax.faces.context.FacesContext context)
public static void renderInitScripts(javax.faces.context.FacesContext context, InitScript... initScripts) throws java.io.IOException
context
- FacesContext
for the current requestinitScripts
- The javascript files to combine and render
java.io.IOException
- if an input/output error occurspublic static void renderPreloadImagesScript(javax.faces.context.FacesContext context, java.util.List<java.lang.String> imageUrls, boolean prependContextPath) throws java.io.IOException
context
- FacesContext
for the current requestimageUrls
- The list of images to preloadprependContextPath
- true means that the resulting url should be prefixed with context root. This is the case
when the returned URL is rendered without any modifications. Passing false to this
parameter is required in cases when the returned URL is passed to some component which
expects application URL, so the component will prepend the URL with context root itself.
java.io.IOException
- if an input/output error occurspublic static void ensureComponentInsideForm(javax.faces.component.UIComponent component)
component
- The component to checkpublic static boolean isNullOrEmpty(java.lang.String string)
string
- The string to check
public static java.lang.String joinScripts(java.lang.String script1, java.lang.String script2)
script1
- The first script to joinscript2
- The second script to join
public static void writeNonBreakableSpace(javax.faces.context.ResponseWriter writer) throws java.io.IOException
HTML.NBSP_ENTITY
to writer
writer
- The character-based output
java.io.IOException
- if an input/output error occurspublic static void writeStyleAndClassAttributes(javax.faces.context.ResponseWriter writer, java.lang.String style, java.lang.String styleClass) throws java.io.IOException
writer
- The character-based outputstyle
- The value of css style attribute to renderstyleClass
- The value of css style class attribute to render
java.io.IOException
- if an input/output error occurspublic static void writeStyleAndClassAttributes(javax.faces.context.ResponseWriter writer, OUIComponent component) throws java.io.IOException
java.io.IOException
public static void writeStyleAndClassAttributes(javax.faces.context.ResponseWriter writer, java.lang.String style, java.lang.String styleClass, java.lang.String defaultStyleClass) throws java.io.IOException
writer
- The character-based outputstyle
- The value of css style attribute to renderstyleClass
- The value of css style class attribute to renderdefaultStyleClass
- The default css style class to merge with a given css style
java.io.IOException
- if an input/output error occurswriteStyleAndClassAttributes(javax.faces.context.ResponseWriter, String, String)
public static void writeComponentClassAttribute(javax.faces.context.ResponseWriter writer, OUIComponent component) throws java.io.IOException
writer
- The character-based outputcomponent
- The component, which attribute renders
java.io.IOException
- if an input/output error occurspublic static void writeComponentClassAttribute(javax.faces.context.ResponseWriter writer, OUIComponent component, java.lang.String defaultClass) throws java.io.IOException
writer
- The character-based outputcomponent
- The component, which attribute rendersdefaultClass
- The default style class to merge with
java.io.IOException
- if an input/output error occurspublic static boolean isDynamicResource(java.lang.String uri)
uri
- The uri to check
public static void startWriteIMG(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String extension, ImageDataModel model, int[] size) throws java.io.IOException
writer
- The character-based outputcontext
- FacesContext
for the current requestcomponent
- The UIComponent
(if any) to which this element correspondsextension
- The image extensionmodel
- The data model of image - array of bytesize
- The array of integers, where first element is width of image and second is a heigth
java.io.IOException
- if an input/output error occurspublic static DynamicImagePool getImagePool(javax.faces.context.FacesContext context)
context
- FacesContext
for the current request
public static ImageDataModel getDataModel(java.lang.Object data)
RenderedImage
data
- The data to create model
public static ImageDataModel getDataModel(byte[] data)
data
- The array of bytes, representing image
public static ImageDataModel getDataModel(java.awt.image.RenderedImage data)
RenderedImage
data
- The RenderedImage
, representing png image
public static byte[] encodeAsPNG(java.awt.image.RenderedImage data)
data
- The png image
public static void addJsonParam(JSONObject paramsObject, java.lang.String paramName, java.awt.Color paramValue)
paramsObject
- The json parametersparamName
- The name of parameterparamValue
- The value of parameteraddJsonParam(org.openfaces.org.json.JSONObject, String, Object, Object)
public static void addJsonParam(JSONObject paramsObject, java.lang.String paramName, java.lang.Object paramValue)
paramsObject
- The json parametersparamName
- The name of parameterparamValue
- The value of parameteraddJsonParam(org.openfaces.org.json.JSONObject, String, Object, Object)
public static void addJsonParam(JSONObject paramsObject, java.lang.String paramName, java.lang.Object paramValue, java.lang.Object defaultValue)
paramsObject
- The json parametersparamName
- The name of parameterparamValue
- The value of parameterdefaultValue
- The default value to comparepublic static void addJsonParam(JSONObject paramsObject, java.lang.String paramName, double paramValue, double defaultValue)
paramsObject
- The json parametersparamName
- The name of parameterparamValue
- The value of parameterdefaultValue
- The default value to comparepublic static void addJsonParam(JSONObject paramsObject, java.lang.String paramName, double paramValue)
paramsObject
- The json parametersparamName
- The name of parameterparamValue
- The value of parameterpublic static void addJsonParam(JSONObject paramsObject, java.lang.String paramName, boolean paramValue, boolean defaultValue)
paramsObject
- The json parametersparamName
- The name of parameterparamValue
- The value of parameterdefaultValue
- The default value to comparepublic static void addJsonParam(JSONObject paramsObject, java.lang.String paramName, int paramValue, int defaultValue)
paramsObject
- The json parametersparamName
- The name of parameterparamValue
- The value of parameterdefaultValue
- The default value to comparepublic static void addJsonParam(JSONObject paramsObject, java.lang.String paramName, int paramValue)
paramsObject
- The json parametersparamName
- The name of parameterparamValue
- The value of parameterpublic static boolean isComponentWithA4jAjax(javax.faces.component.UIComponent component)
component
- The component to check
public static javax.faces.component.behavior.ClientBehavior getA4jAjaxForComponent(javax.faces.component.UIComponent component)
component
- The component to check
UIComponent
of ajax support, if component has support, null, otherwisepublic static void encodeInitComponentCall(javax.faces.context.FacesContext context, OUIComponent component) throws java.io.IOException
context
- FacesContext
for the current requestcomponent
- The component, which init script is rendered
java.io.IOException
- if an input/output error occursencodeInitComponentCall(javax.faces.context.FacesContext, org.openfaces.component.OUIComponent, boolean)
public static void encodeInitComponentCall(javax.faces.context.FacesContext context, OUIComponent component, boolean skipIfNotNeeded) throws java.io.IOException
context
- FacesContext
for the current requestcomponent
- The component, which init script is renderedskipIfNotNeeded
-
java.io.IOException
- if an input/output error occurspublic static java.lang.String getRolloverClass(javax.faces.context.FacesContext context, OUIComponent component)
context
- FacesContext
for the current requestcomponent
- The component
public static java.lang.String getFocusedClass(javax.faces.context.FacesContext context, OUIInput component)
context
- FacesContext
for the current requestcomponent
- The component
public static void encodeClientActions(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
OUIClientAction
context
- FacesContext
for the current requestcomponent
- The component
java.io.IOException
- if an input/output error occurspublic static JSONObject getEventsParam(javax.faces.component.UIComponent component, java.lang.String... eventNames)
component
- The component, which event handlers retrieveeventNames
- The event names
JSONObject
with events and their handlerspublic static void writeNewLine(javax.faces.context.ResponseWriter writer) throws java.io.IOException
writer
- The character-based output
java.io.IOException
- if an input/output error occurspublic static void writeAttribute(javax.faces.context.ResponseWriter writer, java.lang.String name, java.lang.String value) throws java.io.IOException
value
- The value of attributename
- The name of attributewriter
- The character-based output
java.io.IOException
- if an input/output error occurspublic static void writeAttributes(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component, java.lang.String... attributes) throws java.io.IOException
java.io.IOException
public static java.lang.String writeIdAttribute(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
public static void writeNameAttribute(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
public static void writeAttribute(javax.faces.context.ResponseWriter writer, java.lang.String name, int value, int emptyValue) throws java.io.IOException
java.io.IOException
public static void writeStandardEvents(javax.faces.context.ResponseWriter writer, OUIInput component) throws java.io.IOException
java.io.IOException
public static void writeStandardEvents(javax.faces.context.ResponseWriter writer, OUIComponent component) throws java.io.IOException
java.io.IOException
public static void writeStandardEvents(javax.faces.context.ResponseWriter writer, OUIComponent component, boolean skipOnclick) throws java.io.IOException
java.io.IOException
public static java.lang.String getEventHandlerScript(javax.faces.component.UIComponent component, java.lang.String event)
public static java.lang.String getChangeHandlerScript(javax.faces.component.UIComponent component)
public static java.lang.String getEventHandlerScript(javax.faces.component.UIComponent component, java.lang.String event, java.lang.String logicalEvent)
public static java.lang.String getEventHandlerScript(javax.faces.component.UIComponent component, javax.faces.component.UIComponent sourceComponent, java.lang.String event, java.lang.String logicalEvent)
public static void decodeBehaviors(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
public static java.lang.String getEventWithOnPrefix(javax.faces.context.FacesContext context, OUIClientAction component, java.lang.String componentName)
public static boolean getBooleanContextParam(javax.faces.context.FacesContext context, java.lang.String webXmlContextParam)
public static boolean getBooleanContextParam(javax.faces.context.FacesContext context, java.lang.String webXmlContextParam, boolean defaultValue)
public static java.lang.String getContextParam(javax.faces.context.FacesContext context, java.lang.String webXmlContextParam)
public static java.lang.String getContextParam(javax.faces.context.FacesContext context, java.lang.String webXmlContextParam, java.lang.String defaultValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |