Revision history [back]

click to hide/show revision 1
initial version

asked 2012-10-15 17:32:59 +0800

wlainer gravatar image wlainer

Basic addAnnotation example

Hi, I´m trying to do a basic example of annotation in javacode, but it´s not working. Can anyone tell me what i did wrong?

in my controller, i have:

        Label l = (Label) getWindowAtual().getFellow("teste");
        Map aa = new HashMap();
        aa.put("value", "teste");
        l.addAnnotation("bind", aa);

and in zul i have

        <row style="border: 0px" height="35px">
            <label id="teste" ></label>
        <row>

if anyone can help

thanks

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More