On Mon, Mar 8, 2010 at 6:02 AM, Vishal <[email protected]> wrote:
> Hello,
>
> I am trying to understand how match_request() works.
>
[...]
>
> can some one explain how exactly match_request and process_request is
> used?
>

call `match_request` of installed handlers and call `process_request`
for the first one returning True

> Also, is the req object configurable?

What does this mean ?

> Can i send across the id name of
> the element from which this ajax request is being sent. I wish to
> perform different actions on requests coming from different HTML
> elements.
>

Use req.path_info to perform the match and req.args to access the arguments

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
On adding Hessian (RPC) support for Trac -
http://feedproxy.google.com/~r/simelo-en/~3/Vit6dRudChU/on-adding-hessian-rpc-support-for-trac.html

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en.

Reply via email to