package Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . controller . constraints Ċ Ċ import Ġuk . gov . just ice . digital . h mp ps . pec s . j pc . controller . Manage Jo urney Price Catalog ue Controller Ċ import Ġjavax . validation . Constraint Validator Ċ import Ġjavax . validation . Constraint Validator Context Ċ Ċ class ĠJo urney Search Constraint Validator Ġ: ĠConstraint Validator < Valid Jo urney Search , ĠManage Jo urney Price Catalog ue Controller . Search Jo urney Form > Ġ{ ĊĠ Ġoverride Ġfun Ġinitialize ( arg 0 : ĠValid Jo urney Search ) Ġ{} ĊĊĠ Ġoverride Ġfun ĠisValid ( form : ĠManage Jo urney Price Catalog ue Controller . Search Jo urney Form , Ġcontext : ĠConstraint Validator Context ) Ġ= ĊĠĠĠ Ġ! form . from . isNull Or Blank () Ġ|| Ġ! form . to . isNull Or Blank () Ċ } Ċ