Re: [html-formfu] refresh of the form

2010-03-12 Thread rahed
Carl Franks writes: > I've tested this out with a new Catalyst app, with meta-refresh set to > 10 seconds, with the following form: > > elements: > - name: foo > label: Foo > - type: Submit > name: Submit > > The Controller is empty, so any submitted form will just be > redisplayed, i

Re: [html-formfu] refresh of the form

2010-03-12 Thread Carl Franks
On 12 March 2010 11:34, rahed wrote: > Carl Franks writes: > >> On 10 March 2010 10:07, rahed wrote: >> I don't know why the behaviour is changing when you switch to FormFu - >> are there any noticable differences in the outputted HTML? > > Well, the FormBuilder uses a hidden form field _submitt

Re: [html-formfu] refresh of the form

2010-03-12 Thread rahed
Carl Franks writes: > On 10 March 2010 10:07, rahed wrote: > I don't know why the behaviour is changing when you switch to FormFu - > are there any noticable differences in the outputted HTML? Well, the FormBuilder uses a hidden form field _submitted which is processed in the source. I had to d

Re: [html-formfu] refresh of the form

2010-03-10 Thread Carl Franks
On 10 March 2010 10:07, rahed wrote: > Hello! > > I want to replace my FormBuilder and start anew with FormFu. > > In my template I had: > > [% FormBuilder.render %] > [% IF c.session.refresh %] > > > When I replace FormBuilder with form the > form is no longer submitted when there is a refresh.

[html-formfu] refresh of the form

2010-03-10 Thread rahed
Hello! I want to replace my FormBuilder and start anew with FormFu. In my template I had: [% FormBuilder.render %] [% IF c.session.refresh %] When I replace FormBuilder with form the form is no longer submitted when there is a refresh. The controller code is like this: sub run : Local : Form