Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-420

Implement validator for NewProductChooserField class

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 1.3
    • 1.3
    • None
    • None
    • Content Mngmt 6
    • 8

    Description

      Implement validator for NewProductChooserField class. The validation will work:

      • if enabledProductView==true && enabledCategoryView==true => product has to be selected (NewProductChooserBean.productId is not empty)
      • else if enabledCategoryView==true => category has to be selected (NewProductChooserBean.categoryId is not empty)
      • else => connection has to be selected (NewProductChooserBean.connection is not empty)
        The validator could be implemented by overriding getDefaultValidator() method in NewProductChooserField class.
        As part of the ticket is CSS styling of an error message to be visible on the field.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ajuran Antonín Juran
              ajuran Antonín Juran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 5d 40m
                    5d 40m