Thanks for the pointer. I have implemented this, but I am not sure how to
use the information it provided me to solve my problem. 

For example, the "Request Lifecycle" shows all green, but there is no
reference to the next page which should be invoked based upon the return
string in my backing bean. 

Any thoughts ? 

Thanks. 

-----Original Message-----
From: James Richards [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 25, 2006 10:37 AM
To: MyFaces Discussion
Subject: RE: how to debug jsf flows


Someone kindly clued me into this project:

http://facestrace.sourceforge.net/

and it is a great time saver for MyFaces newbies.  Please take a look.

Regards,

James


-----Original Message-----
From: Greg Buchanan [mailto:[EMAIL PROTECTED]
Sent: Wed 5/24/2006 5:09 PM
To: [email protected]
Subject: how to debug jsf flows
 
I have just started working with JSF and am trying to debug my simple
application (based upon the myfaces blank). 
 
The problem I am trying to debug is that the commandButton does not seem to
be firing. 
 
the page is:
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t" %> <body>
<f:view>
    
 <t:jscookMenu layout="hbr" theme="ThemeOffice">
  <t:navigationMenuItem id="nav_1" itemLabel="ok"
action="#{loginBacking.send}" />
  <t:navigationMenuItem id="nav_2" itemLabel="fail"
action="#{loginBacking.send}" />  </t:jscookMenu>
 
        
<h:form id="form">
  <h:panelGrid id="grid" columns="2">
    <h:outputText id="output1" value="Please enter your name"/>
    <h:inputText id="input1" value="#{loginBacking.name}" required="true"/>
    <h:commandButton id="button1" value="press me" action="gonefishing"/>
    <h:commandButton id="button2" value="Fail me"
action="#{loginBacking.fail}"/>
    <h:message id="message1" for="input1"/>
  </h:panelGrid>
</h:form>
 
<h:messages showDetail="true" globalOnly="false" showSummary="true" />
 
</f:view>
</body>
 
clicking on any of the buttons does nothing but re-display the helloWorld
page that I start with. The validation event (required=true on the input1
field) works fine. 
 
Any suggestions on how to debug this is greatly appreciated. I am using a
1.1.4 myfaces snapshot and 1.1.3 Tomahawk snapshot. These were pulled down
to get past the dummy menu form problem. 
 
I appreciate any guidance or suggestions. 
 
Thank you. 


Reply via email to