thank you Eric. I will repeat to myself ten times "curly brackets are for evaluating parameters"
... unless they're in between <script> and </script> right? Anyway, thanks - that was a nice present to wake up to :-) On Feb 21, 11:22 pm, Eric Shulman <[email protected]> wrote: > > <<wikify [[<<select Chapter rows:1 +Chapters%0+>\>]] "b...@here">> > > the <<wikify>> method has come closest as the right field value does > > appear, but I'm not sure if you're supposed to be able to write the > > listbox macro from inside the wikify macro. > > You are close... but are using the wrong syntax.... > > In order to output a macro from within the <<wikify>> macro, you have > correctly used the >\> sequence (to prevent the ">>" in the output > format from prematurely ending the enclosing <<wikify>> macro syntax). > > However, ">\>" can ONLY be used within an *evaluated parameter* (the > {{...}} syntax) to construct a javascript text string to be used as > the parameter value. Thus, instead of using the [[...]] 'quotes' > around the parameter, you should write something like this: > <<select book rows:1 +BooksList>> > <<wikify {{"<<select Chapter rows:1 +Chapters%0>\>"}} book>> > > If we suppose that the value in 'book' is "BookName", then the > resulting output would be something like: > <<select Chapter rows:1 +ChaptersBookName>> > > enjoy, > -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

