On Thu, Apr 30, 2009 at 5:14 PM, JohnMc <[email protected]> wrote:

>
> ... On my part.
>
> Something really simple.
>
> ....


> View: [contacts/browse.html]
>
> {{extend 'layout.html'}}
> <h1>Show Contacts</h1>
> <table style="width: 797px; height: 88px;">
> <tbody><tr>
> <td> <b>Last Name        </b>
> </td>
> <td> <b>First Name       </b>
> </td>
> <td> <b>Contact Method   </b>
> </td>
> </tr>
>
> {{for row in rec:}}
> <tr>
> <td> {{row.lastname}}


To output the value into the page, this should look like:

    <td> {{=row.lastname}}

(Without that, you are just processing a statement in the template script,
but not yet outputing it to the page)


>
> </td>
> <td> {{row.firstname}}
> </td>
> <td> {{row.phone}}
> </td>
> </tr>
> {{pass}}
> </table>
>
> -------------------------------------------------------
>
> The field names are correct in the DAL. No error ticket is issued but
> the display in the Admin screen renders blank for everything in the
> {{for...}} --- {{pass}} loop.
>
> What the heck have I missed?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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