Google style search (hint as you type) Example available?

189 views
Skip to first unread message

BjörnJu

unread,
Nov 16, 2010, 5:34:51 PM11/16/10
to Lift
Has anyone implemented a search box like for instance the one on
google
in lift?
What I'm referring to is a way to create a drop down box of suggested
popular searchs given the input so far tapped into a form.

Has anyone seen any good pattern (or even example) on how
to implement this in lift?
(Thought I'd avoid reinventing the wheel)

Thanks!! // Bjorn

David Pollak

unread,
Nov 16, 2010, 5:36:44 PM11/16/10
to lif...@googlegroups.com
See http://demo.liftweb.net/ajax "An example of autocomplete with a server round trip to calculate the autocomplete list"
   
       
       
    


--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.




--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im
Surf the harmonics

Timothy Perrett

unread,
Nov 17, 2010, 11:39:37 AM11/17/10
to Lift

BjörnJu

unread,
Nov 17, 2010, 3:37:47 PM11/17/10
to Lift
Thanks David and Timothy!

You seem to suggest two different approaches (JqSHtml vs AutoCompletre
widget),
any opinion on recommended approach, pros/cons?

As a side note, I couldn't find JqSHtml.autocomplete (used in the demo
Davod
points to) in the documentation or code,
probably a total newbie error, where should I look?

David Pollak

unread,
Dec 12, 2010, 1:43:13 PM12/12/10
to lif...@googlegroups.com
On Wed, Nov 17, 2010 at 12:37 PM, BjörnJu <bj...@julander.net> wrote:
Thanks David and Timothy!

You seem to suggest two different approaches (JqSHtml vs AutoCompletre
widget),

Looks like the JqSHtml stuff is deprecated.  Use the AutoComplete widget.
 
any opinion on recommended approach, pros/cons?

As a side note, I couldn't find JqSHtml.autocomplete (used in the demo
Davod
points to) in the documentation or code,
probably a total newbie error, where should I look?
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

Reply all
Reply to author
Forward
0 new messages