oxy_checkbox issue
Post here questions and problems related to oXygen frameworks/document types.
oxy_checkbox issue
Hello everyone,
I noticed a difference in behavior and rendering in the CSS of oxy_checkbox between the oxygen component 19.1.0.3 and oxygen XML Editor 20.1.
In both cases, I apply this CSS fragment:
In the Author view of XML Editor 20.1, I have exactly the desired behavior. A checkbox checked when the value of my attribute is 1 and unchecked when the value of this attribute is 0. When I click on the checkbox, the attribute changes value.
However, in the oxygen component, the display is not good. No checkbox is checked and when I try to click on a checkbox, a message appears:
Thank you in advance for your help,
Johann
I noticed a difference in behavior and rendering in the CSS of oxy_checkbox between the oxygen component 19.1.0.3 and oxygen XML Editor 20.1.
In both cases, I apply this CSS fragment:
Code: Select all
pubdata:before(99) {
content: oxy_checkbox(edit, "@isaff", values, "1", uncheckedValues, "0", labels,"");
}
However, in the oxygen component, the display is not good. No checkbox is checked and when I try to click on a checkbox, a message appears:
Where can this difference come from?The attribute does not have a valid XML name: "isaff"
A valid attribute name must match the standard specification: http://www.w3.org/TR/xml/#NT-Name
Thank you in advance for your help,
Johann
Re: oxy_checkbox issue
Hi Johann,
I'm testing using the Oxygen 19.1 SDK, an XML sample like this:
and a CSS sample like:
I cannot see any problem when using my samples.\
You mentioned:
Can you also try to simplify your test documents so that I could have some samples on my side to reproduce the problem?
Regards,
Radu
I'm testing using the Oxygen 19.1 SDK, an XML sample like this:
Code: Select all
<?xml-stylesheet type="text/css" href="test.css"?>
<root>
<pubdata isaff="1"/>
</root>
Code: Select all
* {
display:block;
}
pubdata:before(99) {
content: oxy_checkbox(edit, "@isaff", values, "1", uncheckedValues, "0", labels,"");
}
You mentioned:
What do you mean by "not good"? Can I maybe get a screenshot from your side?However, in the oxygen component, the display is not good.
Can you also try to simplify your test documents so that I could have some samples on my side to reproduce the problem?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: oxy_checkbox issue
Well... Sorry for this post... I didn't see that I put an extra space in my original CSS file :
My bad!
Johann
Code: Select all
content: oxy_checkbox( edit, "@isaff ", values, "1", uncheckedValues, "0", labels, "");
Johann
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