volosied commented on PR #614:
URL: https://github.com/apache/myfaces/pull/614#issuecomment-1754200610

   Tried to create a simple test, but it doesn't quite match the scenario 
reported primefaces extensions.
   
   For example,  my test showed the ids rendered: 
   ```
     <ComponentResourceContainer id="jakarta_faces_location_head" 
facetName="head" clientBehaviors="{}" clientId="jakarta_faces_location_head" 
defaultEventName="NULL" eventNames="NULL" facetCount="0" 
family="jakarta.faces.Panel" inView="true" namingContainer="NULL" 
passThroughAttributes="jakarta.faces.component._PassThroughAttributesMap@0" 
rendered="true" rendererType="NULL" rendersChildren="false" 
resourceBundleMap="{}" transient="false" 
transientStateHelper="jakarta.faces.component._DeltaStateHelper@302a1ddc">
       <UIOutput id="j_id__v_0" clientBehaviors="{}" clientId="j_id__v_0" 
converter="NULL" defaultEventName="NULL" eventNames="NULL" facetCount="0" 
family="jakarta.faces.Output" inView="true" localValue="NULL" 
namingContainer="NULL" 
passThroughAttributes="jakarta.faces.component._PassThroughAttributesMap@0" 
rendered="true" rendererType="jakarta.faces.resource.Script" 
rendersChildren="true" resourceBundleMap="{}" transient="false" 
transientStateHelper="jakarta.faces.component._DeltaStateHelper@1b9674f4">
         <UIOutput id="j_id__v_4" clientBehaviors="{}" clientId="j_id__v_4" 
converter="NULL" defaultEventName="NULL" eventNames="NULL" facetCount="0" 
family="jakarta.faces.Output" inView="true" localValue="console.log('added 
script');" namingContainer="NULL" 
passThroughAttributes="jakarta.faces.component._PassThroughAttributesMap@0" 
rendered="true" rendererType="jakarta.faces.Text" rendersChildren="false" 
resourceBundleMap="{}" transient="false" 
transientStateHelper="jakarta.faces.component._DeltaStateHelper@361d4b4d"/>
       </UIOutput>
       <UIOutput id="j_id__v_2" library="jakarta.faces" name="faces.js" 
target="head" clientBehaviors="{}" clientId="j_id__v_2" converter="NULL" 
defaultEventName="NULL" eventNames="NULL" facetCount="0" 
family="jakarta.faces.Output" inView="true" localValue="NULL" 
namingContainer="NULL" 
passThroughAttributes="jakarta.faces.component._PassThroughAttributesMap@0" 
rendered="true" rendererType="jakarta.faces.resource.Script" 
rendersChildren="true" resourceBundleMap="{}" transient="false" 
transientStateHelper="jakarta.faces.component._DeltaStateHelper@27bb0910"/>
       <UIOutput id="j_id__v_3" clientBehaviors="{}" clientId="j_id__v_3" 
converter="NULL" defaultEventName="NULL" eventNames="NULL" facetCount="0" 
family="jakarta.faces.Output" inView="true" localValue="NULL" 
namingContainer="NULL" 
passThroughAttributes="jakarta.faces.component._PassThroughAttributesMap@0" 
rendered="true" rendererType="jakarta.faces.resource.Script" 
rendersChildren="true" resourceBundleMap="{}" transient="false" 
transientStateHelper="jakarta.faces.component._DeltaStateHelper@479f34c6">
         <UIOutput id="j_id__v_5" clientBehaviors="{}" clientId="j_id__v_5" 
converter="NULL" defaultEventName="NULL" eventNames="NULL" facetCount="0" 
family="jakarta.faces.Output" inView="true" localValue="console.log('added 
script');" namingContainer="NULL" 
passThroughAttributes="jakarta.faces.component._PassThroughAttributesMap@0" 
rendered="true" rendererType="jakarta.faces.Text" rendersChildren="false" 
resourceBundleMap="{}" transient="false" 
transientStateHelper="jakarta.faces.component._DeltaStateHelper@6f86c915"/>
       </UIOutput>
     </ComponentResourceContainer>
     ```
     
     ResourceDependencies may have a part of play in the bug the number of 
scripts? I'll have to debug a bit further here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to