cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Savory" <s...@andrewsavory.com>
Subject Re: REPOST: Losing request parameters during form error
Date Fri, 15 Feb 2008 10:06:53 GMT
Hi Derek,

On 14/02/2008, Derek Hohls <DHohls@csir.co.za> wrote:
>
>
> I am creating a new form and passing some default values
> to it using request parameters:
>
> eg. http://localhost:8888/mydb/newPerson.do?i=piet&r=16&c=5
>
> The form displays normally and the user can add data -> submission
> of a correct form also works. However, when encountering an
> error on first submission e.g. a key field value is missing, then
> when the form is redisplayed, the values obtained from parameters
> passed in the first time are no longer displayed.  How do I ensure
> that these parameters are used for each submission?


Are you using cforms, or your own custom form?
If cforms, you might find it easier to set the form fields from flowscript.
If you could post a snippet of your pipelines, it would help us to debug.


Andrew.
--
Sourcesense: Making sense of Open Source
Tel: +44 (0)870 741 6658  Fax: +44 (0)700 598 1135
Web: http://www.sourcesense.com/

Mime
View raw message