I always just do

name="${h.generateId()}.name"

since the data-binding only pays attention to the bit after the last `.`

Also ensures that when adding repeatables you are getting unique Ids


On 27 August 2013 13:01, sophpc <[email protected]> wrote:

> The 'name' attribute must be unique for each radioBlock. A solution that
> worked for me (in a different case, such as in  JENKINS-5028
> <https://issues.jenkins-ci.org/browse/JENKINS-5028>  ) was to add a unique
> generated string to the name attribute. In my case I concatenated
> ${instance.hashCode()} to the name and it did the trick. I guess you can do
> something like this:
>
> name="${t.hashCode()}.myProject.myClass.choise"
>
>
>
> --
> View this message in context:
> http://jenkins-ci.361315.n4.nabble.com/Databinding-with-RadioBlock-into-Repeatable-tp4641009p4677030.html
> Sent from the Jenkins dev mailing list archive at Nabble.com.
>
> --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to