Hi all,
I'm using Jenkins 1.580.3 and test harness of the same version.
In my config.jelly I have the following definition:
<f:block>
<table>
<f:descriptorRadioList descriptors="${descriptor.entryDescriptors}"
varName="buildStatusUpdateOption"
instance="${option}" title="Choose how to
update build"/>
</table>
</f:block>
It renders to
<input name="removeme40_buildStatusUpdateOption" checked="true"
type="radio" value="0" class="radio-block-control" id="radio-block-38">
where numbers in name and id update randomly.
I supposed that HtmlForm.getCheckedRadioButton("buildStatusUpdateOption")
would be able to find this radio button (as it's coming from some wrapper
package from Jenkins, not from original HtmlUnit), but guess what? It
doesn't. It wants "removeme40_buildStatusUpdateOption".
Am I doing something wrong? And why is that "removeme40" added to the name?
Regards,
Kirill.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/f9325dd0-4110-4e33-b3a5-d21d595d7758%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.