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 un
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
"after" not accepte, btw, i'm still using 5.2.6
Martin Strand-4 wrote
>
>
> public void contributeRequestHandler(OrderedConfiguration
> configuration)
> {
>configuration.add("basicPathRequestFilter", new
> BasicPathRequestFilter(...),
> after("StoreIntoGlobals").before("EndOfRequest").build
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
Thanks, can you give more details on this part? mine does not work:
public void contributeRequestHandler(OrderedConfiguration
configuration) {
configuration.add("basicPathRequestFilter", new
basicPathRequestFilter(pathServices));
}
Martin Strand-4 wrote
>
>
> public void contribute
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
On Mon, 19 Sep 2011 19:01:34 -0300, Juan Germán Castañeda Echevarria
wrote:
Hi,
Hi!
I am in the process of upgrading to 5.3 and I have a request handler
which uses SimpleRequestWrapper which is now deprecated.
It was part of the URL rewriting API that was deprecated in 5.2 and
remove