unfortunately, it's impossible right now.
BUT! it's not _that_ hard to do.

look in BookTemplateFormatter>>action:value:text:
text is the name of the action, so if your action looks like
<?showText title: bucko?>
you could do this check:
(text indexOf: $:) > 0 ifTrue: [actionName := text copyUpTo: $ ]
then of course you need to use actionName instead of text as the name
of the action in two subsequent message sends.
And what to do with parameters? The easiest thing is to add them to
request settings Dictionary:
request settingsAt: 'title' put: 'bucko'
(of course, you'll write a script to parse all those params -- hint:
reuse code from Parser)

it's a good thing you asked this question, I've wanted this
functionality for a while, I might make a custom change in my swiki
image. Now it'll be easier to add more text fields for forms, instead
of creating new action for each new text field (showFormText198, etc),
I'll just say <?shoFormText id: 198 type: file?>.

Bolot

Reply via email to