public class AjaxValue extends Object
| Constructor and Description |
|---|
AjaxValue(AjaxOption.Type type,
Object value)
Creates AjaxValue for value with the indicated type.
|
AjaxValue(Object value)
Creates AjaxValue for value with the type guessed at.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
javaScriptEscaped(Object obj) |
String |
javascriptValue() |
public AjaxValue(Object value)
value - the value to make into an AjaxValueAjaxValue(er.ajax.AjaxOption.Type, Object)public AjaxValue(AjaxOption.Type type, Object value)
type - one of AjaxOption.Type constants from AjaxOptionvalue - the value to make into an AjaxValueAjaxValue(Object),
AjaxOption.Typepublic static String javaScriptEscaped(Object obj)
obj - Object to convert to String and escapepublic String javascriptValue()
Copyright © 2002 – 2020 Project Wonder.