See https://github.com/reiern70/ajaxevaluationfails
On Wed, Jul 22, 2026 at 8:37 AM Ernesto Reinaldo Barreiro < [email protected]> wrote: > Hi, > > On > > > https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/page/PartialPageUpdate.java#L271 > > we wrap the script with a > > (function(){").append(script).append("})(); > > The problem is that if one script fails, the evaluation of the rest is > skipped. Was this intentional? Does it makes sense to have something like > > "(function(){ try {").append(script).append("} catch (error) { > Wicket.Log.log(error); })();" > > -- > Regards - > Ernesto Reinaldo Barreiro > Apache Wicket Committer > Emerging artist > https://www.instagram.com/reinaldo.barreiro.art/ > -- Regards - Ernesto Reinaldo Barreiro Apache Wicket Committer Emerging artist https://www.instagram.com/reinaldo.barreiro.art/
