Create element with custom button

<oXygen/> general issues.
Posts: 13

Create element with custom button

Mon Jul 29, 2013 6:18 pm

Dear all,

I'm new to oXygen, so please let me ask a beginners question. I looked at the shipped

Code: Select all

example. This is a very good example and I like the CSS style abilities. But I do not understand, how the

Code: Select all


Code: Select all

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!
Posts: 653

Re: Create element with custom button

Tue Jul 30, 2013 10:55 am


The buttons are one of the built in form controls supported by Oxygen:

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:


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:

as well as a registered webinar:

Best regards,
Posts: 13

Re: Create element with custom button

Tue Jul 30, 2013 12:31 pm

Hi Alex,

wow, thanks a lot for this detailled answer.

Thank you very, very much.

Best regards

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 6 guests