Page History
Anchor | ||
---|---|---|
|
|
View level converters must extend the abstract class com.hof.mi.interfaces.Converter. Configuration UI and persistence is available through the normal UserInputParameters API. You can see the documentation on this API <here> here.
The following methods need to be implemented in order to create a view level converter:
...
Anchor | ||||
---|---|---|---|---|
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
@Override public int getReturnType() { return UserInputParameters.TYPE_NUMERIC; } |
Styleclass | ||
---|---|---|
| ||
...
Code Block | ||||
---|---|---|---|---|
| ||||
@Override public Object convertObjectReverse(Object data) { if (data == null) return null; return data.toString(); } |
Styleclass | ||
---|---|---|
| ||
Section | |||||||
---|---|---|---|---|---|---|---|
|