In my case I want to refresh the component with ID baseTab
. It is itself contained if form main
and tabView tabs
. The absolute reference to the component is main:tabs:baseTab
. and this is what I need to refer to for example in update attribute:
<p:commandButton update="main:tabs:baseTab"/>
The problem with such full ID is that it is long and can be easily change when I change something in component hierarchy. The ID baseTab is itself unique so I should be, at least theoretically, able to refer this component direcly. But how I can do that?
What is the syntax to refer the component via unique ID? I've tried the following:
- :baseTab
- baseTab
- main:baseTab
- :tabs:baseTab
And none of that was working, each was causing the page error that such component does not exist....