sebfz1 / wicket-jquery-ui

jQuery UI & Kendo UI integration in Wicket
http://www.7thweb.net/wicket-jquery-ui/
Other
93 stars 58 forks source link

Uncaught TypeError: jQuery(...).autocomplete is not a function at HTMLDocument #276

Closed alsant0z closed 7 years ago

alsant0z commented 7 years ago

Hi,

I have added the "wicket-jquery-ui" dependency to my pom file. I'm using the AutoCompleteTextField. However, when I run my wicket application, it shows an error and the page does not load.

Uncaught TypeError: jQuery(...).autocomplete is not a function at HTMLDocument. (main?1:48) at fire (jquery-2.2.4-ver-1502805691797.js:3187) at Object.fireWith [as resolveWith] (jquery-2.2.4-ver-1502805691797.js:3317) at Function.ready (jquery-2.2.4-ver-1502805691797.js:3536) at HTMLDocument.completed (jquery-2.2.4-ver-1502805691797.js:3552)

I'm using the M7 version of wicket and wicket-jquery-ui.

    <dependency>
        <groupId>com.googlecode.wicket-jquery-ui</groupId>
        <artifactId>wicket-jquery-ui</artifactId>
        <version>8.0.0-M7</version>
    </dependency>

Thanks in advance. Regards, Alexandre.

sebfz1 commented 7 years ago

Hi,

It's strange. Please create a quickstart so I can have a look. Btw, do not forget to add the theme dependency...

Best regards, Sébastien

alsant0z commented 7 years ago

Hi Sébastien,

After testing the code in a quickstart, I figure out that was a conflict with the template I was using. The autocomplete works as expected when I created the quickstart.

Thanks. Best Regards, Alexandre.