
Hi Andreas, The ask editor variables are quite primitive in interpreting their parameters, for example you are required to have simple quotes (') around the default value like:
${ask('Wie lautet die Expansion?', generic, '${selection}')}
From what I tested, after I added the "'" around the ${selection} editor variable, this started to work for me. Regards, Radu Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com On 6/20/2018 5:26 PM, Andreas Wagner wrote:
Hi list,
I have another question regarding the definitions I am using in my author framework: In a SurroundWithFragmentOperation I have the following Fragment argument:
<choice xmlns="http://www.tei-c.org/ns/1.0"> <abbr></abbr> <expan resp="${svsal-user}" cert="${ask('Wie gewiss ist die Richtigkeit dieser Expansion?', combobox, ('high':'hoch';'medium':'mittel';'low':'niedrig';'unknown':'unbekannt'), 'high')}"> ${ask('Wie lautet die Expansion?', generic, ${selection})} </expan> </choice>
This expands local editor variables such as ${svsal-user} correctly and works fine with the dialogues, but it seems to ignore the ${selection} variable that I want to use as default value in the last dialogue. The textfield that this dialogue displays is empty all the time.
Is it not supposed to work this way?
Thanks in advance and best regards,
Andreas