On Fri, Apr 17, 2009 at 8:13 PM, DrunkenMonk <[email protected]> wrote:
>
>> Is it that you do not want to copy/paste a single line to each of your
>> forms?
>>
>> [session create economy.transaction.{=value}]
>
> Not exactly, no. If I could reduce the commands to one page, that
> would be great. However, most of the pertinent data are stored as data
> variables. What I wanted to do is almost exactly like this:
>
> [session target ekonomi.transaktioner.#]
> [session savedata {ekonomi.transaktioner:datalist}]
>
> Which makes sure that all of my transactions carry the same format.


Not sure I followed the whole thing but if you need a way to copy
those two lines onto several forms you can just use the [(include
some.page)] function and put the lines there. Includes are done before
forms are processed.

You can't use embed, because it escapes the code (normally it is
javascript or something and you don't want markup being processed in
some javscript code).

Let me know if include won't work for you.

Cheers,
Dan

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to