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

Werner Punz commented on MYFACES-4719:
--------------------------------------

I have fixed the issue for 4.x and 5.0 the command script example must be 
adapted accordingly:     <input type="button" id="button1" value="submit" 
onclick="submitFormScript(null, event)" />

the event object must be passed!
I will issue merge requests foe testing for the 4.x, 3.x is a set of 
independent issues!


> Missing Form Data in Faces 3.0
> ------------------------------
>
>                 Key: MYFACES-4719
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4719
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 3.0.3
>            Reporter: Volodymyr Siedlecki
>            Assignee: Werner Punz
>            Priority: Major
>         Attachments: image-2025-06-05-15-45-56-719.png, 
> image-2025-06-05-15-46-24-876.png
>
>
> While running out test suite on MyFaces 3.0.3-SNAPSHOT, we encountered some 
> failures in the ajax tests.
> It looks like the following two entries are not sent over when comparing the 
> same app to MyFaces 2.3: 
> {code:java}
> "jakarta.faces.behavior.event": "action",
> "jakarta.faces.partial.event": "click",{code}
> The app just adds a FacesMessage when the bean is invoked: 
> {code:java}
>     <h:commandScript name="submitFormScript" 
> action="#{commandScriptBean.submitForm}" render="@form" />
>     <h:messages/>{code}



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

Reply via email to