Re: Simple PageFlow

2006-07-12 Thread Mike Duffy
This works. It is simple and seems efficient. Check the viewId, check the object state, then do nothing or forward to the appropriate page. Mike --- Mike Duffy [EMAIL PROTECTED] wrote: Rather than using SEAM or Spring WebFlow, I am wondering if it might be possible to use a

Re: Simple PageFlow

2006-07-12 Thread Mario Ivankovits
Hi Mike! This works. It is simple and seems efficient. Check the viewId, check the object state, then do nothing or forward to the appropriate page. You looked at the conversationTag, no? I do not understand what you gain if you create such a pageFlow when all your objects still live

Simple PageFlow

2006-07-11 Thread Mike Duffy
Rather than using SEAM or Spring WebFlow, I am wondering if it might be possible to use a PhaseListener to create a simplified page flow. By using facesContext.getViewRoot().getViewId(); it is possible to determine what page the user has landed on. By using

Re: Simple PageFlow

2006-07-11 Thread Mario Ivankovits
Hi Mike! Please share your thoughts. Have a look at http://wiki.apache.org/myfaces/ConversationTag which doesn't require you to have yet another configuration file. I currently try to setup a sample application with this tag and hibernate, but this might take some time as I have another