[JBoss JIRA] Created: (RF-8936) NPE when referencing core images via EL
by Bernard Labno (JIRA)
NPE when referencing core images via EL
---------------------------------------
Key: RF-8936
URL: https://jira.jboss.org/browse/RF-8936
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: core
Affects Versions: 4.0.0.Alpha2
Reporter: Bernard Labno
When referencing core images via EL I get following exceptions.
For #{resource['org.richfaces.renderkit.html.images.CancelControlIcon']}:
javax.el.ELException: /notify.xhtml: null
at com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:83)
at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:75)
at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:176)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
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:313)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:60)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at org.richfaces.renderkit.html.images.CancelControlIcon.writeState(CancelControlIcon.java:75)
at org.richfaces.util.Util.saveResourceState(Util.java:566)
at org.richfaces.resource.AbstractBaseResource.getRequestPath(AbstractBaseResource.java:161)
at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:133)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:217)
at com.sun.faces.facelets.el.ELText$ELTextComposite.writeText(ELText.java:141)
at com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:78)
... 37 more
For #{resource['org.richfaces.renderkit.html.images.InputErrorIcon']}:
java.lang.NullPointerException
org.ajax4jsf.resource.Java2Dresource.getInputStream(Java2Dresource.java:91)
org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:263)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months
[JBoss JIRA] Created: (RF-8948) ComponentControl in PopupPanel
by Lukas Fryc (JIRA)
ComponentControl in PopupPanel
------------------------------
Key: RF-8948
URL: https://jira.jboss.org/browse/RF-8948
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone1
Reporter: Lukas Fryc
It should not be fully working sample, I was trying to get working the sample from RF-4010, but got error:
/index.xhtml @22,41 <rich:componentControl> Parent not an instance of ClientBehaviorHolder: org.richfaces.component.UIPopupPanel@4e39f16f
Sample:
<rich:panel>
<a href="RichFaces.ui.PopupPanel.showPopupPanel('notesPanel')">Open
panel</a>
<rich:popupPanel id="notesPanel" width="600" height="580">
<f:facet name="header">
<h:outputText value="Notes" />
</f:facet>
<f:facet name="controls">
<rich:componentControl for="notesPanel" attachTo="hidelink"
event="onclick" operation="hide" />
</f:facet>
</rich:popupPanel>
</rich:panel>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months
[JBoss JIRA] Created: (RF-3080) a4j:actionparam is not working properly in RichFaces 3.2
by Linh Le (JIRA)
a4j:actionparam is not working properly in RichFaces 3.2
--------------------------------------------------------
Key: RF-3080
URL: http://jira.jboss.com/jira/browse/RF-3080
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JBoss app server 4.3, JSF 1.2, Richfaces 3.2
Reporter: Linh Le
Does the fix for this issue "http://jira.jboss.com/jira/browse/RF-2634" really get included in RichFaces 3.2 release???
I have just upgraded from Richfaces 3.1.4 to 3.2, and the assignTo of a4j:actionparam does not work properly anymore. I worked fine with 3.1.4. Why???
Specifically, I'm having a4j:actionparam inside an a4j:support onclick event. Then the a4j:support is put inside a h:panelGrid. At the very first click on the panelGrid, the bean property is NULL. The value was not set to the bean property of the assignTo attrib at all, but it is set after the action listener method completed its execution. The bean property should be set before the action listener method get executed (like in 3.1.4). Therefore, for any subsequent click on the panelGrid, the bean property shows the value of the previous click.
Your prompt response is highly appreciated.
--
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, 7 months
[JBoss JIRA] Created: (RF-8976) Panels demo: NullPointerException on page load
by Pavol Pitonak (JIRA)
Panels demo: NullPointerException on page load
----------------------------------------------
Key: RF-8976
URL: https://jira.jboss.org/browse/RF-8976
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: examples
Affects Versions: 4.0.0.Milestone1
Environment: RF 4.0.0-SNAPSHOT, Tomcat 6.0.28, Glassfish 3
Reporter: Pavol Pitonak
1. build and deploy panels-demo
2. open http://localhost:8080/panels-demo/faces/index.xhtml
3. open the first example
result:
Jul 26, 2010 9:23:09 AM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
SEVERE: Error Rendering View[/examples/togglePanel.xhtml]
java.lang.NullPointerException
at org.richfaces.renderkit.html.TogglePanelRenderer.doEncodeChild(TogglePanelRenderer.java:150)
at org.richfaces.renderkit.html.TogglePanelRenderer.doEncodeChildren(TogglePanelRenderer.java:143)
at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:159)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
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:313)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months
[JBoss JIRA] Created: (RF-9009) switchablePanel's: improve cycled switching
by Ilya Shaikovsky (JIRA)
switchablePanel's: improve cycled switching
-------------------------------------------
Key: RF-9009
URL: https://jira.jboss.org/browse/RF-9009
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone1
Reporter: Ilya Shaikovsky
Assignee: Alex Kolonitsky
Fix For: 4.0.0.Milestone2
TOGGLE PANEL
1)
<rich:togglePanel id="panel1">
...
<rich:toggleControl forPanel="panel1"/>
show works. (successfull switching to the first state from empty one)
2)
<h:form>
<rich:togglePanel id="panel1" activeItem="item1">
<rich:togglePanelItem name="item1">
<h:outputText value="Item1"/>
</rich:togglePanelItem>
<rich:togglePanelItem name="item2">
<h:outputText value="Item2"/>
</rich:togglePanelItem>
</rich:togglePanel>
</h:form>
<h:commandButton>
<rich:toggleControl forPanel="panel1"/>
</h:commandButton>
also should works.
GENERAL NOTES:
switching without next state definition should be performed only till the last item.
probably we need to add cycledSwitching boolean attribute. if true - switching from the last one should be performed to first if no next item defined at activated control. If need to discuss or postpone - let's create separate task for that.
TAB AND PANEL BAR
switching from JS api without the next state definition should worrks in the same way as for TP from controls without state defined.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months