[JBoss JIRA] Created: (RF-5456) Non-Ajax requests badly handled if ViewExpiredExceptions are managed on client
by Pierre Wargnier (JIRA)
Non-Ajax requests badly handled if ViewExpiredExceptions are managed on client
------------------------------------------------------------------------------
Key: RF-5456
URL: https://jira.jboss.org/jira/browse/RF-5456
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Tomcat 6 + Facelets + JSF 1.2_09 RI
Reporter: Pierre Wargnier
If you activate org.ajax4jsf.handleViewExpiredOnClient in web.xml, the ViewExpiredExceptions are catched by the Ajax filter and a Ajax response will create a javascript "confim" window to ask the user to reload the page.
If the request that cause the ViewExpiredExceptions is not an AJAX one: only a blank page with the AJAX XML behind.
Proposed solution: Handle ViewExpired on client _only_ if request is AJAX. Throw the exception the normal way otherwise.
In org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(FilterChain, HttpServletRequest, HttpServletResponse)
instead of
log.error("Exception in the filter chain", e);
if(handleViewExpiredOnClient && isViewExpired(e)){
do this:
if(handleViewExpiredOnClient && isViewExpired(e) && request.getParameterMap().containsKey("AJAXREQUEST")){
log.info("View expired handling sent to client"); //View expired exceptions are quite commons, don't clog the logs tracing them
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months
[JBoss JIRA] Created: (RF-4792) Rich:orderingList throws null pointer exception while we drop some item in it, when empty
by Nik Raut (JIRA)
Rich:orderingList throws null pointer exception while we drop some item in it, when empty
-----------------------------------------------------------------------------------------
Key: RF-4792
URL: https://jira.jboss.org/jira/browse/RF-4792
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Rich:orderingList throws null pointer exception while we drop some item in it, when empty
Reporter: Nik Raut
Priority: Critical
I have an orderingList with drop support. I drop an item in it from a table with drag support. It works fine when I already have some items in the orderingList but fails when empty. This feature used to work with RichFaces 3.2.0 version but after upgrading to 3.2.2.GA it starts throwing exception. The exception stack trace is below:
Exception during request processing:
Caused by javax.servlet.ServletException with message: ""
javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
weblogic.work.ExecuteThread.run(ExecuteThread.java:181)Caused by java.lang.NullPointerException with message: ""
org.richfaces.component.UIOrderingList$SubmittedValue.access$700(UIOrderingList.java:76)
org.richfaces.component.UIOrderingList.validate(UIOrderingList.java:579)
org.richfaces.component.UIOrderingBaseComponent.executeValidate(UIOrderingBaseComponent.java:247)
org.richfaces.component.UIOrderingBaseComponent.processValidators(UIOrderingBaseComponent.java:286)
org.richfaces.component.UIOrderingList.processValidators(UIOrderingList.java:330)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1047)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1047)
javax.faces.component.UIForm.processValidators(UIForm.java:235)
org.richfaces.component.UISimpleTogglePanel.processValidators(UISimpleTogglePanel.java:142)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1047)
org.richfaces.component.UISwitchablePanel.processValidators(UISwitchablePanel.java:236)
org.ajax4jsf.component.AjaxViewRoot$3.invokeContextCallback(AjaxViewRoot.java:439)
org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:238)
org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:455)
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months
[JBoss JIRA] Created: (RF-4459) rich:toolTip hideDelay behavior incorrect after first display
by Chris Dollar (JIRA)
rich:toolTip hideDelay behavior incorrect after first display
-------------------------------------------------------------
Key: RF-4459
URL: https://jira.jboss.org/jira/browse/RF-4459
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2, 3.2.1
Environment: Ubuntu Linux 64 bit, JDK 1.5.0_09 (32 bit JDK), JBoss AS 4.2.2.GA, RichFaces 3.2.2.GA (also tested on 3.2.1.GA), Firefox2
Reporter: Chris Dollar
When using a rich:tooltip with a hideDelay value set the hideDelay is only honored the first time the tooltip is rendered. After subsequent calls to show the tooltip the tooltip remains rendered on the screen. At that point you can click inside the tooltip which will cause the tooltip to be rendered again.
I tested this with Richfaces 3.2.2.GA and 3.2.1.GA and got the same behavior (I've not tried it with any previous versions). I created a simple testcase based off of the tooltip demo in the main RichFaces demo. All I did was add a 'hideDelay="1000"' to both of the ajax example tooltips. Ill attach the testcase with source and a deployable .ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months
[JBoss JIRA] Created: (RF-2644) Problem with scrollableDataTable and seam link
by Rainer Flicker (JIRA)
Problem with scrollableDataTable and seam link
----------------------------------------------
Key: RF-2644
URL: http://jira.jboss.com/jira/browse/RF-2644
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: RichFaces 3.2.0.CR3
JBoss Seam 2.0.1.GA
JSF 1.2 + Facelets 1.1.14
JBoss 4.2.2.GA
JDK 1.5.0_11
Reporter: Rainer Flicker
Seam Link with scrollableDataTable links for each item to the last item of the table.
E.g. selecting item 10 of 20 opens item 20. The link shown in a browser is always the same.
------ xhtml snippet ---------------------------------------------------------------------------------------------------
<rich:scrollableDataTable value="#{findings}" var="finding"
height="600px" sortMode="single" width="700px">
<rich:column width="355px" sortExpression="#{finding.title}">
<f:facet name="header">
<h:outputText styleClass="headerText" value="Name" />
</f:facet>
<h:outputText value="#{finding.title}" />
</rich:column>
<rich:column width="60px" style="text-align:center" sortable="false">
<f:facet name="header">
<h:outputText styleClass="headerText" value="Details" />
</f:facet>
<s:link action="#{findingDetailsManager.select(finding)}">
<h:graphicImage id="editimage" url="/img/buttons/edit.gif" alt="Details"></h:graphicImage>
</s:link>
</rich:column>
</rich:scrollableDataTable>
------------------------------------------------------------------------------------------------------------------------------
--
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
15 years, 11 months