no popup appearing, neither with oxy_popup nor $ask
Oxygen general issues.
-
- Posts: 5
- Joined: Wed Jun 26, 2019 3:58 pm
no popup appearing, neither with oxy_popup nor $ask
Hello,
I'm trying (unsuccessfully) to get an editable popup to enter some preferences before generating a pdf
I've tried the example (in the css file):
link:before{
content: oxy_popup(
edit, '@href',
values, "Spring Flowers, Summer Flowers, Autumn Flowers, Winter Flowers",
tooltips, "Iris${comma}Snowdrop, Gardenia${comma}Liliac, Chrysanthemum${comma}Salvia, Gerbera",
selectionMode, single);
}
then :
content: oxy_popup(edit, '', values, "hello", selectionMode, single)
content: "$ask('something')"
I also tried (in dita):
<data name="${ask('something')}"></data>
What am I missing?
(I'm running XML Editor 21.0, build 2019022207)
I'm trying (unsuccessfully) to get an editable popup to enter some preferences before generating a pdf
I've tried the example (in the css file):
link:before{
content: oxy_popup(
edit, '@href',
values, "Spring Flowers, Summer Flowers, Autumn Flowers, Winter Flowers",
tooltips, "Iris${comma}Snowdrop, Gardenia${comma}Liliac, Chrysanthemum${comma}Salvia, Gerbera",
selectionMode, single);
}
then :
content: oxy_popup(edit, '', values, "hello", selectionMode, single)
content: "$ask('something')"
I also tried (in dita):
<data name="${ask('something')}"></data>
What am I missing?
(I'm running XML Editor 21.0, build 2019022207)
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: no popup appearing, neither with oxy_popup nor $ask
Hi,
Most editor variables, including $ask are not expanded in CSS content. Also editor variables in XML content are not expanded.
What you could do if you want to ask the end user something every time when publishing might be to edit the transformation scenario and any parameter you add in the Parameters tab can have a value containing $ask editor variables.
And the publishing engines does some special interpretation of certain parameters:
https://www.oxygenxml.com/doc/versions/ ... yling.html
Regards,
Radu
Most editor variables, including $ask are not expanded in CSS content. Also editor variables in XML content are not expanded.
What you could do if you want to ask the end user something every time when publishing might be to edit the transformation scenario and any parameter you add in the Parameters tab can have a value containing $ask editor variables.
And the publishing engines does some special interpretation of certain parameters:
https://www.oxygenxml.com/doc/versions/ ... yling.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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