-
1. Re: Backbutton Example
markfoerstein Jul 15, 2006 12:00 PM (in response to khsiow)Did you try the booking example? It seems to handle the back button very well.
-
2. Re: Backbutton Example
basel Jul 15, 2006 2:52 PM (in response to khsiow)jBPM pageflow solves the problem of backbutton. Take a look at Chapter 4 of the documentation.
-
3. Re: Backbutton Example
khsiow Jul 15, 2006 10:06 PM (in response to khsiow)Thanks for the pointers. I just tried the booking example. When I used the backbutton and later clicked on a action button, it displayed no conversation message. I was expecting the system would redisplay the current page immediately as soon as I hit the backbutton.
I guess I've to debug my current test program. It didn't display the currently active state page. -
4. Re: Backbutton Example
khsiow Jul 15, 2006 11:01 PM (in response to khsiow)I reprogrammed my test example and now I got an example. There must be something I didn't get it right to have Seam to redisplay the current page.
21:23:34,937 ERROR [PhaseListenerManager] Exception in PhaseListener RESTORE_VIEW(1) afterPhase
java.lang.IllegalStateException: No active conversation context
at org.jboss.seam.core.Process.instance(Process.java:32)
at org.jboss.seam.core.TaskInstance.instance(TaskInstance.java:51)
at org.jboss.seam.contexts.BusinessProcessContext.getTaskInstance(BusinessProcessContext.java:213)
at org.jboss.seam.contexts.BusinessProcessContext.get(BusinessProcessContext.java:51)
at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:155)
at org.jboss.seam.Component.getInstance(Component.java:1245) -
5. Re: Backbutton Example
gavin.king Jul 17, 2006 12:23 AM (in response to khsiow)"khsiow" wrote:
I was expecting the system would redisplay the current page immediately as soon as I hit the backbutton.
That is definitely not the expectation, and would not be desirable.