Hi everybody.
I created a project using forge, generated entities, scaffold too. I created a xhtml page using primefaces, the page is rendered in screen, when I try to save the form, calling the update method in generic bean created by forge I received the follow stack trace:
javax.faces.el.EvaluationException: javax.ejb.EJBException: org.jboss.weld.exceptions.IllegalStateException: WELD-000215 Attempt to call end() on a transient conversation
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101)
javax.faces.component.UICommand.broadcast(UICommand.java:315)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
Here is the button tag:
<p:commandButton value="Salvar" action="#{registryBean.update()}"
icon="ui-icon-disk" update="@(this)" ajax="false" />
I'm using hibernate as provider, Jboss_AS7 as application server and mysql as jdbc.
Someone could help me?