[web2py] Re: [web2py:38394] Re: SQLFORM without tables

2010-03-30 Thread Thadeus Burgess
I have about two or three pages in my saved drafts about this subject :)

I just havn't had the time to sit down and figure out a real workable
solution that can integrate into everything else web2py does.

Your right, the defaults are integrated into everything, everything
from default widgets set by the DAL/Fields so that a SQLFORM can
display them.

So the question is, what changes could be made to the DAL to separate
it from data representation.

-Thadeus





On Fri, Jan 8, 2010 at 10:55 AM, Alex Fanjul alex.fan...@gmail.com wrote:
 is is the most recurrent topic I think. It should be called Decoupled,
 Custom and Tableless Forms. I'd say it would involve lot of changes for
 default things that web2py does now very well, and that is the proble

-- 
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.



[web2py] Re: [web2py:38394] Re: SQLFORM without tables

2010-01-08 Thread Alex Fanjul
This is the most recurrent topic I think. It should be called 
Decoupled, Custom and Tableless Forms. I'd say it would involve lot of 
changes for default things that web2py does now very well, and that is 
the problem.

Alex F

El 06/01/2010 0:13, Thadeus Burgess escribió:

I think what he really wants is the same thing I have been discussing
for quite a while :)

For now, sqlform.custom is the way to go

http://web2py.com/AlterEgo/default/show/205

-Thadeus





On Tue, Jan 5, 2010 at 4:25 PM, mdipierromdipie...@cs.depaul.edu  wrote:
   

I think this should do it:

form=SQLFORM(...)
form.components=[row[1][0] for row in form[0].components]

You can try variations

On Jan 5, 4:18 pm, Alexandreairm...@gmail.com  wrote:
 

Hi,

I would like to get SQLFORM without tables, just one field on top of the
other, is that possible?

It would be nice if instead of a table, we could iterate through the fields
in SQLFORM, so that we could represent it anyway we would like.

Thanks,
Alexandre Rosenfeld

Eng Comp 06 - USP São Carlos
FoG -http://fog.icmc.usp.br
IM Team - AIESEC
   

--
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.




 


--
Alejandro Fanjul Fdez.
alex.fan...@gmail.com
www.mhproject.org
-- 
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.