arimu1 opened a new pull request, #1598: URL: https://github.com/apache/wicket/pull/1598
## Summary When several scripts are contributed to an Ajax partial page update, Wicket previously combined them into a single `<evaluate>` (or `<priority-evaluate>`) block. If one script throws at runtime, the browser stops executing the rest of that block, so later scripts and DOM updates never run. This change emits **one evaluation block per contributed script**, matching the client-side behavior in `wicket-ajax-jquery.js` where each inline script is evaluated inside its own try/catch. Fixes #1524 ## Test plan - [x] `mvn -pl wicket-core-tests -am test -Dtest=XmlPartialPageUpdateTest -Dsurefire.failIfNoSpecifiedTests=false` - [x] New test `failingScriptDoesNotPreventSubsequentScripts` asserts two separate `<evaluate>` elements when two scripts are appended (repro from https://github.com/reiern70/ajaxevaluationfails) Made with [Cursor](https://cursor.com) -- 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]
