Build oxy_combobox based on Content Completion values
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 168
- Joined: Fri Jan 20, 2017 1:11 pm
Build oxy_combobox based on Content Completion values
Hello everyone,
I am using the Oxygen SDK 21.1.0.2 and I wondered if it is possible to create an oxy_combobox with the values provided by Content Completion.
In the post
And now, we want to display those filtered values in a combobox via an oxy_combobx element.
Is it possible or not ?
Regards,
Isabelle
I am using the Oxygen SDK 21.1.0.2 and I wondered if it is possible to create an oxy_combobox with the values provided by Content Completion.
In the post
, we have filter an element regarding the value of an other one.Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
And now, we want to display those filtered values in a combobox via an oxy_combobx element.
Is it possible or not ?
Regards,
Isabelle
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Build oxy_combobox based on Content Completion values
Hi Isabelle,
If this is for an element's text value (and not for an attribute) probably something like this should work in the CSS:
because if explicit values are not provided in the combo box it should fallback on the content completion values.
https://www.oxygenxml.com/doc/versions/ ... ditor.html
Regards,
Radu
If this is for an element's text value (and not for an attribute) probably something like this should work in the CSS:
Code: Select all
element {content: oxy_combobox(edit, "#text");}
https://www.oxygenxml.com/doc/versions/ ... ditor.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Build oxy_combobox based on Content Completion values
Hi Isabelle,
This should work:
If you go to the Oxygen Attributes view and double click on the attribute name are there in the editing combo box the values that you expect?
Regards,
Radu
This should work:
Code: Select all
element {content: oxy_combobox(edit, "@attributeName");}
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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