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

Implement validator for NewProductChooserField class

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoR

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