In the section "Passing Variables to Templates" of the "Getting
Started" document It would be helpful to mention the alternative way,
which IMO is more intuitive:
action code:
def serverinfo(self):
m.subexec('/serverinfo.myt', value=2)
serverinfo.myt code:
<%args>
value
</%args>
<p>The value of <tt>c.value</tt> is:
<% value %>
cheers,
Alex.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss
-~----------~----~----~----~------~----~------~--~---