Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2512

Add the label attribute to input component examples like h:inputText in the JSF Showcase

    Details

      Description

      In the following general use-case for h:inputText, when the required checkbox is clicked and an empty value is submitted, the page is updated with:

      j_idt45:j_idt46:text: Validation Error: Value is required.
      

      In order to make this more user-friendly, it is necessary to specify the following on the h:inputText component:

      label="#{i18n['text-field']}"
      

      This task should be performed for all input component use-cases that manifest the same problem. Note that in most cases label attribute is specified on the parent alloy:field component for copy/paste purposes.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                showcase-2.0.0
                showcase-3.0.0