[JBoss JIRA] Created: (RF-10705) Metamer - Tooltip targetting sample - NullPointerException
by Lukas Fryc (JIRA)
Metamer - Tooltip targetting sample - NullPointerException
----------------------------------------------------------
Key: RF-10705
URL: https://issues.jboss.org/browse/RF-10705
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-output
Affects Versions: 4.0.0.CR1
Environment: http://localhost:8080/metamer/faces/components/richTooltip/targetting.xhtml
* RichFaces 4.0.0.20110227-CR1 r.21967
* Metamer 4.0.0.20110228-CR1 r.21993
* Mojarra 2.1.0-FCS
* JBoss AS 6.0.0.Final
* OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
* Firefox 3.6.14 @ Linux x86_64
Reporter: Lukas Fryc
java.lang.NullPointerException
at org.richfaces.renderkit.html.TooltipRenderer.getScriptObjectOptions(TooltipRenderer.java:207)
at org.richfaces.renderkit.html.TooltipRenderer.getScriptObject(TooltipRenderer.java:176)
at org.richfaces.renderkit.html.TooltipRenderer.getScriptObject(TooltipRenderer.java:57)
at org.richfaces.renderkit.html.DivPanelRenderer.writeJavaScript(DivPanelRenderer.java:138)
at org.richfaces.renderkit.html.TooltipRenderer.doEncodeEnd(TooltipRenderer.java:241)
at org.richfaces.renderkit.RendererBase.encodeEnd(RendererBase.java:174)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1763)
at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:278)
at org.richfaces.renderkit.html.PanelRenderer.encodeEnd(PanelRenderer.java:181)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:312)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:105)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:278)
at org.richfaces.renderkit.AbstractTableBaseRenderer.encodeColumn(AbstractTableBaseRenderer.java:90)
at org.richfaces.renderkit.DataTableRenderer.encodeRow(DataTableRenderer.java:203)
at org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:89)
at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:109)
at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:810)
at org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:99)
at org.richfaces.renderkit.AbstractTableRenderer.encodeRows(AbstractTableRenderer.java:101)
at org.richfaces.renderkit.AbstractRowsRenderer.processRows(AbstractRowsRenderer.java:111)
at org.richfaces.renderkit.AbstractTableRenderer.encodeTableRows(AbstractTableRenderer.java:149)
at org.richfaces.renderkit.AbstractTableRenderer.doEncodeChildren(AbstractTableRenderer.java:199)
at org.richfaces.renderkit.RendererBase.encodeChildren(RendererBase.java:157)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:105)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1756)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1759)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:401)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:636)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (RF-10678) Calendar - review @hidePopupOnScroll
by Lukas Fryc (JIRA)
Calendar - review @hidePopupOnScroll
------------------------------------
Key: RF-10678
URL: https://issues.jboss.org/browse/RF-10678
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.CR1
Reporter: Lukas Fryc
As Ilya said:
If the popups(autocomplete, calendar, select etc...) placed in scrollable div and opened - popups getting on the same position after scroll getting "detached" from input. It's really confusing. And we really do not want fix it by controlling the popup position via JS(performance). So decided that if the user playing with the other page elements(scrolls in that case) that would be quite logical just close the popup as for normall blur. (can't find but there was discussion somewhere)
P.S. The only thing I can't remember(for 4.x) - why the attribute added :( In 3.3.x it was an attribute in order to keep the component backward compatible(hiding functionality added late for ENT branch). But I voted for just making such hide as default and non-configurable(at least untill some user requests, because not sure who could need the hidePopupOnScroll="false" behavior). So anyway need task for consistency review - either remove attribute from calendar(before final) or add to other if not added(could be after final)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months