Em Tue, 26 May 2009 22:04:15 -0300, zack1403 <zack.mann...@gmail.com>
escreveu:
For authentication I have contributed a master dispatcher to be called
before:RootPath.
Try before:* and tell us if it solves your problem. It's possible that
PageRenderDispatcher is being invoked before yours. Take a look at the
method that contributes the builtin Tapestry dispatchers:
public static void
contributeMasterDispatcher(OrderedConfiguration<Dispatcher> configuration)
{
// Looks for the root path and renders the start page. This is
maintained for compatibility
// with earlier versions of Tapestry 5, it is recommended that an
Index page be used instead.
configuration.addInstance("RootPath", RootPathDispatcher.class,
"before:Asset");
// This goes first because an asset to be streamed may have an
file extension, such as
// ".html", that will confuse the later dispatchers.
configuration.addInstance("Asset", AssetDispatcher.class,
"before:ComponentEvent");
configuration.addInstance("VirtualAsset",
VirtualAssetDispatcher.class, "before:Asset");
configuration.addInstance("ComponentEvent",
ComponentEventDispatcher.class, "before:PageRender");
configuration.addInstance("PageRender",
PageRenderDispatcher.class);
}
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org