Replies: 2 comments 10 replies
-
...ok it looks like instead of implementing the |
Beta Was this translation helpful? Give feedback.
-
I get now some understanding about the idea behind
So this should give an implementer more control what/how to validate But I think there is something gong wrong. If I have a model with 2 Node Elements and I load my model, the method validate is triggered 4 Times!
And it's the same when I click the 'validation' icon and the batch-mode is triggered. It seems to be to much? Also a kind of interceptor hook would be nice - like The reason why I am thinking about this is that in our Open-BPMN project we have a internal validation method that is validating a BPMN model. And this is not related to a GNode. We validate the complete SourceModel. In the methods for In any case I need to cache my validation results. But this can be done easily in the But I think there are tree issues.
What do you think about this? |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a question regarding the ModelValidator in GLSP 2.x .
My old ModelValidator did no longer seem to work. At least it is not triggered at all when I click on the validation icon in the toolbar
My implementation is exactly like explained in the documentation, but for some reason there is no more trigger. I do not get any error messages on client or server side.
I found that there is some new feature regarding live and batch validation but did not found out if this is related to my problem.
What could be the reason that my ModelValidator is not longer called? My binding in the DiagramModule has not changed...
Beta Was this translation helpful? Give feedback.
All reactions