selectOneMenu with forEach as described here (https://stackoverflow.com/a/29676353/1521710) does the job but when trying to use selectOneRadio in same case passthrough is ignored.
Is there any quick way to fix this.
<h:selectOneRadio...>
<c:forEach value="#{bean.countries}" var="country">
<f:selectItem
itemValue="#{country}"
itemLabel="#{country.countryName}"
pt:data-icon="flag flag-#{country.isoCode}" />
</c:forEach>
</h:selectOneRadio>
It is not the same like in the given link selectOneMenu - generates combo box selectOneRadio - generates radio button goup So it is using different renderes