Retrieving other component's client ID in JSF 2.0

前端 未结 3 1094
[愿得一人]
[愿得一人] 2020-12-06 10:00

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

3条回答
  •  渐次进展
    2020-12-06 10:41

    You need to assign the component a variable name in the view scope by binding attribute.

    
    
    

提交回复
热议问题