Stephen,

Your render() function needs to call your execute() function, thus:

    this.parentDomNode = parent;
    this.execute();
    this.renderChildren(parent,nextSibling);

This is the pattern directly from Widget.js.

Hope this helps?

Chris.

On Tuesday, December 17, 2013 4:15:01 AM UTC-7, Stephan Hradek wrote:
>
> I've created an experimental widget called "Ex" 
> http://skeeve.tiddlyspot.com/ to try to understand what the different 
> methods of the widget are doing.
>
> In my "ex" tiddler I have this text:
>
> <$exgroup>
> <$ex attr="test a">test 1</$ex>
> <$ex attr="test b">test 2</$ex>
> </$exgroup>
>
> And the widget code I define is calling several times console.log.But when 
> I look at my console, I only see one invocation of my exgroup widget's 
> renderer and none of the enclosed ex widgets.
>
> Also there is no child in the "this" object of the extgroup, while I can 
> see the "ex" widgets in "exgroup"'s parsetree.
>
> Am I doing something wrong?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to