[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1299) s:link - Postback before redirect triggers Page Action of PREVIOUS page
by John Chesher (JIRA)
s:link - Postback before redirect triggers Page Action of PREVIOUS page
-------------------------------------------------------------------------
Key: JBSEAM-1299
URL: http://jira.jboss.com/jira/browse/JBSEAM-1299
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.2.0.GA
Environment: Seam 1.2-Patch1
Reporter: John Chesher
Scenario:
Page A contains an <s:link> to go to page B. Page A has a page action defined in pages.xml. When I click the s:link on Page A, to go to Page B, it invokes the page action for Page A before redirecting to Page B. If I replace the s:link with an h:commandLink, it works as I would expect it to, i.e., no page action for Page A.
I have now retested and I have this scenario in multiple instances within my application. In most cases, I didn't even realize that it was invoking the page action for Page A, as by luck the method was designed such that it did not throw an exception or cause any other noticeable problems. However, I finally noticed this behavior when my luck ran out and I wrote a page action method that threw an exception when called unitentionally in this situation.
Is this perhaps a bug in s:link or am I not properly understanding and utilizing its capabilities?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1308) UnifiedELValueBinding needs default constructor so that it is properly Serailizable
by Chris Rudd (JIRA)
UnifiedELValueBinding needs default constructor so that it is properly Serailizable
-----------------------------------------------------------------------------------
Key: JBSEAM-1308
URL: http://jira.jboss.com/jira/browse/JBSEAM-1308
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 1.2.1.GA
Reporter: Chris Rudd
UnifiedELValueBinding cannot be restored properly when referenced by a component
09:51:46,256 ERROR [ExceptionFilter] exception root cause
java.lang.RuntimeException: Could not restore StateHolder of type org.jboss.seam.util.UnifiedELValueBinding (missing no-args constructor?)
at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:894)
at javax.faces.component.UIComponentBase.restoreValueBindingMap(UIComponentBase.java:1009)
at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:951)
at javax.faces.component.UICommand.restoreState(UICommand.java:189)
at org.ajax4jsf.ajax.html.HtmlAjaxCommandButton.restoreState(HtmlAjaxCommandButton.java:1379)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:728)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:719)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:719)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:221)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:287)
at org.ajax4jsf.framework.ajax.AjaxStateManager.restoreView(AjaxStateManager.java:83)
at org.jboss.seam.jsf.SeamStateManager.restoreView(SeamStateManager.java:49)
at org.ajax4jsf.framework.ajax.AjaxStateManager.restoreView(AjaxStateManager.java:83)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:317)
at org.ajax4jsf.framework.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.restoreView(AjaxViewHandler.java:147)
at org.jboss.seam.jsf.SeamViewHandler.restoreView(SeamViewHandler.java:64)
at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:317)
at org.ajax4jsf.framework.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.restoreView(AjaxViewHandler.java:147)
at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 11 months