[EMAIL PROTECTED] dijo:
> I'm still struggling with this problem. Can anyone help? I've cut the
> files
> down to basics: there are only 3 string files in the template, definition,
> binding and data file (name: first, middle, last).
>
> I can properly bind because I can see the data in the appropriate fields.
> When I add/edit information all the script does is start all over again.
> I.e. it never continues below the "showform" line.
> If I add an action to the form tag this is executed immediately but no
> data
> is saved. I've studied the form2 example in depth, but I cannot find where
> I
> go wrong.
>
> New versions of files:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <layout xmlns:wt="http://apache.org/cocoon/woody/template/1.0";
> xmlns:wi="http://apache.org/cocoon/woody/instance/1.0";>
>       <title>Proper Wijzig persoonsgegevens</title>
>       <header>Persoon wijzigen/toevoegen</header>
>       <content>
>               <contentHeader>Patient toevoegen/wijzigen</contentHeader>
>               <contentText>
>                       Voeg een nieuwe patient toe of wijzig de gegevens
> van een bestaande patient.
>                       </contentText>
>               <wt:form-template action="" method="POST">
>                       <wt:continuation-id/>

                        ^^^^^^^^^^^^^^^^^^^^
Maybe here is the source of the problem. Seems like you are doing a new
flow call on every post instead of calling the continuation. Of course
this can be done in other way (sending the continuationId as a hidden
parameter. I recomend to change the 2 above lines to:

<wt:form-template action="#{$continuation/id}" method="POST">

Best Regards,

Antonio Gallardo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to