Add external values to oxy_combobox options
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 25
- Joined: Fri Jan 26, 2024 3:31 pm
Add external values to oxy_combobox options
Post by vitorhugovm »
Hello!
Is there a way fill the values property of oxy_combobox in CSS by using a Java function?
I wanted to receive these options through an HTTP GET.
Thanks!
Vitor
Is there a way fill the values property of oxy_combobox in CSS by using a Java function?
I wanted to receive these options through an HTTP GET.
Thanks!
Vitor
Re: Add external values to oxy_combobox options
Hello,
To achieve dynamic filtering of the values for the oxy_combobox, you can use the SchemaManagerFilter interface. Specifically, you can utilize the filterAttributeValues method [1]. This method allows you to filter the list of attribute values that are proposed by the editor's content completion schema manager.
[1] https://www.oxygenxml.com/InstData/Edit ... teContext)
Best,
Cosmin
To achieve dynamic filtering of the values for the oxy_combobox, you can use the SchemaManagerFilter interface. Specifically, you can utilize the filterAttributeValues method [1]. This method allows you to filter the list of attribute values that are proposed by the editor's content completion schema manager.
[1] https://www.oxygenxml.com/InstData/Edit ... teContext)
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
-
- Posts: 25
- Joined: Fri Jan 26, 2024 3:31 pm
Re: Add external values to oxy_combobox options
Post by vitorhugovm »
Hello Cosmin!
In this case I'm editing the text inside the element, not an attribute.
I used the class you mentioned, but altered the filterElementValues function instead, it worked!
Thank you very much!
Vitor
In this case I'm editing the text inside the element, not an attribute.
I used the class you mentioned, but altered the filterElementValues function instead, it worked!
Thank you very much!
Vitor
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