Wrong PortletConfig used in EL when multiple portlets -----------------------------------------------------
Key: PORTLETBRIDGE-78 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-78 Project: MyFaces Portlet Bridge Issue Type: Bug Components: Impl Affects Versions: 2.0.0-alpha, 1.0.0-beta Reporter: Michael Freedman Assignee: Michael Freedman The bridge adds the PortletConfig to the ELContext in a context (created) listener. Unfortunately this listener is registered on a per application basis not a per portlet basis. So when multiple portlets in the same web app are in the same page -- the listener is called N times -- once per bridge (there is a 1 bridge instance per portlet relationship). The way the code is written -- the first listener calls sets the PortletConfig and this is used in all the bridge instances EL. I.e. if you have N portlets in the same web app on the same page and you use EL in each to print out the portlet name (portletConfig.getName()) you wil see the same name in each window. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.