[jboss-user] [JBoss Seam] - Re: exception handling - likely bug that needs to be investi

wschwendt do-not-reply at jboss.com
Wed Aug 8 12:36:15 EDT 2007


Don't really understand the code yet, but the   org.jboss.seam.mock.MockViewHandler.getActionURL(FacesContext ctx, String viewId)   could possibly be the culprit.

In particular the following line looks suspicious:


  | // org.jboss.seam.mock.MockViewHandler.getActionURL
  |   return contextPath + servletPath + viewId;
  | 

before it is reached the values of these variables are as follows:
contextPath == /seam-discs
servletPath == /artist.seam
viewId == /error.xhtml

Thus, 	"/seam-discs/artist.seam/error.xhtml"	is returned by MockViewHandler.getActionURL



But maybe this result gets processed later and hence is really intended.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072104#4072104

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072104



More information about the jboss-user mailing list