Re: [shale] Dialog question

2005-05-26 Thread Craig McClanahan
Catching back up after vacation -- only 873 Apache email threads to go :-). On 5/18/05, Sean Schofield <[EMAIL PROTECTED]> wrote: > 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. > >

Re: [shale] Dialog question

2005-05-24 Thread gvanmatre
> On 5/24/05, [EMAIL PROTECTED] wrote: > > > Actually it turns out that FacesContext is *not* available in the > > > postprocess command. While I enjoyed the "learning experience" of how > > > to set up my own precprocess and postprocess commands, I discovered I > > > could not do what I wanted

Re: [shale] Dialog question

2005-05-24 Thread Martin Cooper
On 5/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Actually it turns out that FacesContext is *not* available in the > > postprocess command. While I enjoyed the "learning experience" of how > > to set up my own precprocess and postprocess commands, I discovered I > > could not do what I

Re: [shale] Dialog question

2005-05-24 Thread gvanmatre
> Actually it turns out that FacesContext is *not* available in the > postprocess command. While I enjoyed the "learning experience" of how > to set up my own precprocess and postprocess commands, I discovered I > could not do what I wanted. > > I checked the MyFaces implementation and verifie

Re: [shale] Dialog question

2005-05-24 Thread Sean Schofield
Actually it turns out that FacesContext is *not* available in the postprocess command. While I enjoyed the "learning experience" of how to set up my own precprocess and postprocess commands, I discovered I could not do what I wanted. I checked the MyFaces implementation and verified that the Face

Re: [shale] Dialog question

2005-05-23 Thread gvanmatre
Sean, > > The FacesContext would be avaiable in a registered preprocess or postprocess > > chain command. > > Maybe a pre or post command could add a default Status to session scope, > > mocking the DialogNavigation.getStatus(). > > This might simulate being engaged in a dialog. I believe tha

Re: [shale] Dialog question

2005-05-23 Thread Sean Schofield
> The FacesContext would be avaiable in a registered preprocess or postprocess > chain command. > Maybe a pre or post command could add a default Status to session scope, > mocking the DialogNavigation.getStatus(). > This might simulate being engaged in a dialog. I believe that the dialog > begins

Re: [shale] Dialog question

2005-05-18 Thread gvanmatre
> 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. > The FacesContext would be avaiable in a registered preprocess or postprocess chain command. Maybe a pre or post command could a

Re: [shale] Dialog question

2005-05-18 Thread Sean Schofield
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

Re: [shale] Dialog question

2005-05-17 Thread Craig McClanahan
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

Re: [shale] Dialog question

2005-05-17 Thread Craig McClanahan
On 5/16/05, Sean Schofield <[EMAIL PROTECTED]> wrote: > Craig, > > Great job on the new dialog stuff! Also I like the nightly builds of > the usecases app because it allows users to check out what you're up > to without hassling with Ant, etc. > Thanks ... that's very much the idea. > I am sti

Re: [shale] Dialog question

2005-05-17 Thread Sean Schofield
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. sean On 5/17/05, Sean Schofield <[EMAIL PROTECTE

Re: [shale] Dialog question

2005-05-17 Thread Sean Schofield
> I'm not Criag but had some thoughts. In this case I mentioned him by name because I wanted to compliment his work on the dialog stuff. I'm interested in everyone's feedback back on this ;-) > What about using the commandLink with a target where the action attribute was > "dialog:xxx". A good

Re: [shale] Dialog question

2005-05-17 Thread gvanmatre
Hi Sean, I'm not Criag but had some thoughts. > Craig, > > Great job on the new dialog stuff! Also I like the nightly builds of > the usecases app because it allows users to check out what you're up > to without hassling with Ant, etc. I agree! The actions between pages seem to be like Stru