Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Proposal: Form rendering with filters
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rajeev J Sebastian  
View profile  
 More options Mar 23 2008, 3:49 pm
From: "Rajeev J Sebastian" <rajeev.sebast...@gmail.com>
Date: Mon, 24 Mar 2008 01:19:34 +0530
Local: Sun, Mar 23 2008 3:49 pm
Subject: Re: Proposal: Form rendering with filters

On Sun, Mar 23, 2008 at 6:01 AM, Simon Willison <si...@simonwillison.net> wrote:

>  On Mar 22, 10:09 pm, Mike Axiak <mcax...@gmail.com> wrote:
>  > On Mar 22, 11:21 am, "Will Hardy" <e.willha...@gmail.com> wrote:>   {{ field|class:"special"|as_li }}
>  > >  [...]
>  > > >   I've been thinking about having a {% doctype %} tag.

>  > I could be uninformed, but as of now template filters cannot access
>  > the context, and so you can't use filter while expecting doctype to do
>  > the right thing. I think this was the main motivation behind Simon
>  > suggesting tags.

>  It was - but the ability to customise attributes turned out to be a
>  side effect that was potentially even more useful.

Moreover, the use of filters means that the form can now provide a
better interface for us to write our own fitlers, or tags, etc. Sort
of like what they say about UNIX tools ... small tools combined to
make bigger ones.

Regards
Rajeev J Sebastian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.