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

Ticket #340 (closed enhancement: fixed)

Opened 13 years ago

Last modified 12 years ago

[PATCH] Make expose accept and propogate the fragment flag provided by kid.Template.serialize

Reported by: robinbryce@… Owned by: anonymous
Priority: normal Milestone: 0.9
Component: TurboGears Version:
Severity: normal Keywords: expose,serialize
Cc:

Description

The expose decorator is really great for json or html output. I'd like to be able to expose the results of kid template expansion, but without the XML prologue information. Specifically, I wan't to expose the fragment parameter, provided by kid.Template.serialize

Patch to follow.

Attachments

expose_kid_fragment.patch Download (2.1 KB) - added by robinbryce@… 13 years ago.
Adds a 'fragment' parameter to expose, which is then propogated to kid.Template.serialize
expose_kid_fragment_with_testfailures_fixed.patch Download (2.9 KB) - added by robinbryce@… 13 years ago.
Adds a 'fragment' parameter to expose, which is then propogated to kid.Template.serialize

Change History

Changed 13 years ago by robinbryce@…

Adds a 'fragment' parameter to expose, which is then propogated to kid.Template.serialize

Changed 13 years ago by robinbryce@…

Adds a 'fragment' parameter to expose, which is then propogated to kid.Template.serialize

comment:1 Changed 13 years ago by kevin

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 0.9

committed in [449].

Note: See TracTickets for help on using tickets.