Create element with custom button
Oxygen general issues.
-
- Posts: 13
- Joined: Mon Jul 29, 2013 6:14 pm
Create element with custom button
Dear all,
I'm new to oXygen, so please let me ask a beginners question. I looked at the shipped example. This is a very good example and I like the CSS style abilities. But I do not understand, how the and buttons work to add or remove a personal sheet. Could you please tell me, where I can find documentation relating to this topic?
Thanks for your support!
I'm new to oXygen, so please let me ask a beginners question. I looked at the shipped
Code: Select all
personal.xml
Code: Select all
+
Code: Select all
-
Thanks for your support!
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Create element with custom button
Post by alex_jitianu »
Hello,
The buttons are one of the built in form controls supported by Oxygen:
http://www.oxygenxml.com/doc/ug-author/ ... ction.html
http://www.oxygenxml.com/doc/ug-author/ ... ditor.html
A button binds itself to an author action and when the button is pressed the action is executed in the context of the element the button is added on. More on the author actions:
http://www.oxygenxml.com/doc/ug-author/ ... us-toolbar
http://www.oxygenxml.com/doc/ug-author/ ... ation.html
Referring to personal.xml sample file, if you go to Options->Preferences..., on the Document type associations options page you will notice a document type named Personal (Sample). Click Edit and in the configuration dialog select the Author then Actions tabs. You will notice a couple of defined author actions. If you go to the CSS tab you will see the CSS file in which the buttons are added. If you open it (it's location is {oxygenInstallDir}/frameworks/samples/css/personal.css}) you will see how the buttons are bounded to the author actions you've previously seen.
There is a video presentation available about the form control support in Oxygen:
http://oxygenxml.com/demo/Form_Controls.html
as well as a registered webinar:
http://www.oxygenxml.com/events/2013/we ... ryone.html
Best regards,
Alex
The buttons are one of the built in form controls supported by Oxygen:
http://www.oxygenxml.com/doc/ug-author/ ... ction.html
http://www.oxygenxml.com/doc/ug-author/ ... ditor.html
A button binds itself to an author action and when the button is pressed the action is executed in the context of the element the button is added on. More on the author actions:
http://www.oxygenxml.com/doc/ug-author/ ... us-toolbar
http://www.oxygenxml.com/doc/ug-author/ ... ation.html
Referring to personal.xml sample file, if you go to Options->Preferences..., on the Document type associations options page you will notice a document type named Personal (Sample). Click Edit and in the configuration dialog select the Author then Actions tabs. You will notice a couple of defined author actions. If you go to the CSS tab you will see the CSS file in which the buttons are added. If you open it (it's location is {oxygenInstallDir}/frameworks/samples/css/personal.css}) you will see how the buttons are bounded to the author actions you've previously seen.
There is a video presentation available about the form control support in Oxygen:
http://oxygenxml.com/demo/Form_Controls.html
as well as a registered webinar:
http://www.oxygenxml.com/events/2013/we ... ryone.html
Best regards,
Alex
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