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

HtmlMessagesRendererBase - change two method modifiers to protected

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.1.5
    • Component/s: None
    • Labels:
      None

      Description

      I would like to extend the HtmlMessagesRendererBase and overwrite the methods renderList and renderTable in order to add styleClasses to the generated list elements. Unfortunately these methods (and the internal class MessagesIterator) are private.
      Is there any reason why these methods are not protected?

        Activity

        Hide
        mmarinschek Martin Marinschek added a comment -

        You can certainly extend, but in any case there might be the possibility that signatures change in renderers.

        regards,

        Martin

        Show
        mmarinschek Martin Marinschek added a comment - You can certainly extend, but in any case there might be the possibility that signatures change in renderers. regards, Martin
        Hide
        mheinen Michael Heinen added a comment -

        two methods modifiers and MessagesIterator changed from private to protected.

        Show
        mheinen Michael Heinen added a comment - two methods modifiers and MessagesIterator changed from private to protected.

          People

          • Assignee:
            mmarinschek Martin Marinschek
            Reporter:
            mheinen Michael Heinen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development