-
1. Re: How to Trace Seam's Navigation Logic...
luxspes May 28, 2009 9:44 PM (in response to arnieoag)
Arnie Morein wrote on May 28, 2009 21:02:
I'm trying to figure out what's wrong with my .page.xml files and conversation demarcation and logic.Yes, that can be hard, it shouldn't, but it is
I can get from page 1 to 2 (no conversation) but going from 2 to 3 should start a conversation and based on a tag in page.xml, post the changes to the database.Ok...
When I press myAdd
button to get from page 2 to 3, an error occurs - but nothing is returned via my portlet (using Seam 2.1.1.GA and portlet bridge 1.0.0.CR1, facelets 1.1.14).Are you coding from inside eclipse? Do you see the stacktrace in the Console window? That can give a lot of clues on what is going wrong...
The log files have no real information (at least to me) that indicates what is wrong, just that itsredirecting to /error.xhtml
, which is my default error page.Ok... and no stacktrace nowhere? Which one of the
exceptions
section in .page.xml is catching your exception?
Is there a package or class I can do trace logging on in order to see what's going on? I have tried logging on org.jboss.seam.navigation.*, but nothing is ever written.Please vote for JBSEAM-3831. Oh and then for JBIDE-3383 too. Thanks
-
2. Re: How to Trace Seam's Navigation Logic...
arnieoag May 28, 2009 10:06 PM (in response to arnieoag)No stack trace, no errors, no nothing. It may be a result of the portlet bridge swallowing something.
But are you telling me there's no logging built into the Seam/Navigation code that can be traced?!?!
-
3. Re: How to Trace Seam's Navigation Logic...
yahawari May 29, 2009 3:00 AM (in response to arnieoag)not sure if that helps, but since u cannot see a stack trace and ur application is redirecting you to the error page, try making the error page show u what is wrong :
<exception class="java.lang.Exception"> <redirect view-id="/error.xhtml"> <message severity="error">#{org.jboss.seam.handledException.message}</message> </redirect> </exception>
-
4. Re: How to Trace Seam's Navigation Logic...
swd847 May 29, 2009 4:38 AM (in response to arnieoag)if you set debug=true on core:init you should be able to display the error.