Yes, the Ajax logic is a filter in the ComponentEventRequestHandler pipeline. The new ComponentRequestHandler pipeline is a facade around the existing ComponentEventRequestHandler and PageRenderRequestHandler pipelines.
You can see examples of how I'm using this stuff in the SVNAdmin application: http://tapestry.formos.com/nightly/svnadmin/ On Tue, Jan 27, 2009 at 11:49 AM, Ted Steen <[email protected]> wrote: > Would this apply to ajax requests too? > > 2009/1/27 Howard M. Lewis Ship (JIRA) <[email protected]>: >> Have a common handler/filter pipeline for both component event and page >> render requests, to make it easier to add filters that apply to both types >> of requests >> -------------------------------------------------------------------------------------------------------------------------------------------------------------- >> >> Key: TAP5-476 >> URL: https://issues.apache.org/jira/browse/TAP5-476 >> Project: Tapestry 5 >> Issue Type: New Feature >> Components: tapestry-core >> Affects Versions: 5.1.0.0 >> Reporter: Howard M. Lewis Ship >> >> >> Currently, if you want to put a filter in place that afects both types of >> request, you have to a contribute a ComponentEventRequestFilter to the >> ComponentEventRequestHandler service, and a nearly identical >> PageRenderRequestFilter to the PageRenderRequestHandler service. >> >> It would be nice if there was a service that acted as a facade around the >> two existing pipelines. The terminator of that pipeline could forward the >> request into one of the two existing pipelines. >> >> The common example of this is a "is logged in" filter that sends a redirect >> if the user is not logged in; you want to do this for both types of requests. >> >> -- >> This message is automatically generated by JIRA. >> - >> You can reply to this email to add a comment to the issue online. >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
