By calling getClientId(FacesContext) on a table, while it is iterating
will give you the stamp.

So, in your example:

UIData data = (UIData)viewRoot.findComponent('xyz');
UIComponent comp = data.findComponent('abc');

data.setRowIndex(0);

String id = comp.getClientId(facesContext);

// this will return "xyz:0:abc"

data.setRowIndex(-1);


On Tue, May 6, 2008 at 4:55 PM, Dipl.-Ing. Torsten Liermann
<[EMAIL PROTECTED]> wrote:
> Hi, I would like to add faces messages to Input Elements within
>  a Table. How can I get the client id like the rendered client id
>  xyz:0:abc
>  xyz:1:abc
>  ...
>  How how is it possible to iterate over a datatable?
>
>  Thanks for a tip
>  Torsten
>

Reply via email to