Friday, November 25th, 2005
Category: Articles
, Examples
, Java
<
p
>Dirk Rost
has started a series of columns on how to build Ajax applications using the
Apache Velocity templating language.
The first piece is the ubiquitous Live Search.
Dirk focuses on the server-side piece that make the following Ajax call work:
<input autocomplete="off" id="idMatch"
name="match" size="30" type="text">
<div class="auto_complete" id="match_auto_complete" ></div>
<script type="text/javascript" language="javascript">
new Ajax.Autocompleter('idMatch','match_auto_complete',
'MainControl?action=autoComplete');
</script>
It seems to focus on server side Java code rather than Velocity template code at this point, but that will probably change :)
- Ajax Learning Guide
Chances are, you've been doing JavaScript and XML developer work in Lotus Domino for quite some time. This old/new approach is causing quite a stir in...
- Ajax Learning Guide
Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
- Sending Velocity-based E-mail with Spring
See how easy setting up Spring's JavaMail support on a PositionManager class, followed by replacing the e-mail's text with a Velocity template can...
- Ajax Learning Guide
Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
- Ajax Learning Guide
Are you a Web developer? The time has come to rethink your entire approach to developing Web applications. Find out about the Ajax approach...
I did something almost exactly the same on a project where I couldn’t use my normal AJAX methods. I found it to work out really well. Below is my original post on the subject.
http://jgchristopher.blogspot.com/2005/10/on-demand-ajax-and-templates.html