• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Prototype and script.aculo.us.

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just recently started using protoype in my web-app and I am completely new to its features. For one thing, the form-autocomplete is a feature I'd really like to implement. However, I guess I would need some knowledge on Ajax as well in order to achieve this feature, so I was basically just wondering whether your book provides some examples on this and if so, whether it has Java examples to go with it as well?

Good luck with your book release!
 
Author
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Stennar,

I just recently started using protoype in my web-app and I am completely new to its features. For one thing, the form-autocomplete is a feature I'd really like to implement. However, I guess I would need some knowledge on Ajax as well in order to achieve this feature, so I was basically just wondering whether your book provides some examples on this and if so, whether it has Java examples to go with it as well?



Chapter 16 of my book devotes 20 pages to all the aspects of auto-completion with script.aculo.us, with a number of example codes.

The server side is in Ruby to minimize setup, but it can be done straightforwardly in any technology. With JavaEE for instance, you'd just need a simple servlet that takes a parameter named after you input field's name= attribute, and returns a ul/li structure of results.

You do not need intricate knowledge of Ajax: it's all handled smoothly by Scripty.
[ February 12, 2008: Message edited by: Christophe Porteneuve ]
 
Oggi Olli
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the quick reply, Cristophe!

As I'm new to Javascript I reckon that these two libraries would be really suitable for me because of their ease of use. Thus, I'll first see if I win the book, and if not I'll seriously consider buying it.

Cheers
 
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic