Thursday, August 11th, 2005

AjaxTags 1.0 Released

Category: Java, Toolkit

The AJAX Tag Library is a set of JSP tags that simplify the use of Asynchronous JavaScript and XML (AJAX) technology in JavaServer Pages.

AJAX is primarily rooted in JavaScript. However, many server-side developers do not have an extensive knowledge of client-side programming in the browser. It’s much easier in some cases for J2EE developers, especially, to simply add a JSP tag to the page to gain the function desired.

This tag library fills that need by not forcing J2EE developers to write the necessary JavaScript to implement an AJAX-capable web form. The tag library provides support for live form updates for the following use cases: autocomplete based on character input to an input field, select box population based on selections made from another field, callout or balloon popups for highlighting content, refreshing form fields, and toggling images and form field states on/off.

The implementation is a combination of Java classes and JavaScript source files. The Java code should be OS independent as there are no client side components. However, the Java is dependent on JDK 1.4+ and requires a Servlet container to run. The JavaScript should run in at least Firefox 1.0+ and Internet Explorer 5.0+.

Example Usage

<form>
Name: <input id=”email” name=”email” type=”text” autocomplete=”off” size=”20″ />
Email: <input id=”email-id” name=”email-id” type=”text” size=”30″ />
</form>

<ajax:autocomplete
fieldId=”email”
popupId=”email-popup”
targetId=”email-id”
baseUrl=”${pageContext.request.contextPath}/GetEmail.view”
paramName=”s”
className=”autocomplete”
postFunc=”doOtherThings” />

Ajax Tags Home

Live Demo of Ajax Tags in action

Posted by Dion Almaer at 9:52 am
3 Comments

+++--
3 rating from 5 votes

3 Comments »

Comments feed

Hi,

AjaxTags version 1.1 have been released.

Thanks,

The AjaxTags Team.

Comment by paticubita — October 17, 2005

Hey- On Friday, I was reading the link that you have at “Live Demo of Ajax Tags in action”, and I thought it was really helpful. However it looks like it’s down now. I’m kicking myself for not grabbing the source when I had the chance, but do you know if this is mirrored somewhere? I don’t actually need the live server, I just want the jsp and servlet code.

Comment by Infomofo — October 24, 2005

Our demo server is down thanks to Wilma. But you can download the example WAR file from sourceforge.net [http://sourceforge.net/project/showfiles.php?group_id=140499]

Comment by paticubita — October 27, 2005

Leave a comment

You must be logged in to post a comment.