7 messages in com.googlegroups.pylons-discussRe: Form Handling Documentation and F...
FromSent OnAttachments
James Gardner27 Aug 2006 09:43 
Daniel Lyons20 Sep 2006 14:58 
Daniel Lyons21 Sep 2006 14:48 
Anil21 Sep 2006 16:23 
Daniel Lyons21 Sep 2006 19:21 
Ben Bangert21 Sep 2006 20:07 
James Gardner23 Sep 2006 18:40 
Subject:Re: Form Handling Documentation and FormBuild Announcement
From:Anil (repl@gmail.com)
Date:09/21/2006 04:23:13 PM
List:com.googlegroups.pylons-discuss

I've noticed this too. I noticed this happended after going from 0.9.2 to 0.9.3. (was it pulled from the site now?)

On 9/21/06, Daniel Lyons <fusi@gmail.com> wrote:

Hello again,

On 9/20/06, Daniel Lyons <fusi@gmail.com> wrote:

I've gone through the FormBuild tutorial and I've got a few questions about it.

Firstly, the submit button doesn't seem to respect the "params={'value': 'Submit'}" bit. Which is strange, because everything else seems to work, and I think the getattr(c.form.field, ...) line is a really excellent hack.

I figured this one out. Something between

c.form.layout.field(..., params={'value': 'Submit'})

and

<% getattr(..., **ARGS.get('params', {})) %>

is swallowing the 'params' key. I renamed it to 'parameters' in both the field_layout.myc and form.myt and now it works. Not sure what's causing the problem though.