Page 1 of 1
Binding and unbinding filename autocompletion
Posted: Fri Sep 18, 2015 7:39 pm
by whyme
I am working with an XML vocabulary that defines @src such that it is not a URI. Is there any way to turn off the autocompletion feature that offers a list of local filenames one might want to pick? Also, is there a way to re-bind that filename autocomplete feature with another attribute or element of one's choice? What's the proper way to go about doing that?
Re: Binding and unbinding filename autocompletion
Posted: Mon Sep 21, 2015 5:10 pm
by adrian
Hi,
Is there any way to turn off the autocompletion feature that offers a list of local filenames one might want to pick?
There is no simple way to turn it off (no user option), since the list of attributes is hard-coded in a built-in file and not user configurable. However, this can be overridden for a specific attribute, if you have a schema associated with the XML file that proposes values or restricts the type for that attribute.
Also, is there a way to re-bind that filename autocomplete feature with another attribute or element of one's choice? What's the proper way to go about doing that?
This is not user configurable, so if you want to enable this filename autocomplete feature for a custom attribute you would need to create a patch file with the modified builtin file and place it in a specific folder path in the
Oxygen/lib folder (to override the built-in file). I guess the same method can be used to remove a built-in attribute in the patched file.
If you are interested in this solution, please contact us on our support email address,
support@oxygenxml.com.
Regards,
Adrian