Error Array Problem
Error Array Problem
- Subject: Error Array Problem
- From: WebObjects Lover <email@hidden>
- Date: Wed, 15 Jun 2005 19:23:26 -0700 (PDT)
Hi,
I want to be able to keep an error array around in
memory so that any of my components that have
validation/save changes errors can insert messages
into this array and the errors are displayed if they
exist. Currently I have an abstract subclass of
WOComponent as the superclass for all of my components
and that's where the errors array is declared as an
instance variable. I'd like to have my wrapper page
that contains a WOComponentContent have a
WOConditional in it that checks for errors and
displays them. The problem that's occurring is that
when I catch a the validation exception that occurs
from one of my components and insert a message in
errors array the errors array gets cleared out and my
WOConditional in the page wrapper doesn't get tripped.
I realize this is might a be synchronizing bindings
issue but perhaps someone that's solved this problem
before can offer their advice...
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden