Re: [FE-discuss] Checkboxes

Top Page
Author: Mike Orr
Date:  
To: formencode-discuss
Subject: Re: [FE-discuss] Checkboxes
On Jan 29, 2008 9:25 PM, A Monkey <monkeylovin@???> wrote:
> I don't use htmlfill to
> pre-populate my forms, and I'd recommend against it to anyone that
> asked. I use my templating language. htmlfill is super-useful for
> redrawing forms after failed validation, but it always felt like it
> was more work to use htmlfill to pre-populate than it was worth.


Well, prepopulating it ensures that the same method is used to set the
initial values as the error values, so that if one is reliable you can
assume the other will be too. It also avoids having to put
'value="${c.fieldname | h}"' all over the template, which lets the
other placeholders and variables stand out more.

-- 
Mike Orr <sluggoster@???>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FormEncode-discuss mailing list
FormEncode-discuss@???
https://lists.sourceforge.net/lists/listinfo/formencode-discuss