Details
Description
As found in ICE-6659, when using an absolute search for a component, CoreComponentUtils.findComponent(-) is not finding the component. There seems to be some issue with the clientIds including the portlet namespace in a way that the algorithm doesn't support.
This might also be part of the issue with portlet environment components not finding each other with their for property.
This might also be part of the issue with portlet environment components not finding each other with their for property.
Investigation shows that the portlet UIViewRoot is a NamingContainer, but its id is generated and not the same as the first part of the clientId, which seems to be confusing the findComponent algorithm. We should look into giving it that as the id.
Both CoreComponentUtils.findComponent
, and UIComponent[Base?].findComponent
are failing to find components using an absolute search string in a portlet environment.