Hi Matabele

In my case all teachers and tasks are created/predefined - so a 
> listboxplugin providing an ability to choose teachers/tasks from a dropdown 
> would be very useful.
>

Birthe C. told me that Stephan Hradek published a ListSelect Widget on 
http://tiddlystuff.tiddlypot.com . 
I use it like this in combination with your mangletags demo:

;Teacher:<$listselect
  filter="[tag[teacher]!prefix[$]] -[[teacher]]"
  value="tag"
  tiddler="temp"
  field="teacher"/>

;Task:<$listselect
  filter="[tag[task]!prefix[$]] -[[task]]"
  value="tag"
  tiddler="temp"
  field="task"/>

<$mangletags tiddler={{temp!!task}} add={{temp!!teacher}}>
<$setfield message="tw-mangle-tags">
<$mangletags tiddler={{temp!!teacher}} add={{temp!!task}} 
message="tw-set-field">
<$button  message="tw-mangle-tags" param={{temp!!teacher}}>Set</$button>
</$mangletags></$setfield></$mangletags>


<$mangletags tiddler={{temp!!task}} find={{temp!!teacher}}>
<$setfield message="tw-mangle-tags">
<$mangletags tiddler={{temp!!teacher}} find={{temp!!task}} 
message="tw-set-field">
<$button  message="tw-mangle-tags" param={{temp!!teacher}}>Reset</$button>
</$mangletags></$setfield></$mangletags>

That is *very* close to what I wanted in the first place :-P

Now I'd love to combine <$mangletags> with <$maketid> via 
<$edit-text tiddler="temp" field="teacher"/> & 
<$edit-text tiddler="temp" field="task"/> so it would:

1) create a new task tiddler *only* if it doesn't already exist.
2) create a new teacher tiddler *only* if it doesn't already exist.

Is this kind of combination possible already - or would it need another 
version of <$maketid>?

Cheers Måns Mårtensson 

 

> I already have setup a system where you can click tag pills from auto 
> generated lists of teachers (in tasks) or tasks (in teachers)  - I will see 
> if <$mangletags> can find it's way into the system - it *is* getting pretty 
> "hairy"/complicated already :-)
>
> Cheers Måns Mårtensson
>
>
> - 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to