Package su.onno.ui
Class FormValidationBuilder<E>
java.lang.Object
su.onno.ui.FormValidationBuilder<E>
Fluent configuration returned by
EntityConfigBuilder.validation(java.lang.String, java.lang.Class<? extends su.onno.ui.FormValidator>).-
Method Summary
Modifier and TypeMethodDescription<R> FormValidationBuilder<E> andDependsOn(Field<E, ? extends Collection<R>> section, Field<R, ?> rowField) Add a typed tabular-section dependency without replacing dependencies already declared.Re-run only when one of these values changes.final FormValidationBuilder<E> Re-run when one of these compiler-checked header fields changes.<R> FormValidationBuilder<E> dependsOn(Field<E, ? extends Collection<R>> section, Field<R, ?> rowField) Re-run when a field in every row of a typed collection/tabular section changes.Continue configuring another field on the same entity.
-
Method Details
-
dependsOn
Re-run only when one of these values changes. Dot paths address every value in a tabular section column, for exampleparticipants.employee. -
dependsOn
Re-run when one of these compiler-checked header fields changes. -
dependsOn
public <R> FormValidationBuilder<E> dependsOn(Field<E, ? extends Collection<R>> section, Field<R, ?> rowField) Re-run when a field in every row of a typed collection/tabular section changes. -
andDependsOn
public <R> FormValidationBuilder<E> andDependsOn(Field<E, ? extends Collection<R>> section, Field<R, ?> rowField) Add a typed tabular-section dependency without replacing dependencies already declared. -
debounce
-
field
Continue configuring another field on the same entity.
-