interesting.... I will think about it. Should be possible.

On Apr 5, 5:23 pm, Russell <russell.mcmur...@gmail.com> wrote:
> Just a thought...
>
> It occurs to me that, as SQLFORM is a set of fields, wouldn't it be
> better if SQLFORMs had their own widget class?
>
> It would allow for customization and, potentially you could then
> combine SQLTABLE with SQLFORM into one tidy concept.  By this I mean
> that SQLTABLE could deliver a set of SQLFORM objects (using a default
> read-only widget).
>
> Taking that the next step, for example, you could submit a read-only
> row from an SQLTABLE via ajax, toggle the widget to return an edit
> form...giving you automatic edit-in-place for the record set.
>
> On Apr 3, 12:31 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > becase form=SQLFORM() is already a server side representation of the
> > DOM. It is not an abstract object.
> > after form=SQLFORM() you are supposed to be able to do
> > form.element(name)[attribute](value) for example and other DOM
> > manipulations.
>
> > If form were a more abstract object and if its DOM representation were
> > to be decided later (form.as_div()) you would not be able to
> > manipulate the DOM. This would 1) break backward compatibility; 2)
> > break everything that is good about about it.
>
> > Massimo
>
> > On Apr 1, 3:24 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
>
> > > So why formstyle instead of
>
> > > form.as_div()
> > > or
> > > form.as_ul()
>
> > > ??
>
> > > -Thadeus
>
> > > On Wed, Mar 24, 2010 at 8:18 PM, mdipierro <mdipie...@cs.depaul.edu> 
> > > wrote:
> > > > Thank you!
>
> > > > On Mar 24, 8:21 pm, Jose <jjac...@gmail.com> wrote:
> > > >> I sent a patch to Massimo
>
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups "web2py-users" group.
> > > > To post to this group, send email to web...@googlegroups.com.
> > > > To unsubscribe from this group, send email to 
> > > > web2py+unsubscr...@googlegroups.com.
> > > > For more options, visit this group 
> > > > athttp://groups.google.com/group/web2py?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to