ICEfaces
  1. ICEfaces
  2. ICE-5716

Customized renderer for HtmlMessages component

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2 JSF 2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      As of Mojarra 2.0.2, the h:messages component causes difficulty for ICEfaces due to the fact that the node type changes depending on the messages component status. It can change, but retain the same id, from a div to a ul or table which can cause our DOM diffing algorithm to get somewhat confused. We need to override this renderer to provide our own rendering logic and probably wrap in a suitable container as well.

      There is an existing JIRA in the Mojarra bug tracker about this: https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1639

        Issue Links

          Activity

          Hide
          Greg Dick added a comment -

          Added a div surrounding the messages whether the messages are rendered or not.

          Show
          Greg Dick added a comment - Added a div surrounding the messages whether the messages are rendered or not.

            People

            • Assignee:
              Greg Dick
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: