Gavin,
I found a tutorial about debugging seam-projects in eclipse. I toggled a
breakpoint in the SeamNavigationHandler (in package org.jboss.seam.jsf). It
works for the first site. After pushing the next-button on the first jsp-site,
the attribues of the Handler are as follows:
anonymous wrote
About your problem :
My brain was off-line yesterday when I replied. The error in your jsp page is
that : your h:commandButton tag in page two,... aren't inside a h:form.
I'm suprised you didn't have exception. I use facalets, when when it found a
commandButton or commandLink outside form, it
I forgot to add the view-id of start-page (need to allow back from ShipTo:
| ?xml version=1.0 encoding=UTF-8?
|
| pageflow-definition
| name=purchaseOrder1
|start-page name=PurchaseStartPage view-id=/purchase.jsp
| redirect/
| transition name=toship
Your code looks basically good to me. Put the Seam sourcecode in your
sourcepath and debug into the SeamNavigationHandler to see what is going on.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3949853#3949853
Reply to the post :
Hi,
From my understand, the pageflow isn't started (no call to begin from an
action or link beetween the jsp and the start-page.
I suggest you to set the view-id attribute of the start-page node:
| start-page name=PurchaseStartPage view-id=/purchaseStartPage.jsp
View the original post :
I think the create method starts the pageflow when the start-page is rendered.
So I don't think that is the problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3949984#3949984
Reply to the post :
You're right (Gavin) about begin of the pageflow,
In this case, not set view-id on start-page will produce a exception when
transaction tostart form ShipTo will run, because no view are define for
PurchaseStartPage.
An other suggestion : don't use the page/state name to define next/prev
Gavin,
I don't know howto debug in the SeamNavigationHandler. I tried to debug with
the Seam-Debugpage over the browser. So I deployed the jboss-seam-debug.jar to
the WEB-INF/lib directory in the war-file (Tutorial chapter 1.6.5). I need a
SeamDebugPhaseListener to be defined in the
I am pretty convinced that this is a seam problem.
The following patch makes just three changes to the CVS version of
the numberGuess example:
| * removes @Create from numberGuess.begin()
| * adds a start.jsp page that can activate numberGuess.begin()
| * changes index.html to start with
But this is correct behavior, right?
The first transition out of the start-state is supposed to occur immediately
the pageflow starts.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931087#3931087
Reply to the post :
Ignore the last msg. I understand what you are saying now. Let me think this
one through and I will get back to you.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931088#3931088
Reply to the post :
I've treated this as a bug and fixed it in CVS.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931093#3931093
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931093
---
I filed a bug report with two attachments (ear and src)
http://jira.jboss.com/jira/browse/JBSEAM-147
Thank you very much for investigating this.
Even more thanks for the creation of all your frameworks!
sincerely
ido
View the original post :
Did you solve this? It might be a bug.
If you did not solve it, please submit a runnable EAR to JIRA, so I can
reproduce this.
Thanks,
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927302#3927302
Reply to the post :
14 matches
Mail list logo