Adding 2 attributes
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 157
- Joined: Mon Aug 18, 2014 4:11 pm
Adding 2 attributes
Hi team,
We are facing an issue when adding 2 attributes for a dropdown in oxy_combobox().We have done this with single attribute and it worked.
Consider the following example:
A note element has a dropdown with do,stop.When do is selected,in CSS it should reflect as type="other" othertype="Do" (this has to be done dynamically). Please help us in solving this.
Regards,
Shabeer.
We are facing an issue when adding 2 attributes for a dropdown in oxy_combobox().We have done this with single attribute and it worked.
Consider the following example:
A note element has a dropdown with do,stop.When do is selected,in CSS it should reflect as type="other" othertype="Do" (this has to be done dynamically). Please help us in solving this.
Regards,
Shabeer.
-
- Posts: 1017
- Joined: Wed Nov 16, 2005 11:11 am
Re: Adding 2 attributes
Post by alex_jitianu »
Hi Shabeer,
To make sure I understand it correctly, you want the selection in the combo to set TWO attributes, right? The built-in combo is not able to do that. There are two possibilities that come to mind:
1. a custom form control can alter the document as it desires
2. instead of a combo box use two button form controls, one for "DO" and one for "STOP". Each button is linked to an author action based on the ExecuteMultipleActionsOperation. This operation will execute two ChangeAttributeOperation-based actions (one to update @type and another to update @othertype)
Best regards,
Alex
To make sure I understand it correctly, you want the selection in the combo to set TWO attributes, right? The built-in combo is not able to do that. There are two possibilities that come to mind:
1. a custom form control can alter the document as it desires
2. instead of a combo box use two button form controls, one for "DO" and one for "STOP". Each button is linked to an author action based on the ExecuteMultipleActionsOperation. This operation will execute two ChangeAttributeOperation-based actions (one to update @type and another to update @othertype)
Best regards,
Alex
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