Hi Stephan

> I wanted to use "<<qualify>>" or better this.getStateQualifier but I think
> I'm using it wrong. If you look at the console, when the tiddler
> "radiobuttons" gets displayed, you will see the output of calling
> this.getStateQualifie. It is always "{0}", which isn't too helpful. So I
> would need some advice here. At the moment I'm still using "an optional
> tiddler::somename" as the identifying name. This will cause strange display
> effects I guess when two instances of the same tiddler are displayed.
>

getStateQualifier() should return a random-looking number that is the hash
of the concatenation of all the transclusions that contain the current
widget. Therefore, it's repeatable and unique for a widget in the same
position in the widget tree.

You shouldn't be calling it with a parameter; doing so changes the
variables that it uses for computing the qualifier, so that it no longer
tracks transclusions.

I'll answer your second question momentarily.

Best wishes

Jeremy

The next issue is: If I set manually in my above linked radiobuttons
> tiddler all 3 tags ("test 1", "test 2" and "test 3"), no matter which
> radiobutton I click, all will remain. The problem here is: The radiobuttons
> don't really know about each other. So I have no way for radiobutton "one"
> to directly tell the tiddlywiki object of radiobutton "two" and "three"
> that they should remove their tags. What I do is, I fire change events for
> the unchecked radio buttons. But this will fail if there are tags for more
> than 2 buttons because when I fire an event, the tiddler gets refreshed and
> so will remove and add the tags "at will", because it's asynchronous. I
> think, I need some way to find, from an HTML element the underlying
> tiddlywiki objects so that I can tell them what to do.
>
> Does someone have any advice for me?
>
> --
> 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.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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