Set component attribute bug

I use components inside UIData and change thir attributes by children components.

I tried to use UIComponent.setValueExpression("onclick", ...), UIComponent.getAttributes().put("onclick", ...), UIComponent.setValueBinding("onclick", ...). It works good for components, which is not within UIData. But in this case I have seen the following problem: I set attibute for component on the first row only, but its value is set for the other components too (I mean the same component but on the other rows).

Is it bug or do I something wrong?

[557 byte] By [JSF_custom_tagsa] at [2007-11-27 8:24:34]
# 1
Not a bug. Do not confuse the component view tree with the HTML that is produced. There is only one component that represents the HTML in each and every row.
smurray_eriea at 2007-7-12 20:13:41 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Yes, I know it. But if I set attribute values on my page, everything is right. If I set it from code, there is an error.

I think that it is a bug, because component, for which I set attribute, has client id like: UIDataId:rowIndex:componentId. I set value to component on the third row, and have this value on components on the third and the fifth row.

To tell the truth, I am sure, that it is a bug. If it is not so, please tell me, how an I set attribute value to component, which I need. Is there any way? I think, no. And it is a bug.

JSF_custom_tagsa at 2007-7-12 20:13:41 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...