Thanks a lot Fran!

It works!

On Tue, Jul 28, 2009 at 7:06 PM, Fran <francisb...@googlemail.com> wrote:

>
> On Jul 28, 9:27 pm, Tito Garrido <titogarr...@gmail.com> wrote:
> > I'm using the generic data... is there a way to set it?
>
> If you're happy for the same class for all tables, then:
> def data():
>    form = crud()
>    if request.args(0) == 'select':
>        form['_class'] = 'myclass'
>    return dict(form = form)
>
> F
> >
>


-- 

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______
Sent from Sao Paulo, SP, Brazil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@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