Melloware created MYFACES-4710:
----------------------------------

             Summary: 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.1.0, 4.0.2
            Reporter: Melloware
         Attachments: image-2025-02-03-11-04-43-114.png, 
image-2025-02-03-11-04-58-475.png

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 
`{"event":"test","id":"48e496b2-1aa7-42ec-bd57-0832c966d8c7"}`

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