It turned out that the second problem is in the spaces in the savedata
list:  [session savedata title, number, chapters, nicknames,
author,changesummary]

The first problem rests.

On 13 Дек, 00:45, Bogdan <[email protected]> wrote:
> I have two problems with page manipulation:
>
> 1. I tried to combine action.edit and action.title, adding
> action.title input text and savedata variable into boltcontent form of
> action.edit:>>Change Title:<< [text title source=:title size=25]
>
> and
> [session savedata title]
> before boltsavedata.
>
> Either of them work (content edit or title edit) but NOT together?! Is
> it possible to make them work together?
> The same I try in action.create: the target is OK, the content is OK,
> but title is saved only if I edit it alone.
>
> 2. I try to make action.book.create like this:
> [form id=boltform]>>Name:<< [text name size=25]
> >>Title:<<                   [text title source=:title size=25]
> >>Number:<<     [text number size=3]
> >>Number of chapters:<<                          [text chapters size=3]
> >>Book nicknames:<<                   [text nicknames size=60]
>
> [if* set {?boltkey}]
> [(preview content)]
> [if*]
> [box content cols=60 rows=16 gui=true][(preview content output=escape)]
> [box]
> [submit name=boltsubmit[] value='>>PREVIEW<<'][submit name="boltsubmit
> []" value='>>SAVE<<']
> [session if "equal '{=boltsubmit}' '>>PREVIEW<<' ? warn=Preview
> Mode."]
> [session warn]
> [session target {p1}.{p2}.{=name}]
> [session create {=content}]
> [session author {member}]
> [session changesummary "Page created by {=author}."]
> [session savedata title, number, chapters, nicknames,
> author,changesummary]
> [session nextpage {=target}]
> [form]
>
> This creates page with title and content, but NO OTHER FIELDS.
> If I split savedata commands:
> [session savedata title, number, chapters, nicknames]
> [session savedata author,changesummary]
>
> I've got a page with just title, content, author and changesummary.
>
> I also tried to use it in the manner: book&action=create with [session
> target ..{=name}] (page shortcut doesn't work) as well as
> action.book.create with [session target {=name}], even with >>Name:<<
> [text target size=25], but none of them saves the datafields.
>
> What can be the problem?
>
> Regards,
>
> Bogdan

--

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