| 
| Live Validation not working!? [message #68463] | Sun, 21 January 2007 07:42  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: S.Kemmann.herr-der-mails.de 
 Hi,
 
 I've tried to get the Validation example running. (That one from the first
 tutorial.)
 Everything is find but LiveValidation is not working at all!
 
 Is it right, that in "LiveValidationContentAdapter.java":
 
 IStatus status = validator.validate(notification);
 
 Is my understanding right that the constraint-checks should be invoked in
 this method!?
 In the debugging view I can see the call-sequence to delegate the validate
 method to the AbstractValidator.validate(Collection) method. If this is
 still working correctly could anyone (please) explain, who's calling the
 validate-method of my constraint (NonEmptyNamesConstraint.validate)??
 
 Thx a lot!!
 Soeren
 |  |  |  | 
|  | 
| 
| Re: Live Validation not working!? [message #68712 is a reply to message #68468] | Mon, 22 January 2007 17:07  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: cdamus.ca.ibm.com 
 Hi, Soeren,
 
 I'm glad you worked it out!
 
 Christian
 
 
 Soeren Kemmann wrote:
 
 > OK ... was (of course) my fault!
 > The constraint is of course only checked when set/unset events occur ...
 > *doh*
 >
 > ;-)
 >
 > "Soeren Kemmann" <S.Kemmann@herr-der-mails.de> schrieb im Newsbeitrag
 > news:eovn35$jat$1@utils.eclipse.org...
 >> Hi,
 >>
 >> I've tried to get the Validation example running. (That one from the
 >> first tutorial.)
 >> Everything is find but LiveValidation is not working at all!
 >>
 >> Is it right, that in "LiveValidationContentAdapter.java":
 >>
 >> IStatus status = validator.validate(notification);
 >>
 >> Is my understanding right that the constraint-checks should be invoked in
 >> this method!?
 >> In the debugging view I can see the call-sequence to delegate the
 >> validate method to the AbstractValidator.validate(Collection) method. If
 >> this is still working correctly could anyone (please) explain, who's
 >> calling the validate-method of my constraint
 >> (NonEmptyNamesConstraint.validate)??
 >>
 >> Thx a lot!!
 >> Soeren
 >>
 >>
 >>
 |  |  |  | 
| 
| Re: Live Validation not working!? [message #601455 is a reply to message #68463] | Sun, 21 January 2007 08:17  |  | 
| Eclipse User  |  |  |  |  | OK ... was (of course) my fault! The constraint is of course only checked when set/unset events occur ...
 *doh*
 
 ;-)
 
 "Soeren Kemmann" <S.Kemmann@herr-der-mails.de> schrieb im Newsbeitrag
 news:eovn35$jat$1@utils.eclipse.org...
 > Hi,
 >
 > I've tried to get the Validation example running. (That one from the first
 > tutorial.)
 > Everything is find but LiveValidation is not working at all!
 >
 > Is it right, that in "LiveValidationContentAdapter.java":
 >
 > IStatus status = validator.validate(notification);
 >
 > Is my understanding right that the constraint-checks should be invoked in
 > this method!?
 > In the debugging view I can see the call-sequence to delegate the validate
 > method to the AbstractValidator.validate(Collection) method. If this is
 > still working correctly could anyone (please) explain, who's calling the
 > validate-method of my constraint (NonEmptyNamesConstraint.validate)??
 >
 > Thx a lot!!
 > Soeren
 >
 >
 >
 |  |  |  | 
| 
| Re: Live Validation not working!? [message #601530 is a reply to message #68468] | Mon, 22 January 2007 17:07  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: cdamus.ca.ibm.com 
 Hi, Soeren,
 
 I'm glad you worked it out!
 
 Christian
 
 
 Soeren Kemmann wrote:
 
 > OK ... was (of course) my fault!
 > The constraint is of course only checked when set/unset events occur ...
 > *doh*
 >
 > ;-)
 >
 > "Soeren Kemmann" <S.Kemmann@herr-der-mails.de> schrieb im Newsbeitrag
 > news:eovn35$jat$1@utils.eclipse.org...
 >> Hi,
 >>
 >> I've tried to get the Validation example running. (That one from the
 >> first tutorial.)
 >> Everything is find but LiveValidation is not working at all!
 >>
 >> Is it right, that in "LiveValidationContentAdapter.java":
 >>
 >> IStatus status = validator.validate(notification);
 >>
 >> Is my understanding right that the constraint-checks should be invoked in
 >> this method!?
 >> In the debugging view I can see the call-sequence to delegate the
 >> validate method to the AbstractValidator.validate(Collection) method. If
 >> this is still working correctly could anyone (please) explain, who's
 >> calling the validate-method of my constraint
 >> (NonEmptyNamesConstraint.validate)??
 >>
 >> Thx a lot!!
 >> Soeren
 >>
 >>
 >>
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.06202 seconds