Ahha, this must be come from my request on "How to set value to multi
pages at once". But I never make it worked. I'm greatly interesting on
this too.
Cheers,
linly
On Sep 11, 10:34 pm, Martin <[EMAIL PROTECTED]> wrote:
> I found this snippet in the archives here.
> It is about a search that generates a list of pages, each with a
> checkbox.
> It works great as is with the msg command. I wonder how to get a
> savedata or rename command into it. I tried different variations but
> without success.
>
> > I probably shouldn't have but I took some time to pull together a
>
> simple demo of the basic approach you will need. Basically you will
> want something like this:
>
> [(search group=test template=check)]
>
> /*
> [[#check]]
> [(template first)][form]
> [(template each)][check status_{(counter output=true)} done] {+title}
> [session target_{(counter = output=true)} {+p}]
> [session if_{(counter = output=true)} "equal '{=status_{(counter =
> output=true)}}' 'done' ? msg_{(counter = output=true)}={+title}"]
> [session msg_{(counter = output=true)}]
> [(template last)][submit][form]
> [[#end]]
> */
> ---------
>
> For all checked pages - {=status_{(counter = output=true)}}' 'done' -
> the title is displayed in the message box.
>
> Now it is the point to replace "msg_{(counter =
> output=true)}={+title}" with
>
> savedata_{(counter = output=true)}={somedefaultvalue}" or
> rename_{(counter = output=true)}={somedefaultvalue}"
>
> We are half way done here, it needs just a little hint to have another
> perfect Boltwire solution (most people would try to solve this with
> custom javascript, but this would be much better).
>
> Greetings, Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" 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/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---