> <div class="tables_info">
>   {{=type(table)}}
>   {{=table.key}}
> </div>

Why are you using LOAD at all. If all the LOAD component is doing is
creating a single div that contains information from the only thing
you pass to the component, why not just do that directly in your for
loop in the index.html view:

{{for table in my_tables:}}
{{do stuff with table}}
{{pass}}

Anyway, you cannot pass a Python object in the 'vars' argument to LOAD
because the 'vars' argument is simply used to construct the URL of the
LOAD component. The 'vars' become the query string of the URL. You
could do something like:

LOAD(..., vars=table.as_dict())

which would pass each field in the 'table' Row object as a separate
variable in the query string. In the controller, request.vars would
then contain each of the fields in the row, but it would not be a Row
object.

Anthony

Reply via email to