Got some datapoints for retrieving error codes ( int )
Wish to offer a view with errors in plain text.
thought about using customview with a function let's say
String V(int code , String lang)
and in viewpoint something like :
if(value == "0") image = greenflag
image = redflag
out.println(V(value.parseInt() , lang));
but got an error saying that my function does not exist.
where/how can I declare my function?
on another hand,
Is there any way to declare 'transformation scripts' on datapoints in mango. Let's say ScriptA.
and then custom Datapoint as the result of applying ScriptA on another datapoint.
something like MetaDatasource or pointslink , but with the same script for all points.