Class Hierarchy All Classes All Fields and Methods

 

Class com.ibm.faces.renderkit.html_extended.HxClientUtil

java.lang.Object
        com.ibm.faces.renderkit.html_extended.HxClientUtil

public class HxClientUtil
extends Object

Constructor Index
Constructor Description
HxClientUtil()  

Method Index
Method Description
String buildJsConverter(StringBuffer, FacesContext, UIOutput) Builds the javascript statement(s) to instanciate a converter and register it.
String buildJsDateConverter(DateTimeConverter, Locale) Builds the javascript statement(s) to instanciate a converter and register it.
String buildJsDateRangeValidator(DateTimeRangeValidator) Builds the javascript statement(s) to instanciate a number validator.
String buildJsDateRangeValidator(DateTimeRangeValidator, Date, Date) Deprecated. Builds the javascript statement(s) to instanciate a number validator.
String buildJsNumberConverter(NumberConverterEx, Locale) Builds the javascript statement(s) to instanciate a converter and register it.
String buildJsNumberRangeValidator(Validator) Builds the javascript statement(s) to instanciate a number validator.
String buildJsNumberRangeValidator(Validator, Number, Number) Deprecated. Builds the javascript statement(s) to instanciate a number validator.
String buildJsRangeValidator(StringBuffer, FacesContext, UIInput) Builds the javascript statement(s) to instanciate a validator and register it.
String buildJsRangeValidator(StringBuffer, FacesContext, UIInput, Object, Object) Builds the javascript statement(s) to instanciate a validator and register it.
String buildSetResourcePathCall(FacesContext) Builds the javascript statement(s) to generate the setResourceServer call to init resources in hxclient.js.
void initJSLibraries(UIComponent, FacesContext)  
void initJSLibraries(UIComponent, FacesContext, boolean)  

 

Constructors

 

HxClientUtil

public HxClientUtil() 

 

Methods

 

buildJsConverter

public static final String buildJsConverter(StringBuffer javascript,
                                            FacesContext context,
                                            UIOutput component) 

Builds the javascript statement(s) to instanciate a converter and register it. It returns the id of the converter so it can be looked up in the converter map.

 

buildJsDateConverter

public static final String buildJsDateConverter(DateTimeConverter datetimeConverter,
                                                Locale locale) 

Builds the javascript statement(s) to instanciate a converter and register it. It returns the id of the converter so it can be looked up in the converter map.

 

buildJsDateRangeValidator

public static final String buildJsDateRangeValidator(DateTimeRangeValidator validator) 

Builds the javascript statement(s) to instanciate a number validator.

 

buildJsDateRangeValidator

Deprecated. Builds the javascript statement(s) to instanciate a number validator.

public static final String buildJsDateRangeValidator(DateTimeRangeValidator validator,
                                                     Date minBound,
                                                     Date maxBound) 

 

buildJsNumberConverter

public static final String buildJsNumberConverter(NumberConverterEx numConverter,
                                                  Locale locale) 

Builds the javascript statement(s) to instanciate a converter and register it. It returns the id of the converter so it can be looked up in the converter map.

 

buildJsNumberRangeValidator

public static final String buildJsNumberRangeValidator(Validator validator) 

Builds the javascript statement(s) to instanciate a number validator.

 

buildJsNumberRangeValidator

Deprecated. Builds the javascript statement(s) to instanciate a number validator.

public static final String buildJsNumberRangeValidator(Validator validator,
                                                       Number minBound,
                                                       Number maxBound) 

 

buildJsRangeValidator

public static final String buildJsRangeValidator(StringBuffer javascript,
                                                 FacesContext context,
                                                 UIInput input) 

Builds the javascript statement(s) to instanciate a validator and register it. It returns the id of the validator so it can be looked up in the validator map.

 

buildJsRangeValidator

public static final String buildJsRangeValidator(StringBuffer javascript,
                                                 FacesContext context,
                                                 UIInput input,
                                                 Object minBound,
                                                 Object maxBound) 

Builds the javascript statement(s) to instanciate a validator and register it. It returns the id of the validator so it can be looked up in the validator map.

 

buildSetResourcePathCall

public static final String buildSetResourcePathCall(FacesContext context) 

Builds the javascript statement(s) to generate the setResourceServer call to init resources in hxclient.js. This could return null if this call is not required.

 

initJSLibraries

public static void initJSLibraries(UIComponent component,
                                   FacesContext context) 

 

initJSLibraries

public static void initJSLibraries(UIComponent component,
                                   FacesContext context,
                                   boolean bWriteNow) 

Class Hierarchy All Classes All Fields and Methods