Predefined values in "ask" variable
Posted: Thu Sep 22, 2016 10:08 pm
Hi,
I have a custom parameter in the plugin.xml of my plugin:
As you can see, the parameter has a limited set of values that indicate languages. In the Edit Parameter window, <oXygen/> shows me a list of those values. Now I want the author to choose one of these values when starting the transformation scenario. (How) can I use ${ask} (or something similar) for that? As I understand ${ask}, I always have to define a list of values in the Edit Parameter window. Do I have to redefine them here?
So what I'd like to do is using ${ask} without values: ${ask('Choose language', combobox)}
I have a custom parameter in the plugin.xml of my plugin:
Code: Select all
<transtype name="termchecker-dita" extends="html5" desc="Termchecker for DITA">
<param name="args.language" desc="Language of the terminology check rules" type="enum">
<val>af</val>
<val>ar-AE</val>
<val>ar-BH</val>
<val>ar-DZ</val>
<val>ar-EG</val>
<val>ar-IQ</val>
...
So what I'd like to do is using ${ask} without values: ${ask('Choose language', combobox)}