Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Initial Version and Version 2 of Ticket #1841


Ignore:
Timestamp:
06/19/08 23:16:21 (11 years ago)
Author:
mramm
Comment:

This is done for the new renderers (just define super-simple render function which adds some fields into the dictionary before it goes in.

But that's not landing until alpha 2, so I'll commit a little hack that allows this for now. (This hack will likely not be rendering engine specific...)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1841

    • Property Status changed from new to closed
    • Property Priority changed from normal to high
    • Property Milestone changed from 2.0-preview-1 to 2.0-preview-2
    • Property Owner changed from anonymous to mramm
    • Property Resolution changed from to fixed
  • Ticket #1841 – Description

    initial v2  
    11In [source:/trunk/tg/controllers.py@latest#L226 _render_response] the namespace is hard-coded to include tmpl_context and the controller results.  This should be made easily extendable using hooks. 
    22 
    3 Additionally, hooks should be able to be made template-langauge specific.  I.e. always add 'helpers' to 'genshi' templates only. 
     3Additionally, hooks should be able to be made template-langauge specific.  I.e. always add 'helpers' to 'genshi' templates only.   
     4 
     5(new ticket generated for this temporary hack.) 
     6