Page 1 of 1

Why image map open URLChooser with a "generic" context ?

Posted: Mon Feb 27, 2023 1:37 pm
by Vince
Hello,

I notice that image map open URLChooser with a "generic" type in context.
Why not only "image" type ?

image.png

Code: Select all

DummyUrlChooser.prototype.chooseUrl = function(context, chosen) {
   // context.getType() is sync.api.UrlChooser.Type.GENERIC
}
Regards,
Vincent

Re: Why image map open URLChooser with a "generic" context ?

Posted: Mon Feb 27, 2023 4:53 pm
by mihaela
Hello,

The empty image map chooser is implemented using an URL Chooser form control [1] that has no support in Web Author yet for file type filter.
I have registered an improvement for this in our internal issues tracking system and we will update this thread when it will be available.

[1] https://www.oxygenxml.com/doc/versions/ ... atrix.html

Best Regards,
Mihaela