public class ComboboxSelectedItemConverter extends java.lang.Object implements Converter, java.io.Serializable
IGNORED_VALUE
Constructor and Description |
---|
ComboboxSelectedItemConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx)
Coerces a value to bean value to save to a bean
|
java.lang.Object |
coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx)
Coerces a value to another value to load to a component
|
public java.lang.Object coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
Converter
coerceToUi
in interface Converter
val
- the bean valuecomp
- the component to be loaded the valuectx
- the bind contextpublic java.lang.Object coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
Converter
coerceToBean
in interface Converter
val
- the value of component attribute.comp
- the component provides the valuectx
- the bind contextCopyright © 2005-2011 Potix Corporation. All Rights Reserved.