Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2382

Duplicate id exception when weblogic portal and jsf native portlet (faces-adapter.jar) is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.7, 1.2.7
    • 1.1.8, 1.2.8
    • Portlet_Support
    • None
    • weblogic portal 10.3g using shared lib wlp-framework-common-web-lib ( faces-adapter.jar )

    Description

      On weblogic portal using faces-adapter, the id set and the retrieved one for <netuix:namingContainer> is different. The reason is this custom solution for integrate jsf changes the id of the parent component to allow the same native portlet to be allocated multiple times in the same page.

      Add one additional check after create a component of this kind does not harm and there are no restriction about this on the spec. Really, the expected behavior is that the id set on UIComponent.setId is the same one as UIComponent.getId, but in this case is clear why this is not expected.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: