I am using ui:repeat tag which render images. I have five images i want that on each iteration my image get ids like image1, image2, image3.... imagen. I tried this but it i
You can use EL in the id
attribute, but it has to be available during view build time. The
however runs during view render time, it will reuse the same
to generate multiple HTML elements. It doesn't run during view build time, so the
id
remains image
.
If you replace
by
, then it'll work as you intented. The
runs during view build time and it will generate multiple
components which will then each get rendered only once.