Hi Tobias If you want to change the attributes of child widgets that your widget has created, then you must re-execute the child widget(s) so that they are recreated from the updated parseTreeNode.
Again, it would be useful to see some code :) Best wishes Jeremy > On 13 Dec 2015, at 14:05, Felix Küppers <[email protected]> wrote: > > Yap, TW really behaves like an agent system where each widget delegates the > refresh to the child widgets and the child widgets decide for themselves. The > only exception is when a widget fully restarts (refreshes) itself and newly > creates all children. > > -Felix > > On 12/11/2015 11:01 PM, Tobias Beer wrote: >> Hi Felix, >> >> Yes, I just realized today what is meant with "widgets are stateless" and >> changedTiddlers kinda hints at it. If there are none of those there's no >> refreshing. So, I'll entirely stop manipulating child-widgets from the >> parent widgets via event handlers and instead have my child-widget structure >> pretty much duplicate what I would have been doing in a macro, however ...in >> a widget ... with well structured code rather than a whole bucket of trial >> and error macro magic that is close to impossible to decipher later. >> >> Best wishes, >> >> Tobias. >> -- >> 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] >> <mailto:[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> Visit this group at http://groups.google.com/group/tiddlywikidev >> <http://groups.google.com/group/tiddlywikidev>. >> To view this discussion on the web visit >> <https://groups.google.com/d/msgid/tiddlywikidev/0c3b5028-7de2-41ba-a711-320d20a06b4b%40googlegroups.com?utm_medium=email&utm_source=footer>https://groups.google.com/d/msgid/tiddlywikidev/0c3b5028-7de2-41ba-a711-320d20a06b4b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywikidev/0c3b5028-7de2-41ba-a711-320d20a06b4b%40googlegroups.com>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywikidev > <https://groups.google.com/group/tiddlywikidev>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/BLU436-SMTP745D94FAE47BB0677EE933CEEC0%40phx.gbl > > <https://groups.google.com/d/msgid/tiddlywikidev/BLU436-SMTP745D94FAE47BB0677EE933CEEC0%40phx.gbl?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/BD8699EE-8AD1-45B2-B514-A50362611E8F%40gmail.com. For more options, visit https://groups.google.com/d/optout.
