Different checkboxes for same attribute
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 49
- Joined: Mon Mar 28, 2016 3:54 pm
Different checkboxes for same attribute
Post by Raga Mounika »
Hi,
For my GUI customization I have to use 2 checkboxes for a a single attribute.
For example:
For an element I need two checkboxes test1, test2. On clicking on both the checkboxes(test1, test2) the value should be "outputclass=test1 test2"
and test2 is defaultly selected.
Is it possible to have 2 checkboxes with same outputclass ? If so please help with the possible code.
Thank you!
Regards,
Mounika
For my GUI customization I have to use 2 checkboxes for a a single attribute.
For example:
For an element I need two checkboxes test1, test2. On clicking on both the checkboxes(test1, test2) the value should be "outputclass=test1 test2"
and test2 is defaultly selected.
Is it possible to have 2 checkboxes with same outputclass ? If so please help with the possible code.
Thank you!
Regards,
Mounika
-
- Posts: 49
- Joined: Mon Mar 28, 2016 3:54 pm
Re: Different checkboxes for same attribute
Post by Raga Mounika »
Hi Team,
It is working fine with multiple values for a single attribute.
But how to keep a value as checked by default.
Consider the example of test1, test2 checkbox for outputclass attribute.
test2 should be defaultly checked and on unchecked the test2 it should show as outputclass=notest2.
Thanks,
Mounika
It is working fine with multiple values for a single attribute.
But how to keep a value as checked by default.
Consider the example of test1, test2 checkbox for outputclass attribute.
test2 should be defaultly checked and on unchecked the test2 it should show as outputclass=notest2.
Thanks,
Mounika
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Different checkboxes for same attribute
Hi Mounika,
So for your first question you used something like in the multi checkbox form control example posted here, right?
https://www.oxygenxml.com/doc/versions/ ... ditor.html
About your second problem:
We do not have support for this so a workaround would be for you to implement your own Java-based form control:
https://www.oxygenxml.com/doc/versions/ ... trols.html
Regards,
Radu
So for your first question you used something like in the multi checkbox form control example posted here, right?
https://www.oxygenxml.com/doc/versions/ ... ditor.html
About your second problem:
So the element does not have the @outputclass attribute set on it but you still want one of the checkboxes to be selected?test2 should be defaultly checked and on unchecked the test2 it should show as outputclass=notest2.
We do not have support for this so a workaround would be for you to implement your own Java-based form control:
https://www.oxygenxml.com/doc/versions/ ... trols.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 49
- Joined: Mon Mar 28, 2016 3:54 pm
Re: Different checkboxes for same attribute
Post by Raga Mounika »
Hi Radu,
Thank you very much for the information
Regards,
Mounika
Thank you very much for the information

Regards,
Mounika
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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