Hi, Does Orbeon provide a mechanism by which one could have a pipeline executed on every request, or on requests where the request path matches some user defined patterns, similar to a servlet filter, but at the orbeon layer, and also similar to the context and session creation/destry listeners? Thanks, Mats -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Mats,
That mechanism is called the page flow ;). Seriously, could you elaborate on what your use case for this is? Alex |
Alex,
Yes, I realized I could probably use the PFC for this :)
The use case: my application allows users in different roles to use the application in different "application modes". For example, a user in the admin role can switch between the application modes "administration" and "normal use". Some pages are restricted to admins, whereas other pages are not restricted but render differently depending on the application mode. The current application mode is stored in a session variable, and is initialized with it. Now, if an admin user requests an admin page while currently using the application in "normal use" mode (for example by using a bookmark in the browser), the application has to deal with this somehow and prevent an admin page to be delivered while in "normal use" mode, for example by automatically switching to admin mode. As this check would need to be performed before processing any page, it ought to go into some kind of request filter... I guess there are
various other use cases as well...
From: Alessandro Vernet <[hidden email]> To: [hidden email] Sent: Monday, August 31, 2009 2:24:51 AM Subject: [ops-users] Re: re quest listeners? Mats, Mats Eklund-2 wrote: > > Does Orbeon provide a mechanism by which one could have a pipeline > executed on every request, or on requests where the request path matches > some user defined patterns, similar to a servlet filter, but at the orbeon > layer, and also similar to the context and session creation/destry > listeners? > That mechanism is called the page flow ;). Seriously, could you elaborate on what your use case for this is? Alex ----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- View this message in context: http://www.nabble.com/request-listeners--tp25115505p25216973.html Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |