SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 102 | Next

Deepak Vohra

"Ajax in Oracle JDeveloper"

4.0.js,
scriptaculous.js , and controls.js from the js directory of the AjaxTags
distribution to the public_html directory of the AjaxTags project. We also
need to copy ajaxtags-1.2-beta2.jar from the dist directory of AjaxTags
binary distribution to WEB-INF/lib directory of the AjaxTags project in
JDeveloper. The directory structure of the AjaxTags project is shown in
Fig. 6.6.
Fig. 6.6 AjaxTags Application Directory Structure
6.5 Validating a Form with AjaxTags
In this section we shall validate an input form that has a Catalog Id value
as one of the inputs. The form is used to create a new catalog entry in the
6.5 Validating a Form with AjaxTags 115
Catalog table in the Oracle database. The Catalog Id value is selected
from a list of values. A validation message indicates the validity of the
Catalog Id value. The input form uses the AjaxTags tag library to send an
Ajax request and process an Ajax response. JSP input.jsp is the input form.
In input.jsp declare a taglib directive for the AjaxTags taglib.
<%@ taglib uri=???http://ajaxtags.org/tags/ajax???
prefix=???ajax??? %>
Specify the JavaScript files for AjaxTags in the input.jsp. JavaScript file
prototype-1.4.0.js should be specified before the ajaxtags.js.