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

Necessary fields are not required in jsf-flows-portlet flight.xhtml and checkout.xhtml

    Details

      Description

      In the jsf-flows-portlet checkout.xhtml and flight.xhtml all the fields should be required (except "Address Line 2" in checkout.xhtml). Some of the fields erroneously have the required="true" attribute applied to the surrounding alloy:field rather than the h:inputText (or other input or select component). That attribute should be moved from the alloy:field to the input or select component it contains. The jsf-flows-portlet test should also be modified to fill out all the required fields for both views.

      As part of this issue, some other minor cleanup should be done such as removing the ui:remove elements from the views, ensuring that the submit buttons also render the whole form (render="@form"), and migrating from the deprecated javax.faces.bean.ApplicationScoped to javax.enterprise.context.ApplicationScoped in CustomerServiceMockImpl.java.

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann
              Reporter:
              kyle.stiemann Kyle Stiemann
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: