Hi all,

I assume this may be a frequently asked question, but (how) can you
define the component processing order? Say, I have a component PluginB
that I want to be get processed only after PluginA - how can I define
that?

I found the following config key (http://trac.edgewall.org/wiki/
TracIni#trac-section), but I'm not sure if it works (for me):

[trac]
request_filters = Ordered list of filters to apply to all requests
(since 0.10)

I also tried changing the order in [component] section, without
success. The only way that I managed to change the order is in imports
(with submodules, __init__.py):

from dummy import PluginB
from dummy import PluginA

  vs.

from dummy import PluginA
from dummy import PluginB

----

A common use case is request filtering (for example, a plugin that
wont's to process HTML after all the other plugins have already
modified the DOM), but I'm sure there are other cases as well.

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