[ 
https://issues.apache.org/jira/browse/MYFACES-4710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17931008#comment-17931008
 ] 

Werner Punz edited comment on MYFACES-4710 at 2/27/25 6:33 AM:
---------------------------------------------------------------

[~melloware] I can run your usecase tonight, if it goes well, then I still need 
the code review from the other guys regarding my java changes, just in case I 
might have broken something (alll tests pass but given that there is now one 
additional parameter in the AjaxScriptRenderer call some needed alteration 
adding that one)

If you have time and are faster than me you can run it yourself before me. I 
did not make it anymore yesterday, it was close to midnight when I basically 
fixed the last tests!

 


was (Author: werpu):
[~melloware] I can run your usecase tonight, if it goes well, then I still need 
the code review from the other guys regarding my java changes, just in case I 
might have broken something (alll tests pass but given that there is now one 
additional parmeter in the AjaxScriptRenderer call some needed alteration 
adding that one)

If you have time and are faster than me you can run it yourself before me. I 
did not make it anymore yesterday, it was close to midnight when I basically 
fixed the last tests!

 

> CommandScript: Behaves differently than Mojarra
> -----------------------------------------------
>
>                 Key: MYFACES-4710
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4710
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 4.0.2, 4.1.0
>            Reporter: Melloware
>            Assignee: Werner Punz
>            Priority: Major
>         Attachments: image-2025-02-03-11-04-43-114.png, 
> image-2025-02-03-11-04-58-475.png, image-2025-02-24-21-21-16-189.png, 
> image-2025-02-24-21-50-18-216.png, image-2025-02-24-21-51-24-014.png, 
> image-2025-02-26-23-09-38-927.png, omnifaces-push-194.zip
>
>
> Original report: https://github.com/quarkiverse/quarkus-omnifaces/issues/194
> Basically if you pass a socket reponse message directly to a CommandScript 
> its supposed to convert those params to Request Parameters.
> {code:xml}
> <h:commandScript name="wsUpdate" action="#{omniPushBean.complex()}" 
> render="something"/>
> <o:socket channel='complex' onmessage="wsUpdate"/>
> {code}
> If the socket message was 
> {code:javascript}
> {"event":"test","id":"48e496b2-1aa7-42ec-bd57-0832c966d8c7"}
> {code}
> It the `wsUpdate` command is supposed to send those as Request parameters and 
> Mojarra does this but MyFaces does not.
> Mojarra:
>  !image-2025-02-03-11-04-43-114.png! 
> MyFaces:
>  !image-2025-02-03-11-04-58-475.png! 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to