> [session savedata {ekonomi.transaktioner:datalist}]

datalist is a list of data values, it defines what data is to be saved
in each transaction and thus keeps all the transaction-editing pages
standardized.

What I wanted to do was to have an entire form, including the inputs,
standardized in order to create transaktions in different pages. It
seemed that this was not possible, but by the reactions I'm getting,
I'm thinking perhaps the includes should work. I had the impression
that includes where not processed at all in includes, for security or
something, because they werent being processed. However, I think that
may have been another utf8 problem.

On Apr 19, 7:17 pm, The Editor <[email protected]> wrote:
> 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