So validateComponents() validates also nested components if current form depends on them?
** Martin 2009/9/29 Jonathan Locke <[email protected]>: > > protected final void validate() > { > if (isEnabledInHierarchy() && isVisibleInHierarchy()) > { > // since this method can be called directly by users, > this additional > check is needed > validateComponents(); > validateFormValidators(); > onValidate(); > validateNestedForms(); > } > } > > > MartinM wrote: >> >> Hi! >> >> If a form validator depends on a nested form's components, it will >> assume they are valid because the nested form's components are >> validated after the parent form? >> >> ** >> Martin >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > -- > View this message in context: > http://www.nabble.com/Question-about-wicket-validation-tp25657602p25669362.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
