Confused by oxy_editor vs. other form controls
Oxygen general issues.
-
- Posts: 7
- Joined: Mon May 02, 2022 11:48 am
Confused by oxy_editor vs. other form controls
This is confusing for me: There is a custom css function oxy_editor with types like "combo" and then there are form controls like oxy_combobox etc. I cannot find any documentation to oxy_editor (I just work with examples) and so I don't understand, what is the difference and what the advantage of oxy_editor is?
I would be very grateful for help!
I would be very grateful for help!
-
- Posts: 78
- Joined: Wed Jun 22, 2016 2:48 pm
Re: Confused by oxy_editor vs. other form controls
Post by adrian_sorop »
Hi,
The oxy_editor is the generic function.
The other are the dedicated functions:
Here's a small example: first button grup form control is created with the oxy_editor(type, buttonGroup) form control and the second one with the dedicated : oxy_buttonGroup() form control.
The results will be the same (except the labels, of course).
Regards,
Adrian S.
The oxy_editor is the generic function.
The other are the dedicated functions:
- oxy_audio - Audio File Player Form Control
- oxy_browser - Browser Form Control
- oxy_button - Button Form Control
- oxy_buttonGroup - Button Group Form Control
- oxy_checkbox - Checkbox Form Control
- oxy_combobox - Combo Box Form Control
- oxy_datePicker - Date Picker Form Control
- oxy_htmlContent - HTML Content Form Control
- oxy_popup - Pop-up Form Control
- oxy_textArea - Text Area Form Control
- oxy_textfield - Text Field Form Control
- oxy_urlChooser - URL Chooser Form Control
- oxy_video - Video Player Form Control
Here's a small example: first button grup form control is created with the oxy_editor(type, buttonGroup) form control and the second one with the dedicated : oxy_buttonGroup() form control.
The results will be the same (except the labels, of course).
Code: Select all
XML:
<root>
<bg-oxy_editor/>
<bg-oxy_button_grup/>
</root>
CSS
bg-oxy_editor {
content: oxy_editor(
type, buttonGroup,
label, 'button grup implemented using the generic oxy_editor form control',
actionIDs, "action1, action2");
}
bg-oxy_button_grup {
content: oxy_buttonGroup(
label, 'button grup implemented using the oxy_buttonGroup form control',
actionIDs, 'action1, action2'
)
}
Adrian S.
Adrian Sorop
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service