edvin
04/11/2017, 2:01 PMedvin
04/11/2017, 2:03 PMron
04/11/2017, 2:05 PMedvin
04/11/2017, 2:34 PMedvin
04/11/2017, 2:49 PMedvin
04/11/2017, 2:49 PMedvin
04/11/2017, 6:06 PMedvin
04/11/2017, 6:06 PMedvin
04/11/2017, 6:07 PMedvin
04/11/2017, 6:08 PMvalidate
and required
with a parameter pointing to the view. The parameter would say that "this validator is only valid in the context of the given view" or something like that.edvin
04/11/2017, 6:08 PMedvin
04/11/2017, 6:08 PMtextfield(customer.street).required(context = this)
for example.edvin
04/11/2017, 6:09 PMcustomer.commit(context = this)
to only commit those fields bound to the current view context. Does that make sense, or am I making too much fuzz about a corner case?edvin
04/11/2017, 6:16 PMedvin
04/11/2017, 6:16 PMedvin
04/11/2017, 6:22 PMnimakro
04/11/2017, 6:24 PMedvin
04/11/2017, 6:24 PMedvin
04/11/2017, 6:25 PMedvin
04/11/2017, 6:25 PMedvin
04/11/2017, 6:29 PMedvin
04/11/2017, 6:29 PMclass CustomerWizard : Wizard<Customer>
nimakro
04/11/2017, 6:31 PMron
04/11/2017, 6:33 PMedvin
04/11/2017, 6:35 PMedvin
04/11/2017, 6:36 PMron
04/11/2017, 6:36 PMron
04/11/2017, 6:36 PM