You should look in the log files of your servlet container for errors. Since it goes somewhere (a blank page) something must of happened. The log files probably have an error in them.
----- Original Message ----- From: "CupertinoIndian" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, April 05, 2005 7:05 PM Subject: Navigation not working in MyFaces (works with Sun's RI) > > I wrote a small sample application. The application is working with Sun's > Reference Implementation. In My faces the first page shows up correctly but when > I press the "next" button, it leads me to an empty page instead of second page. > I am not even sure how to debug this, any ideas? The web pages are not very > intuitive to tell what is going on. > Anyway, when I go to first page, I copied the html source of the page (both for > Sun's RI and myfaces and it is attached below. If you can read the source to > tell me why it wont work with myfaces, I will appreciate that. > Thanks > > Source of first page using Sun's RI > ---------------------------------------------------------- > > <HTML> > <script language="javascript" > src="/Advisor/iAdvisorWeb/bundles/cafecommon/scripts/cafecommon.js"></script > > <BODY> > <form id="_id0" method="post" > action="/Advisor/xAdvisorWeb/bundles/ic/jsf/dummy.faces" > enctype="application/x-www-form-urlencoded"> > <div style="height:95%;overflow: auto;"> > <table> > <tbody> > <tr> > <td>Process</td> > <td>DummyProcess</td> > </tr> > <tr> > <td>Name</td> > <td>One</td> > </tr> > <tr> > <td>Id</td> > <td>-1320003/7</td> > </tr> > </tbody> > </table> > <table> > <thead> > <tr> > <th scope="col">ioMap.key</th> > <th scope="col">ioMap.value</th> > </tr> > </thead> > <tbody> > <tr> > <td>ctx1</td> > <td>456</td> > </tr> > </tbody> > </table> > <div style="height:30px"> > <hr /> > <table width="100%"> > <tr> > <td><input type="hidden" name="ClientTaskCacheKey" value="-1320003/7" > /><input type="submit" name="_id0:footer:_id19" value="Defer" > class="navigationButtonPanel" /></td> > <td align="right"><input id="_id0:footer:nextButton" type="submit" > name="_id0:footer:nextButton" value="Next" class="navigationButtonPanel" /></td> > </tr> > </table> > </div> > <input type="hidden" name="com.sun.faces.VIEW" > value="H4sIAAAAAAAAANVZy2/cxhkfUW/JaCTHcQPXsjd+xDFg70ryS3.............." > /> > <input type="hidden" name="_id0" value="_id0" /></form> > </table> > </body> > </html> > ---------------------------------------------------------- > > Source of first page using myfaces: > ---------------------------------------------------------- > > <HTML> > <script language="javascript" > src="/Advisor/iAdvisorWeb/bundles/cafecommon/scripts/cafecommon.js"></script > > <BODY> > <form id="_id0" name="_id0" method="post" > action="/Advisor/xAdvisorWeb/bundles/ic/jsf/dummy.faces" > enctype="application/x-www-form-urlencoded"> > <div style="height:95%;overflow: auto;"> > > <table><tbody><tr><td>Process</td><td>DummyProcess</td></tr><tr><td>Name</td > > <td>One</td></tr><tr><td>Id</td><td>-1330001/7</td></tr></tbody></table> > > <table><thead><tr><th>ioMap.key</th><th>ioMap.value</th></tr></thead><tbody> <tr> > <td>ctx1</td><td></td></tr></tbody></table> > > <div style="height:30px"> > <hr /> > <table width="100%"> > <tr> > <td> > <input type="hidden" value="-1330001/7"/><input id="_id0:footer:_id19" > name="_id0:footer:_id19" type="submit" value="Defer" onclick="clear__5Fid0();" > class="navigationButtonPanel"/> > </td> > <td align="right"> > <input id="_id0:footer:nextButton" name="_id0:footer:nextButton" type="submit" > value="Next" onclick="clear__5Fid0();" class="navigationButtonPanel"/> > </td> > </tr> > </table> > </div> > <input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" > name="_id0:_link_hidden_"/><script type="text/javascript"> > <!-- > function clear__5Fid0() { > var f = document.forms['_id0']; > f.elements['_id0:_link_hidden_'].value=null; > f.target=''; > } > clear__5Fid0(); > //--> > </script></form> > </table> > </body> > </html> > ---------------------------------------------------------- > > > >

