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/

Reply via email to