multiple selection mode for ${ask()}

Are you missing a feature? Request it's implementation here.
friedemann_bach
Posts: 48
Joined: Wed Oct 22, 2014 4:11 pm

multiple selection mode for ${ask()}

Post by friedemann_bach » Wed Nov 02, 2016 5:57 pm

Dear developers,

I would like to use ${ask()} in an Action to let the user select multiple values, in order to fill an attribute. It seems that currently only single selection mode (by radio buttons) is supported. Is there a way to make ${ask()} allow also multiple selection, in analogy to oxy_popup where I can set the "selectionMode" to 'multiple'?

Best regards and many thanks for all your precious work!

Radu
Posts: 6541
Joined: Fri Jul 09, 2004 5:18 pm

Re: multiple selection mode for ${ask()}

Post by Radu » Thu Nov 03, 2016 10:12 am

Hi,

Thanks for the report, we already have an issue registered for this and based on your feedback I will try to increase its priority.
This type of ask editor variable would probably show a list of checkboxes and you would also need to tell it the separator that it should use when composing the final value from the list of checked values (space or ; or ,).
For now you will probably need to implement your own AuthorOperation Java extension and show your custom dialog to allow for such customization.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

friedemann_bach
Posts: 48
Joined: Wed Oct 22, 2014 4:11 pm

Re: multiple selection mode for ${ask()}

Post by friedemann_bach » Thu Nov 03, 2016 11:13 am

Great, thank you! For now I will find another solution, as you proposed.

Post Reply