This seems simple but I'm not seeing how to do it.  I'd like to put the
current referer into a HiddenField in my form.  I tried:

     HiddenField(name='referer', default=lambda: 
cherrypy.request.headers['REFERER'])

but that didn't evaluate the function.  Is there a way to do this or do
I need to write my own widget?

--David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to