Using-Uno-Choice-for-Dynamic-Input-Text-Box-Defaults

723 views
Skip to first unread message

pavana

unread,
Sep 18, 2015, 5:38:10 AM9/18/15
to BioUno Developers
Hi Guys,
I found this from the blog and I think I  saw this in the uno choice plugin. not really sure. Im trying to create a dynamic text box from Active choice plugin but not succeeding. Any help is appreciated. By the way , the plugin looks great and i intend to make the most of it now .
https://github.com/biouno/uno-choice-plugin/wiki/Using-Uno-Choice-for-Dynamic-Input-Text-Box-Defaults

Ioannis Moutsatsos

unread,
Sep 18, 2015, 4:10:15 PM9/18/15
to BioUno Developers
Please note that uno-choice is now Active Choices and can be obtained through the Jenkins update center.

Your best option is to start with an Active Choice Reference Parameter of type 'Formatted HTML' or 'Hidden Formatted HTML'
 
Make sure that your groovy script returns a string of the type  shown in the referenced blog entry i.e.
return "<input name=\"value\" value=\"${dynRefParam}\" class=\"setting-input\" type=\"text\">"

See also Scenario 3 example from Active Choices wiki page.

Perhaps you can post your setup and we can provide more detailed help

Hope this is enough to get you started!

Ioannis

pavana

unread,
Sep 19, 2015, 7:42:18 AM9/19/15
to BioUno Developers
Thanks Ioannis, works like a charm.

Regards
Pavana
Reply all
Reply to author
Forward
0 new messages