I presume that your "button" is in the same row of the table as the
component it accesses (otherwise there would not be a 1:1 relation
between button and component). So I think you can use the "naming
convention" approach documented here under "Avoiding forceId":
  http://wiki.apache.org/myfaces/forceId

Regards,

Simon

On Fri, 2006-01-20 at 15:03 +0100, Enrique Medina wrote:
> For those who might be interested...
> 
> FInally I solved my problem. When the dataTable is being rendered,
> then it uses both the row number and the col number to generate the
> IDs, so I made use of the rowIndexVar and var properties of DataTable
> and UIColumns respectively to be able to access this information at
> runtime through EL. Then I created a simple Javascript function that
> replaced the ID I had at my code, with the extra information of rows
> and cols. 
> 
> Works like a charm!!!!
> 
> Thanks very much again for those who have given me help and tips ;-)
> 
> 2006/1/20, Enrique Medina <[EMAIL PROTECTED]>:
>         I see. But it's not that exactly. Suppose I have a button
>         associated to each INPUT object, that when clicked must
>         perform a particular action for the value of the INPUT
>         associated, not another... 


Reply via email to