Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
6.15.0
-
None
-
Ubuntu Java 7
Description
When using JavaScriptFilteredIntoFooterHeaderResponse to render JS items at the bottom of the document body, this does not affect OnDomReadyHeaderItems. Wicket Extensions Autocomplete Textfield relies on such a OnDomReadyHeaderItem. As a consequence, when using both, the first item in the document HEAD calls Wicket.AutoComplete before the respective wicket js file has been loaded, breaking the Autocomplete Textfield.
Additionally JavaScriptFilteredIntoFooterHeaderResponse is final, so it cannot be trivially patched. our current workaround was to copy & paste JavaScriptFilteredIntoFooterHeaderResponse using a custom filter.
Not sure how best to fix this.
Attachments
Attachments
Issue Links
- relates to
-
WICKET-5612 If Wicket JS libs are moved to footer, AbstractAutoCompleteBehavior throws "Uncaught ReferenceError: Wicket is not defined"
- Resolved