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

   @werpu  Would you be able to look at this from the JS side?  I posted the 
stacktrace is the description. 
   
   The websocket code is generated  `<div id="j_id_c" 
style="display:none"></div>` is created outside the form, and that's the 
assertion error that is encountered when the behavior callback is executed. 
   
   
   To reproduce: 
   If you use this PR and run the app from the JIRA, you should be able to 
reproduce this problem. Note, you need to visit the 
`spec1396UserScopedWebsocket` page first and then you test out 
`spec1396ViewScopedWebsocket`.
   
   
   My thoughts: I was thinking to add a  prefix/suffix`jsf_websoket` to the 
generated id code, and have the `assertFormExists` method ignore this element 
if that prefix/suffix is found? 
   


-- 
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