Hi Elam,

during validation a call to component.getClientId(facesContext) returns
the correct id, including the row number, which can used to add the
ErrorMessage to the facescontext.
The UIData initialized all components properly before invoking lifecycle
methods on them.

Regards,
  Volker

Elam Daly wrote:
> Hi all,
> 
> I have a dataTable in which one of the columns has an input with a
> custom validator.  The problem with the validation is that when it's
> called, myfaces has no idea which id to return the message to, because
> all the id's are prefixed with a row number. So if my input has an id of
> "EmployeeId", then when myfaces renders the page it's id has been
> changed to "11:EmployeeId" or whatever row number the validator threw
> the error.
> 
> Is there someway to specify that the message is for that specific row:id
> or is there another way to do the validation I need within a dataTable
> that has multiple inputs?
> 
> Thanks,
> -Elam

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Reply via email to