Right - as a wider note, all the widgets follow this init in boot
pattern.

Cheers, Tim

On Jan 9, 9:15 am, Mads Hartmann <[email protected]> wrote:
> Wohoo, I solved this one myself, success! ;)
>
> You have to add AutoComplete.init() somewhere in your boot.scala file
>
> On Jan 9, 10:05 am, Mads Hartmann <[email protected]> wrote:
>
>
>
> > Hello everyone
> > I'm having a problem with one of the javascript files that lift
> > includes in the header with the path /classpath/... I'm using the
> > autocomplete widget and it's outputing all the right code, but it
> > can't find js file:
>
> > <script type="text/javascript" src="/classpath/autocomplete/
> > jquery.autocomplete.js"></script>
>
> > It can find the jquery.js file located at /classpath/ though.
>
> > -- info from the server ---
> > INFO - Service request (GET) / took 1779 Milliseconds
> > INFO - Service request (GET) /classpath/jquery.js took 44 Milliseconds
> > INFO - Service request (GET) /classpath/json.js took 5 Milliseconds
> > INFO - Service request (GET) /classpath/autocomplete/
> > jquery.autocomplete.js took 1 Milliseconds
> > INFO - Service request (GET) /classpath/autocomplete/
> > jquery.autocomplete.css took 1 Milliseconds
> > INFO - Service request (GET) /ajax_request/liftAjax.js took 110
> > Milliseconds
> > INFO - Service request (GET) /favicon.ico took 65 Milliseconds
> > -- info from the server ends ---
>
> > Does anyone know how to solve this one?
>
> > Thanks again,
> > Mads Hartmann Jensen
-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to