Письмо #354 Списка Рассылки webobjects-dev@wocommunity.org
От Кого: Theodore Petrosky <tedpet5@yahoo.com>
Тема: Validation question
Дата: Mon, 10 Jan 2022 08:30:39 -0500
Кому: WebObjects <webobjects-dev@wocommunity.org>
I have an attribute accountNumber with a validation method:

public Object validateAccountNumber(Object aValuethrows ValidationException {

As I test things, I stuck a log that prints to the console  “validateAccountNumber called”. I am just checking on things working.

What I see in the console is:

validateAccountNumber called
validateAccountNumber called
validateAccountNumber called

Why is it called three times? I am sure the answer will be obvious, but I don’t see it.

Ted
Подписаться (Прямо) Подписаться (Дайджест) Подписаться (Оглавление) Отписаться Написать Listmaster-у