Hey Everyone,

 

I have made a FormComponentPanel that contains components in it.  I add
a custom validator to the inner component to validate the input.
However, when I call hasErrorMessage on the FormComponentPanel, it
always returns false, even if the custom validator found a problem.  

 

Is there a way to tell this panel to return true if one of its sub
components contain an error?  

 

I would just override hasErrorMessage() and do return
super.hasErrorMessage() || comp.hasErrorMessage(), but hasErrorMessage()
is a final method...

Any ideas?

 

Thanks for any help!

-Clay

 

Reply via email to