Hello,

I am trying to understand how match_request() works.

In the development tutorial, the match_request sends a True or False
based on whether the request is coming from a path that contains '/
helloworld'.

In the autocompleteusers plugin, the match_request sends True or False
based on whether req.path_info contains '/users'. However, the request
generation stuff which is in a JS file (autocomplete.js) does not
contain this '/users' anywhere, so I am not sure how the process
request happens?

can some one explain how exactly match_request and process_request is
used?

Also, is the req object configurable? 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.

Help is highly apprecirated.

Thanks and best regards,
Vishal Sapre

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