Does JSF 2.0 have a built-in method for finding the client ID of another component? There are about a thousand client ID-related questions on SO and there are a lot of hack
You need to assign the component a variable name in the view scope by binding attribute.
binding