${ask} multiple questions in one dialog box

Post here questions and problems related to oXygen frameworks/document types.
pieterjan_vdw
Posts: 41
Joined: Wed Jun 20, 2018 11:30 am

${ask} multiple questions in one dialog box

Post by pieterjan_vdw »

With an action I want to add a section to a topic and with the ${ask} variable I would like the writer to complete the values of a couple of elements.
I have three ${ask} questions in my section I would like to add.
Currently I get three pop-up dialog boxes and I was wondering if it would be possible to get these three questions in one dialog box?

This could be an idea but don't know if that's possible:
  • I bundle all questions in one element I don't use for output.
  • I get one dialog box with the three questions.
  • I use ${answer(@id)} to get the asked info in it the correct place in my topic.
Any other ideas how to get this done?
sorin_carbunaru
Posts: 402
Joined: Mon May 09, 2016 9:37 am

Re: ${ask} multiple questions in one dialog box

Post by sorin_carbunaru »

Hello,

Collecting all questions into one dialog using ${ask} is not possible. At least not yet. We do have an feature request recorded for this (EXM-39892 - for reference purposes), and I added your vote.

I don't really understand your proposed solution. My advice would be to add your custom editor variable to Oxygen using ro.sync.exml.workspace.api.util.EditorVariablesResolver. You can see an example of using this API in our Git Client add-on: https://github.com/oxygenxml/oxygen-git ... olver.java.

Best wishes,
Sorin Carbunaru
Oxygen XML Editor
Post Reply