You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by resign <se...@yahoo.de> on 2012/11/06 10:04:22 UTC

T5.2.6: Catch page call in AppModule

Hi,

is it possible to catch every page call in ONE central point, like AppModule
?

The background is - i have to insert "Please wait..." - message in an
*/existing /* project.

Any ideas?


Thanks,
resign

PS: for AJAX things i use progressive display works fine.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-6-Catch-page-call-in-AppModule-tp5717693.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: T5.2.6: Catch page call in AppModule

Posted by Bob Harner <bo...@gmail.com>.
If all of the pages happen to use the same layout component then the
/easiest/ thing would be to put the message there, depending on how and
where you want the message to appear.


On Tue, Nov 6, 2012 at 4:33 AM, Lance Java <la...@googlemail.com>wrote:

> You could also use a ComponentClassTransformWorker2 to attach a custom
> mixin
> to every Page class.
>
>
> http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/transform/ComponentClassTransformWorker2.html
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-2-6-Catch-page-call-in-AppModule-tp5717693p5717697.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: T5.2.6: Catch page call in AppModule

Posted by Lance Java <la...@googlemail.com>.
You could also use a ComponentClassTransformWorker2 to attach a custom mixin
to every Page class.

http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/transform/ComponentClassTransformWorker2.html



--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-6-Catch-page-call-in-AppModule-tp5717693p5717697.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: T5.2.6: Catch page call in AppModule

Posted by Lance Java <la...@googlemail.com>.
Take a look at the diagram at the bottom of this page:
http://tapestry.apache.org/request-processing.html

You can contribute a PageRenderRequestFilter to the PageRenderRequestHandler
in your AppModule.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-6-Catch-page-call-in-AppModule-tp5717693p5717695.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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