SubComponents activate Validation at the first time
"WebObjects" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am using Components, something like:
----------------------------------------------------
Main
SubCompoent
Texts, strings, etc...
End SubCompoent
End Main
----------------------------------------------------
The problem I have: The user opens the page to the first time.
By passing the data from the Main to SubComponent The validation is executed because of setXXXX methods "i guess".
The method validationFailedWithException passes a message like "Name" is not allowed to be null. This happens by displaying the Page at the first time.
It is correct because the "Name" is still NULL of couarse, but this is because the user didnt have the ability to put any data.
However, anybody has an idea, what do i miss or make wrong? thank you.
Sako.
_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev