[jboss-user] [JBoss Seam] - Re: contactlist example not working on jboss with JSF 1.2 RI

cja987 do-not-reply at jboss.com
Wed Oct 18 15:41:22 EDT 2006


Okay, I switched all the .xhtml extensions in pages.xml to .seam, and now viewContact works, but editContact continues to give me a blank contact.  Delete Contact is also nonfunctional, and results in this on the console:

WARNING: phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl at 5f8ddb) threw exception: javax.faces.el.EvaluationException: org.hibernate.TransientObjectException: the detached instance passed to delete() had a null identifier org.hibernate.TransientObjectException: the detached instance passed to delete() had a null identifier
  | com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:97)
  | org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
  | org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:71)
  | org.jboss.seam.core.Expressions$2.invoke(Expressions.java:93)
  | org.jboss.seam.core.Pages.callAction(Pages.java:309)
  | org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:171)
  | org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:143)
  | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:52)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:218)
  | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | ...etc...
  | 

Just for the hell of it I changed all the view-id's in faces-config.xml to use .seam extensions too.  No effect.


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

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



More information about the jboss-user mailing list