ICEfaces
  1. ICEfaces
  2. ICE-10750

Duplicate HTML <BR> tags being rendered during BODY element updates

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0, EE-3.3.0.GA_P03
    • Fix Version/s: 4.1, EE-3.3.0.GA_P04
    • Component/s: Framework, ICE-Components
    • Labels:
      None
    • Environment:
      All, EE 3.3.30 P03
    • Assignee Priority:
      P2
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Use MyFaces JSF OR
      - Preload the ICE Compat library by including any ice: component (hidden if necessary) on each page.
      - When using the javax.faces.FACELETS_DECORATORS context parameter, add a root container as the only child of the body and use it to wrap all the page content inside of it. Do this to every page in the application. This avoids full body updates, which is the only case when <br /> tags get duplicated.
      - Change the ice:outputText to an h:outputText.
      - Do a redirect navigation.
      Show
      Use MyFaces JSF OR - Preload the ICE Compat library by including any ice: component (hidden if necessary) on each page. - When using the javax.faces.FACELETS_DECORATORS context parameter, add a root container as the only child of the body and use it to wrap all the page content inside of it. Do this to every page in the application. This avoids full body updates, which is the only case when <br /> tags get duplicated. - Change the ice:outputText to an h:outputText. - Do a redirect navigation.

      Description

      When displaying HTML tags from a managed bean to the page via an ouputText component, these tags are being duplicated when rendered on the page. This also only happens after the page with the tags is navigated to through a forward. It also only happens if there is an ice:outputText component on the page. The component that shows the HTML tags is an h:outputText with escape="false".

      This also doesn't happen for the EE 3.3.0 P02 release.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case13468Example2.war [ 20382 ]
        Attachment Case13468Example2.zip [ 20383 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-3.3.0.GA_P04 [ 12270 ]
        Assignee Priority P1 [ 10010 ]
        Arturo Zambrano made changes -
        Attachment lftest3.xhtml [ 20483 ]
        Arturo Zambrano made changes -
        Attachment jsfonly.war [ 20484 ]
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Affects Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Summary Duplicate HTML tags being rendered Duplicate HTML <BR> tags being rendered by ICEfaces bridge
        Ken Fyten made changes -
        Summary Duplicate HTML <BR> tags being rendered by ICEfaces bridge Duplicate HTML <BR> tags being rendered during BODY element updates
        Ken Fyten made changes -
        Assignee Priority P1 [ 10010 ] P2 [ 10011 ]
        Ken Fyten made changes -
        Workaround Description - Change the ice:outputText to an h:outputText.
        - Do a redirect navigation.
        - Preload the ICE Compat library by including any ice: component (hidden if necessary) on each page.
        - Change the ice:outputText to an h:outputText.
        - Do a redirect navigation.
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ] Mircea Toma [ mircea.toma ]
        Arturo Zambrano made changes -
        Workaround Description - Preload the ICE Compat library by including any ice: component (hidden if necessary) on each page.
        - Change the ice:outputText to an h:outputText.
        - Do a redirect navigation.
        - Preload the ICE Compat library by including any ice: component (hidden if necessary) on each page.
        - When using the javax.faces.FACELETS_DECORATORS context parameter, add a root container as the only child of the body and use it to wrap all the page content inside of it. Do this to every page in the application. This avoids full body updates, which is the only case when <br /> tags get duplicated.
        - Change the ice:outputText to an h:outputText.
        - Do a redirect navigation.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Workaround Description - Preload the ICE Compat library by including any ice: component (hidden if necessary) on each page.
        - When using the javax.faces.FACELETS_DECORATORS context parameter, add a root container as the only child of the body and use it to wrap all the page content inside of it. Do this to every page in the application. This avoids full body updates, which is the only case when <br /> tags get duplicated.
        - Change the ice:outputText to an h:outputText.
        - Do a redirect navigation.
        Use MyFaces JSF OR
        - Preload the ICE Compat library by including any ice: component (hidden if necessary) on each page.
        - When using the javax.faces.FACELETS_DECORATORS context parameter, add a root container as the only child of the body and use it to wrap all the page content inside of it. Do this to every page in the application. This avoids full body updates, which is the only case when <br /> tags get duplicated.
        - Change the ice:outputText to an h:outputText.
        - Do a redirect navigation.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: