In a controller I have

    @expose('project.templates.admin.form')
    def form(self, **kw):
        """
        Form to edit
        """
        tmpl_context.form = new_form

        account = None
        values = dict()
        if kw.has_key('id'):  # I want to differentiate between GET id
and POST id here
            id = kw['id']
       ....

All variables are combined in the kw array, GET and POST, how can I
tell where they coming from? Is there a way in TG2 to do this?

Greetings
Juan Pablo


-- 
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