Customizing validation errors popup

Post here questions and problems related to oXygen frameworks/document types.
Johann
Posts: 89
Joined: Wed Jun 17, 2015 12:46 pm

Customizing validation errors popup

Post by Johann » Fri May 25, 2018 12:50 pm

Hello everyone,

I am using oxygen SDK 19.1.0.3 and I would like to "customize" the popup listing validation errors. I mean the popup that appears when you double click at the bottom of the documentComponent, on the red dot.

Is it possible to change the layout of this popup, to hide or filter infomration displayed ? Or directly overriding the popup and putting mine ?

Thanks for your help,

Johann

Radu
Posts: 6589
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customizing validation errors popup

Post by Radu » Fri May 25, 2018 1:47 pm

Hi Johann,

Do you mean the validation status which presents the current validation error?
Like the one in this image:

https://www.oxygenxml.com/doc/versions/ ... senter.png

?

We do not have specific API for it.
If you can tell us more about your use case maybe we could consider adding some API in a future version.

Usually validation errors are computed on each modification and are stored as a list of "DocumentPositionInfo" objects.
That status displays the information from such an object.
We do have APIs to allow you to intercept the list of validation "DocumentPositionedInfo" objects and change it in some way:

https://www.oxygenxml.com/InstData/Edit ... emsFilter-

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Johann
Posts: 89
Joined: Wed Jun 17, 2015 12:46 pm

Re: Customizing validation errors popup

Post by Johann » Fri May 25, 2018 3:27 pm

Hi Radu,

In fact, I mean particularly this popup: https://ibb.co/nnZd6T.

The "DocumentPositionInfo" object contains what we desire, we just want to change the layout of the popup, to display these "DocumentPositionInfo" objects the way we want.

Johann

Radu
Posts: 6589
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customizing validation errors popup

Post by Radu » Tue May 29, 2018 3:33 pm

Hi Johann,

Unfortunately we do not have API for this. I will add an internal issue for this. We've never had a similar request before so the problem will probably not be very high priority for us. How much do you want this? Are there clients who refuse using the tool because of this?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Johann
Posts: 89
Joined: Wed Jun 17, 2015 12:46 pm

Re: Customizing validation errors popup

Post by Johann » Thu Jun 14, 2018 2:48 pm

Hi Radu,

I can't say that clients refuse using the tool because of this but you know that clients always want to customize every HMI :)

Thanks for your reply,

Regards,

Johann

Radu
Posts: 6589
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customizing validation errors popup

Post by Radu » Thu Jun 14, 2018 2:51 pm

Hi Johann,

I understand, thanks for the feedback.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply