[
https://issues.apache.org/jira/browse/WICKET-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-4638.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.0.0-RC1
> Make it possible to use JsonFunction as a AjaxCallListener's handler
> --------------------------------------------------------------------
>
> Key: WICKET-4638
> URL: https://issues.apache.org/jira/browse/WICKET-4638
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 6.0.0-beta2
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 6.0.0-RC1
>
>
> Currently the IAjaxCallListener's handlers could be an instance of
> CharSequence. Wicket wraps them in JsonFunction and sets the respective
> parameters for the handler.
> By making JsonFunction itself a CharSequence allows the developer to use it
> as a handler and to provide the whole JS function code, not just the body
> which makes the code looks a little bit strange because some variables are
> assumed to be passed (the parameters) from somewhere else.
--
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