-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for different input types in Formatted HTML #1
Allow for different input types in Formatted HTML #1
Conversation
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
Oh, that looks interesting @valdemon! I'll try to test it in the next days and merge it. Thanks for your contribution!!! |
You're welcome, @kinow. It's an awesome plugin, btw. |
Tested locally, and worked as expected! Thanks @valdemon, very good spotting this simple change, kudos! Preparing a new release with your change in the next hours. |
…ypes_in_formatted_html Allow for different input types in Formatted HTML
Thanks, cool to hear that! |
Released! Should be available from the update center tomorrow morning. Thanks again! |
Released! Available in the update center within some hours. Thanks again!!! Em qua, 22 de Julho de 2015 08:28 BRT Waldek Kozba escreveu:
|
Confirm that it works after the upgrade. Thanks for the fast reaction! |
Great news! Thanks for the contribution and for the feedback. |
So if I understand this new functionality correctly any input type in Reactive Reference is persisted as a build parameter. This is a significant improvement over the previous behavior. Thank you! However, when I setup a a Reactive Reference (Active Choices plugin v1.2) with the following code it did not work. The build parameter was still null. Please, advice. Thank you!
|
Hi @imoutsatsos Either your input or label needs to have the name="value" The plug-in used to search for value in parameters with
The input in the beginning was limiting us to only input fields. After @valdemon 's contribution, we can have select elements with name="value", or any other element. Hope that helps |
Cool use case for the new behavior @imoutsatsos ! Could be put into the plugin's WiKi for a reference. Another possible use case is changing the UI control type dynamically, depending on the context (incl. referenced parameter values). |
I agree @valdemon . This is a really useful new feature for Active Choices. Thanks for your contributions! |
@valdemon @kinow An example page demonstrating the enhanced Reference Parameter usage in Active Choices v1.2 has now been added to the Active Choices wiki page. |
Reviewed, cool article! |
Really cool @imoutsatsos ! Could become a blog post in biouno.org too :-) |
Hi,
this tiny change fully supports different input types in the formatted HTML.
Without this change the Formatted HTML option allows to create the various HTML input types dynamically and take a parameter value for the build, but it DOES NOT allow to take the value of such a parameter by a reference to another Reactive Reference Parameters (via Referenced Parameters attribute).
In effect only the 'input' tag values were reflected. With this change any tag (like select or checkbox will work as well).