Less typing is good. :-) Krys
Kevin Dangoor wrote: >On 10/1/05, Jeff Watkins <[EMAIL PROTECTED]> wrote: > > >>On 10/1/05, Elvelind Grandin <[EMAIL PROTECTED]> wrote: >> >> >>>if you are using the svn version you can do >>> >>>@expose(html="..", tg_format="xml") >>> >>> >>Just out of curiosity: since the tg_format parameter is passed to a >>turbogears function decorator, is it necessary to prefix it with tg_? >>I understand this is probably because the URL parameter is tg_format, >>but... >> >> > >Interesting point. Hmm... It seems like we should either change html >to tg_html to be consistent with the dictionary parameter, or we >should drop the tg from format in the expose context. > >My inclination is to drop the tg_ from format given that we are very >clearly in a context where there's no confusion about the parameter >being a TurboGears thing. > >Other opinions? > >Kevni > >-- >Kevin Dangoor >Author of the Zesty News RSS newsreader > >email: [EMAIL PROTECTED] >company: http://www.BlazingThings.com >blog: http://www.BlueSkyOnMars.com > > >

