ok in tools.py there is:

def update(...

with

form=SQLFORM()

is SQLFORM supposed to use represent somewhere to form table base on
db.table.represent?

On Wed, Nov 18, 2009 at 9:02 AM, Wes James <[email protected]> wrote:
> I did
>
> find . -exec grep represent {} \; -print
>
> and looked in sql.py and sqlhtml.py but I can't locate the represent
> that does this:
>
> db.student.represent=lambda row: TABLE(TR(row.last_name))
>
> where can i find it?
>
> Ok I found it in sql.py in "class Field(Expression):"
>
> Where is the "table.represent" or such and now where is it used in
> view presentation?
>
> thx,
>
> -wes
>

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

Reply via email to