-
1. Re: PortletBridge 2.1.0 with RichFaces. Problems with ResourceUrls
maggus Nov 15, 2011 11:43 AM (in response to maggus)I took the PorletBridge 2.2.0-FINAL and gave it another try.
The result below:
I found the error in the portlet bridge, which leads to those buggy urls.
the resources of the renderkit (in this example the org.richfaces.renderkit.html.iconimages.DataTableIconSortNone) is not considered as an "specialResource" in the PortletResourceBuilder (see screenshot).
the parameter which is passed into the function uses "." as path-separater instead of "/". therefore this path does not match one of the entries in the specialResources String[].
btw: why does this renderkit constant end in 1$1 ?
Since our resource is considered as a "non-special url" the org.jboss.portletbridge.richfaces.PortletResourceBuilder.getUri() method creates a portlet-resource-url.
if i take the debugger and make the org.jboss.portletbridge.richfaces.PortletResourceBuilder.specialResource(InternetResource resource) to return true for this resources, the gui looks fine. all images are rendered correctly.
Any thoughts?
-
2. Re: PortletBridge 2.1.0 with RichFaces. Problems with ResourceUrls
maggus Nov 16, 2011 3:21 AM (in response to maggus)opened a bug ticket with the information i gathered. the problem itself looks like an error while ressource-registration and not like a portlet bridge bug.