CSS: setting default value in oxy_popup
Post here questions and problems related to oXygen frameworks/document types.
CSS: setting default value in oxy_popup
Hi there,
I have recently been playing with oxy_popup and I was wondering if it was possible to add a default type value for oxy_popup.
For example in this case, instead of seeing 'No Value' as the default value when a step element is selected, is it possible to change the default values to be another value (such as value1), whenever a step is created.
Or should this be done somewhere else?
I have recently been playing with oxy_popup and I was wondering if it was possible to add a default type value for oxy_popup.
For example in this case, instead of seeing 'No Value' as the default value when a step element is selected, is it possible to change the default values to be another value (such as value1), whenever a step is created.
Code: Select all
*[class ~= "task/step"][importance="value1"]:before,
*[class ~= "task/step"][importance="value2"]:before {
content: oxy_popup(
edit, '@importance',
values, "value1, value2, ",
labels, "Value1: , Value2: , 'No Value' ",
... ;
);
}
-
- Posts: 1015
- Joined: Wed Nov 16, 2005 11:11 am
Re: CSS: setting default value in oxy_popup
Post by alex_jitianu »
Hi,
The default value is detected from the associated schema. In your case the schema doesn't provide a default value so that's way the label associated with the empty value is presented.
I will add an issue to have a defaultValue property on form controls.
Best regards,
Alex
The default value is detected from the associated schema. In your case the schema doesn't provide a default value so that's way the label associated with the empty value is presented.
I will add an issue to have a defaultValue property on form controls.
Best regards,
Alex
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