javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-894

allow to specify default value for h:message(s) errorClass etc. in MessageBundle

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Validation/Conversion
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      894
    • Status Whiteboard:
      Hide

      size_small importance_medium

      Show
      size_small importance_medium

      Description

      h:message and h:messages define errorClass, infoClass etc. attributes.
      To have a common look and feel in the whole webapplication, the developer
      currently has to specify these attributes on each occurrence of the tag in the
      view or create a custom component that wraps h:message(s)

      It should be possible to define a default value for
      errorClass, infoClass etc. through MessageBundles like its possible
      to override converter/validation messages.

      As far as I've looked into this, it would simply require the
      com/sun/faces/MessageRenderer (or other impls) to first lookup the key in the
      MessageBundle.

        Activity

        Hide
        Ed Burns added a comment -

        This is another good one. I like it.

        Show
        Ed Burns added a comment - This is another good one. I like it.
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          People

          • Assignee:
            Unassigned
            Reporter:
            domdorn
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: