Small Problem with Reveal widget

51 views
Skip to first unread message

TonyM

unread,
May 29, 2018, 12:49:00 AM5/29/18
to TiddlyWiki

Folks

I have a set of reveal widgets and there related state tiddlers - like this

<$reveal type="match" state=<<qualify $:/Temp/view-queue-custom>> text="yes">
  ''Custom Order''
  Will call a macro to view this? eg disposition aware
</$reveal>
<$reveal type="match" state=<<qualify $:/Temp/view-queue-FIFO>> text="yes">
''First in First Out - Queue''<br>
<<queueformatedlist "[<currentTiddler>listed[item-queue]sort[created]]">
</$reveal>

<$reveal type="match" state=<<qualify $:/Temp/view-queue-LMFO>> text="yes">
''Most Recently Edited - MRU''<br>
<<queueformatedlist "[<currentTiddler>listed[item-queue]!sort[modified]]">
</$reveal>

<$reveal type="match" state=<<qualify $:/Temp/view-queue-LIFO>> text="yes">
''First in Last Out - (Stack)''<br>
<<queueformatedlist "[<currentTiddler>listed[item-queue]!sort[created]]">
</$reveal>


However when state=<<qualify $:/Temp/view-queue-FIFO>> text="yes"> the second reveal occurs as do the rest.

and as a result if the others "states" are yes they do not display.

Is the some unknown "Feature" or "Bug" causing this?

Thank in Advance
Tony 

TonyM

unread,
May 29, 2018, 12:51:43 AM5/29/18
to TiddlyWiki
Sorry,

I also wanted to add I am getting a stray "text="yes">" appearing on screen between each simultaneously reveald sections.

Regards
Tony

Eric Shulman

unread,
May 29, 2018, 12:53:28 AM5/29/18
to TiddlyWiki
On Monday, May 28, 2018 at 9:49:00 PM UTC-7, TonyM wrote:
I have a set of reveal widgets and there related state tiddlers - like this
<$reveal type="match" state=<<qualify $:/Temp/view-queue-FIFO>> text="yes">
''First in First Out - Queue''<br>
<<queueformatedlist "[<currentTiddler>listed[item-queue]sort[created]]">
</$reveal>

I think you have a simple syntax error.... it's easy to miss:

There are single ">" on macro calls, when they should be ">>"

-e



TonyM

unread,
May 29, 2018, 1:43:26 AM5/29/18
to TiddlyWiki
Thanks heaps Eric,

No matter how many times I looked. After repeating the problem by copying slabs of code.

Whew I m not going mad

Tony
Reply all
Reply to author
Forward
0 new messages