problem with findComponent

i have a datatable with different values

i would like to know which attributes these fields have:

so i do following:

FacesContext fc = e.getFacesContext();

UIViewRoot root = fc.getViewRoot();

Iterator i = fc.getClientIdsWithMessages();

while(i.hasNext())

{

String clientId = (String) i.next();

UIComponent c = root.findComponent(clientId);

...

c.getAttributes()

....

}

as clientId i get sth. like: myView:myForm:myData:0:street

unfortunately my UIComponent c is null.

i assume that its depend on value0 in my clientID-line. Is there any other methods to find the component?

[777 byte] By [naekoa] at [2007-11-27 5:54:34]
# 1
This is the row number of the datatable. It look like that the collection with the data is empty while you're trying to retrieve the row.
BalusCa at 2007-7-12 15:49:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...