Not at all stupid since that is valid Django notation.

On Apr 30, 7:13 pm, Yarko Tymciurak <[email protected]> wrote:
> Not at all; happy to...
>
> In my experience, many things seem obvious, once you see them.
> I love the saying - "the only stupid question is the one you don't ask" :-)
>
> Feel free to ask anything!
>
> On Thu, Apr 30, 2009 at 6:29 PM, JohnMc <[email protected]> wrote:
>
> > Yep, something stupid. Should have caught that.
>
> > Thanks!
>
> > On Apr 30, 5:22 pm, Yarko Tymciurak <[email protected]> wrote:
> > > 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