On Thursday, January 12, 2012 4:37:41 AM UTC-5, Likit wrote:
>
> I really don't get the use of {{form}} in views. It's really too
> opaque. The form=crud and form=SQLFORM really only do trivial cases
> involving a single table.
>
I wouldn't say handling a single table is a trivial case, but
I had another problem accessing the examples with my apache config
(separate thread). Under rocket server I could see those examples.
Yes, I think the products or dog registration examples illustrate what
I need.
On Jan 12, 4:33 am, stefaan wrote:
> Have you looked here?http://web2py.com/examples
Have you looked here?
http://web2py.com/examples/default/examples#form_examples
FORM (and all the other UPPERCASE helpers) is just a function that
creates an html fragment.
The key to understanding how these forms work is to realize that forms
are "submitted to themselves".
That's why the code i
3 matches
Mail list logo