[
https://issues.jboss.org/browse/RF-12315?page=com.atlassian.jira.plugin.s...
]
Neil Griffin commented on RF-12315:
-----------------------------------
Thanks for looking into this issue. Here are my findings:
1. Works now on Liferay Portal + Liferay Faces Bridge
2. Still have RenderURL problem with Pluto + Liferay Faces Bridge
3. Was unable to test on Pluto + JBoss Portlet Bridge 3.1.0.Alpha1 due to the following
exception:
{code}
java.lang.IllegalArgumentException: Illegal Argument: value (argument should not be null)
at
org.apache.pluto.container.util.ArgumentUtility.validateNotNull(ArgumentUtility.java:47)
at org.apache.pluto.container.impl.PortletURLImpl.setParameter(PortletURLImpl.java:248)
at
org.jboss.portletbridge.context.MimeExternalContextImpl.createActionUrl(MimeExternalContextImpl.java:85)
at
org.jboss.portletbridge.context.PortletExternalContextImpl.encodeActionURL(PortletExternalContextImpl.java:877)
at
javax.faces.context.ExternalContextWrapper.encodeActionURL(ExternalContextWrapper.java:104)
at com.sun.faces.renderkit.html_basic.FormRenderer.getActionStr(FormRenderer.java:235)
at com.sun.faces.renderkit.html_basic.FormRenderer.encodeBegin(FormRenderer.java:135)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1754)
at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)
at
org.richfaces.renderkit.html.TogglePanelItemRenderer.doEncodeChildren(TogglePanelItemRenderer.java:136)
at org.richfaces.renderkit.html.TabRenderer.doEncodeChildren(TabRenderer.java:107)
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 org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)
at
org.richfaces.renderkit.html.TogglePanelRenderer.doEncodeChildren(TogglePanelRenderer.java:127)
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.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
org.jboss.portletbridge.application.PortletViewHandler.doRenderView(PortletViewHandler.java:252)
at
org.jboss.portletbridge.application.PortletViewHandler.renderView(PortletViewHandler.java:240)
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
org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderFaces(Jsf20ControllerImpl.java:381)
at
org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderPortletBody(Jsf20ControllerImpl.java:252)
at org.jboss.portletbridge.PortletBridgeImpl.doFacesRequest(PortletBridgeImpl.java:257)
at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:515)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:436)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:348)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:410)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:253)
at
org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:163)
at
org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:91)
at
org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:105)
at org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:340)
at org.apache.pluto.container.driver.PortletServlet.doGet(PortletServlet.java:261)
{code}
Portlet RenderURL invoked rather than a ResourceURL when
toggleType="ajax" used with rich:tree
----------------------------------------------------------------------------------------------
Key: RF-12315
URL:
https://issues.jboss.org/browse/RF-12315
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tree
Affects Versions: 4.2.2.Final
Environment: Portlet Environment
Reporter: Neil Griffin
Assignee: Brian Leathem
Labels: portlet, waiting_on_user
This issue was first reported in the Liferay forums here:
http://www.liferay.com/community/forums/-/message_boards/view_message/142...
Similar to RF-12263, I think the problem is that RichFaces JS is not using the
"javax.faces.encodedURL" for postback.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira