If you've set everything else up, it should be automatic: http://www.mail-archive.com/users%40myfaces.apache.org/msg15110.html
On 1/16/06, Veit Guna <[EMAIL PROTECTED]> wrote: > Hi. > > How can I get the label (outputLabel) for a specific component? I need > this, to add the label text to a custom validation message. It seems > that {0} isn't filled automatically with the label when I add a custom > message with addMessage to the clientId (field). > > regards, > Veit >