Button Form Control

The oxy_button built-in form control is used for graphical user interface objects that invoke a custom Author mode action (defined in the associated Document Type) referencing it by its ID, or directly in the CSS.

The oxy_button form control supports the following properties:
Example: oxy_button Form Control
button:before {
  content: "Label:"
     oxy_button(
         /* This action is declared in the document type 
            associated with the XML document. */
         actionID, "insert.popupWithMultipleSelection");
}
Tip: To insert a sample of the oxy_button form control in a CSS file , invoke the Content Completion Assistant by pressing Ctrl + Space and select the oxy_button code template. Also, an oxy_button_in_place_action code template is available that inserts an oxy_button function that includes an action parameter.

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.

Resources

For more information about form controls, watch our video demonstration: