Ha. Not sure this filter still works from the trunk. If it does, all
you'd need to do is drop it in the proper place in the filter chain
(config tree:/server/filters). You can control its position during
the installation of your module using the FilterOrderingTask in your
module's version handler
hth,
g
On Aug 23, 2007, at 14:01 , Ian Johannesen wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
So if I have a custom module I have to move the custom filter into the
server/filters list and add it manually instead of via the .xml
file for
the filter? Meaning it's just another concrete class injected into
magnolia just via a nice packaging as a custom module?
I thought that the bypass settings was simply to ignore the filter
completely in the parsing of the requests matching it.
The MgnlServletDispatcherFilter (info.magnolia.cms.filters) does
exactly
what I need. It's just relatively static in it's construction. I just
need to be able to package it into a custom module to make it more
"The
Magnolia-way".
Grégory Joseph wrote:
Filters in 3.1 don't use priority anymore, but are simply executed in
the order in which they're stored. Each filter can have custom bypass
settings, which is prbly what you're looking for.
On Aug 23, 2007, at 12:50 , Ian Johannesen wrote:
Hi,
I've been trying to archive a servlet mapping without having to
mutilate
the web.xml by simply patching magnolia.
For the sake of common ground I'll mention this is 3.1-SNAPSHOT I'm
working with (/trunk).
So far I've created a custom module, which loads just fine, with a
customer filter. I've tried to set the priority both to very low and
high numbers. Neither does it help as MagnoliaMainFilter
(info.magnolia.cms.filters) still intercepts it and hence my custom
filter doesn't receive the request and due to this my custom servlet
doesn't get called.
Someone out there who could point me in the right direction perhaps?
- ----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
- ----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
- --
Digitally Yours,
Ian Johannesen
web: http://perlpimp.dk/
msn: [EMAIL PROTECTED]
cel: (+34) 663 739 237
cel: (+45) 21 19 35 34
tel: (+34) 952 206 905
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGzXcc0/HOnDavf4YRAhg7AKCZEviYqpVCzXlc7ztIhGwNiJapKQCfaDX8
QqdirGDxp0oQAMV/LkqBwIM=
=RXpP
-----END PGP SIGNATURE-----
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------