Seam woes
mic331 Oct 15, 2006 1:08 PMI have a problem where pressing the commandButton simply refreshes the page and does not invoke the action. I have seen the reference to this problem in the Seam FAQ. I have checked the suggestions with no luck. The strange thing is that this was working for me. The problem appeared, it seems, after I added Tomahawk support. Even after removing the references to Tomahawk the problem persists. I have verfified that Seam finds the component constructor. Subsequent action calls do nothing though. Below is the log trace. I continue to receive the warning about the Trinidad filter not installed although the web.xml has a reference to it.
2006-10-15 16:28:02,421 ERROR [STDERR] Oct 15, 2006 4:28:02 PM org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl verifyFilterIsInstalled
WARNING: The TrinidadFilter has not been installed. Apache Trinidad requires this filter for proper execution.
2006-10-15 16:28:02,421 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
2006-10-15 16:28:02,421 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
2006-10-15 16:28:02,421 DEBUG [org.jboss.seam.core.Manager] No stored conversation
2006-10-15 16:28:02,421 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init
2006-10-15 16:28:02,421 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(30)
2006-10-15 16:28:02,421 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: LoginAction
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: LoginAction
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: LoginAction
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: LoginAction
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: LoginAction
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: LoginAction
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.trinidadinternal.context.PageFlowScope
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.trinidadinternal.share.Cookie
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.trinidadinternal.context.CachedRequestContext
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.trinidadinternal.InitialViewRoot
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: jsf_sequence
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.trinidadinternal.context.AdfFacesPhaseListener.POSTBACK
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.sun.facelets.legacy.ELCONTEXT
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.trinidadinternal.context.AdfFacesPhaseListener.CREATED_CONTEXT
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context
2006-10-15 16:28:02,437 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
I am using myfaces 1.1.5 with seam implementation of 18/06/06 and trinidad.