this works, thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/SimpleRequestWrapper-and-LinkTransformer-tp5043890p5045517.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To
Add a static import to the top of your module class and it will compile fine:
import static org.apache.tapestry5.ioc.OrderConstraintBuilder.after;
On Sat, 03 Dec 2011 07:25:44 +0100, angelochen
wrote:
"after" not accepte, btw, i'm still using 5.2.6
Martin Strand-4 wrote
public void c
t; after("StoreIntoGlobals").before("EndOfRequest").build());
> }
>
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/SimpleRequestWrapper-and-LinkTransformer-tp5043890p5044026.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Do you mean it compiles fine, but has no effect at runtime?
This is an "ordered" configuration, you might need to specify where in the list
of request filters you want yours inserted.
http://tapestry.apache.org/tapestry-ioc-configuration.html#TapestryIoCConfiguration-OrderedList
Here's how I con
;
> public void contributeRequestHandler(OrderedConfiguration
> configuration, ...)
> {
>configuration.add("YourRequestFilter", new YourRequestFilter() ...);
> }
>
>
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/SimpleRequestWrapper-and-LinkT
I'm doing these kind of arbitrary rewrites with a custom RequestFilter, sounds
like that would suit your needs.
Here's an example:
public class YourRequestFilter
implements RequestFilter
{
@Override
public boolean service(Request request, Response response, RequestHandler
handler)
th
s message in context:
http://tapestry.1045711.n5.nabble.com/SimpleRequestWrapper-and-LinkTransformer-tp5043890p5043890.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-