Actually I am thinking more along the lines of a filter. The probelm is that I need a way to let the NavigationHandler take over for an *original* request.
Two use cases where this would apply: 1.) First page of the website needs to be a dialog 2.) You want to open the dialog in a popup window but you need to control dimensions, scrollbar, etc. (so a blank target won't work.) I could write my own filter but this strikes me as something others might want as well. That is, the ability to invoke a NavigationHandler based on a URL pattern so that you can initiate a Dialog (or any other custom process) without requiring the use of commandButton or commandLink. My thinking is that we could modify ShaleApplicationFilter (or perhaps the command chain used by it) so that if the URL contains 'launch:' it will strip 'launch:foo:xxx' from the String and then ask the NavigationHandler to handleNavigation using the String 'foo:xxx'. So if you wanted to launch a dialog (xxx) directly you could use 'launch:dialog:xxx'. sean ps. Enjoy your vacation (and self-imposed break from your computer) On 5/17/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 5/17/05, Sean Schofield <[EMAIL PROTECTED]> wrote: > > One idea might be to have a filter. I could look for a special > > pattern like "launch:dialog:xxx." If the requested URL contains that > > pattern the filter could ask the NavigationHandler to handleNavigation > > for "dialog:xxx." I think that would work. > > That should work -- on most of the extension points JSF supports the > "decorator pattern" of chaining implementations together, so you can > define your custom NavigationHandler to handle your special case, and > delegate everything else. > > > > > sean > > > > Craig > > PS: By the way ... don't look for any mail from me for the next week > or so ... off on vacation with no computer (gulp! err, i mean phew! > :-). > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]