Problems with validation of audit rules [message #677395] |
Wed, 08 June 2011 07:45  |
Eclipse User |
|
|
|
Hi,
I've added an audit rule to my mapping model (use in live mode = yes), and it works fine, that is, the validation works well and I can't finish a forbidden action. However I can't see the error message anywhere.
I've tried to find where the audit rule is validated or where the message is obtained, in order to create a Dialog Box that shows the message when the rule is broken. But I haven't been successful.
Can anybody tell me how to do this? Thanks in advance.
Regards,
Aintzane
|
|
|
|
|
|
Re: Problems with validation of audit rules [message #677452 is a reply to message #677428] |
Wed, 08 June 2011 11:05  |
Eclipse User |
|
|
|
Yes, I followed that part of the tutorial.
I've got. I have an automatically generated message box with the violated rule. I think that the problem was with the "Live Validation UI Feedback" property. Now I have in the gmfgen file:
Diagram -> Validation Decorators = true
Diagram -> Validation Enabled = true
Diagram -> Live Validation UI Feedback = true
Providers -> Validation Decorator Provider Priority = Medium
Providers -> Validation Provider Priority = Medium
Thank you very much. Regards,
Aintzane
|
|
|
Powered by
FUDForum. Page generated in 0.06387 seconds