Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-14

Optionally use a field's title attribute as its identifier in <t:messages>

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Message(s)
    • None
    • Any

    Description

      Currently, <t:messages> inserts the offending fields' names in the standard validation messages. Unlike <h:messages>, it uses the text of the field's associated outputLabel, if present, to represent the field's name. This is an improvement over the standard implementation, which uses the value of the field's id attribute. However, there are times in which it is inconvenient to use the outputLabel. In particular, most outputLabels include a colon character that one wouldn't want inside the error message.

      I would like to be able to specify that the value of the field's title attribute be the value inserted into the standard validation error messages, and, only if the title attribute is not present, to use the outputLabel (or id attribute).

      Attachments

        Activity

          People

            Unassigned Unassigned
            bc1378@sbc.com Brendan Conner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: