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

Martin Grigorov commented on WICKET-4418:
-----------------------------------------

Actually it is not even possible to execute something like: eval("function() { 
console.log(1); }();")
It seems it is not possible to run anonymous function in an eval.
                
> Combine all JavaScript evaluations in one <evaluate> element for better 
> performance at the client side
> ------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4418
>                 URL: https://issues.apache.org/jira/browse/WICKET-4418
>             Project: Wicket
>          Issue Type: Sub-task
>          Components: wicket
>    Affects Versions: 6.0.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>
> Ajax response may contain several <evaluate> (and <priority-evaluate>) 
> elements which are eval-ed one by one when <ajax-response> is processed. This 
> can be improved by combining the bodies (the JS code) of all <evaluate>s in 
> one bigger <evaluate>.
> See http://markmail.org/thread/qdgn4qvqp4kzuptb for the discussion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to