Hi Johnny, your code was close, but is returning an error in the .kid
file
<tr py:for="row in result">     This line returns: the prefix "py" for
attribute "py:for" associated with an element type tr
is not bound

 Alex, since having to edit these rows was going to be the next step
in this difficult project (I am a newbie to Python), you are going to
be my lifesaver if your code will work. I will keep checking the
thread for your guys' updates.

On Jul 3, 4:12 am, Johnny Blonde <[EMAIL PROTECTED]>
wrote:
> controller:
> -------------------------------------
> results = TableToDisplay.select()
> return dict(results=results)
>
> template
> ------------------------------------------
> <html>
> <head><title>Webapptests</title></head>
> <body>
>
> <table>
>   <tr py:for="row in result">
>     <td py:content="row['name']">
>     <td py:content="row['url']">
>     <td py:content="row['id']">
>   </tr>
> </table>
>
> </body>
> </html>
> ---------------------------------------------
> doesn´t this work?
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to