XML Server Getting Started    
 The true power of custom tags, however is realized when it is applied to  application  class of the objects, which provide 
access to business data and/or have rich set of events and methods   like databound XMLControl or UI widgets like 
TabFolder and TreeView.  
Let's enhance this page by adding a data bound XMLControl which brings up a  customer list  data. The following line 
does precisely that: it adds one more XMLSP control, stating that it will be populated by JSP 
and rendered according to stylesheet 
XMLControl Datasources
 for more explanation). The 
very population of the  customers  control happens upon loading of the page according to window's 
function window::onLoad() { 
The first line of the window's 
script contains the name of the database connection cache to be used on the J2EE 
server's side during the data retrieval: 
    customerList.connection= asademo ; 
The second  line of the script is actually initiating the retrieval of the data off the Application Server. At the end of the 
 data gets  presented in  customers  control (
/Examples/Tutorial/step0.js p
In the following sections 
Authoring Custom Elements
Extending Existing Elements
 we describe the mechanics of 
building new custom tags as well as how to inherit from existing ones. You may go to these sections directly, although we 
suggest you first look at the usage of XML objects in 
XMLSP scripting
, and how you can create Application Server objects 
callable  from client scripts via 
XML over HTTP calls
 2000 2002 Computer Technology Inc. All rights reserved. 
Page 10 

J2EE Web Hosting Tundra XML Server Pages J2EE Hosting

TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.