0-two commented on issue #1948:
URL: https://github.com/apache/wicket/issues/1948#issuecomment-7367033543

   Looking into this, it seems to be fixed on master already by 9cbec02124
   ("Let autocomplete selections be handled without eval()", WICKET-6938, 
merged Oct 14):
   
   - `handleSelection` only reaches `eval` when an item has an `onselect` 
attribute, so
     the default case never evaluates anything
   - the `wicket-autocomplete-select` event and `getChoiceData()` provide the 
data-based
     alternative
   - `getOnSelectJavaScriptExpression` is deprecated and its Javadoc says it 
needs
     `'unsafe-eval'`
   - `AutoCompletePage` in the examples doesn't override the deprecated method
   
   That commit mentions removing the deprecated method and the `eval` fallback 
as a
   separate follow-up. Unless that's what this issue should cover, I think it 
can be
   closed, so I'm withdrawing my claim.


-- 
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]

Reply via email to