Login Register

publish and suscribe

Re-render self within the widget

I have a widget on a page that subscribe to a topic. When I click a button the page publishes and a function called refreshMe() will be called and the context is changed and finally the widget re-render itself to display the new text from "orange" to "apple". But I got error "this.render is not a function". Any help is appreciated.
Here is the code:

Dojo Widgets Test page

djConfig={
                "isDebug": true,
                "parseOnLoad": true,
                "baseUrl": "../dojolib/dojo/"
        };
Syndicate content