> For example > > $def with(row): > $row.first_field > > I'd prefer to just have to write this $first_field in my template.
if you insist, do this: $def with (first_field, second_field, third_field) <h1>$first_field</h1> <h2>$first_field</h2> <h3>$first_field</h3> you can't pass a storage instance and expect its keys/values to be automatically unpacked for you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
