cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duncan McLean" <>
Subject Disappearing values in really simple Cform example
Date Fri, 20 Jan 2006 15:16:26 GMT

Hope you can help.

We are looking at Cforms just now and have constructed a simple example.

Effectively there are 2 forms - one picks a product, the next offers a
radio button (it is two parts in a growing form wizard we are yet to write
- the forms will, of course, have many more fields!).

Anyway, if I step back using the back button, and refresh, the previous
values selected on that page are lost (I was under the impression that
they would be preserved).

The flowscript is simple:

function main() {
    var form = new Form("forms/start_def.xml");


    var prodType = { "prodType" : form.getChild("prodType").getValue() }

    var form2 = new Form("forms/clientdetails_def.xml");

In the site map, I have a rule to match a continuation:

     <map:match pattern="continue">
       <map:call continuation="{request-param:continuation-id}"/>

and looking at the source of the form, I definitely have a hidden field
with the continuation id in it, and the form action is "continue".

Any ideas?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message