Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-1550

Add f:message to form-elements automatically

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-6
    • 4.0.0
    • Core
    • None

    Description

      Since faces-messages are added for specific components I would prefer to render the tc:message in context of that component by default.

      So that for example

      <tc:in label="fatal" value="fatal" id="fatal" validator="#{facesMessagesBean.validateFatal}" />
      

      would become

      <tc:flexLayout rows="auto;auto">
          <tc:messages for="page:fatal" />
          <tc:in label="fatal" value="fatal" id="fatal" validator="#{facesMessagesBean.validateFatal}" />
      </tc:flexLayout>
      

      Attachments

        Issue Links

          Activity

            People

              hnoeth Henning Nöth
              mwronka Matthias Wronka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: