Announcement Announcement Module
Collapse
No announcement yet.
Validation method using base class? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Validation method using base class?

    My flow has declared model="mySpecificModel" in my viewstate "myViewState".

    I have implemented a validation class with a method called validateMyViewState(MySpecificModel model, ValidationContext context) { }

    This works OK but when I want to make my validator more generic so I want my method to look like this:
    alidateMyViewState(MyBaseModel model, ValidationContext context) { }

    (MySpecificModel implements MyBaseModel)

    But then the validator isn't firing. Any way to make this work?
Working...
X