I have a site that works this way also. I'm sure what you are trying
to do could be done but I just do this.

1. Make Site a service

2. class MyPage {

@Inject
private Site site;
}

I guess it's a bit more typing but it's easy. Since site is a service
it has access to the Request and whatever else you might need. You
don't need to intercept the request. Depending on how it works you
might want the service to be per thread.

If you really want to automate it I suspect it can be done with
TransformField in a ComponentClassTransformWorker, but Site would
still need to be a service.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to