The oxy_urlChooser built-in form control is used for a dialog box that
allows you to select the location of local or remote resources. The inserted reference is made
relative to the URL of the currently open editor.
oxy_urlChooser editor supports the following properties:visibility property to
-oxy-collapse-text to render the text only in the form
control that the oxy_editor function specifies.em,
ex), absolute (in, cm,
mm, pt, pc, px), and
percentage (followed by the % character) length units. The
width property takes precedence over the columns
property (if the two are used together).color property is
inherit, the form control has the same color as the element that was
used to insert it.true (default value) and false.true or false (default value). To
make the form control inherit its font from its parent element, set the
fontInherit property to true."jpg,png,gif" is
mapped to three filters that will display all jpg,
png, and gif files respectively.p:before {
content: oxy_urlChooser(hoverPseudoclassName, 'showBorder')
}
p:showBorder {
border: 1px solid red;
}urlChooser[file]:before {
content: "A URL chooser editor that allows browsing for a URL.
The selected URL is made relative to the currently edited file:"
oxy_urlChooser(
edit, "@file",
columns 25);
}oxy_urlChooser form control in a CSS
file , invoke the Content Completion
Assistant by pressing Ctrl +
Space and select the
oxy_urlChooser code template.To see more detailed examples and more information about how form controls work in Oxygen XML Author Eclipse plugin, see the sample files in the following directory: [OXYGEN_INSTALL_DIR]/samples/form-controls.
For more information about form controls, watch our video demonstration: