5-Nov-03 (Created: 5-Nov-03) | More in 'UNF Lectures on Aspire'

10.03 UNF CMS-1:summary url properties


#Identify URL and have it point to a template file
ListContactsURL=aspire:\student-name\contact-summary.html

#Point the URL to a data handler name
ListContactsURL.formHandlerName=LCUDataHandler


Request.LCUDataHandler.form_handler.class_request.classname=com.ai.htmlgen.DBHashTableFormHandler1

#main data
request.LCUDataHandler.maindatarequest.classname=com.ai.db.DBRequestExecutor2
request.LCUDataHandler.maindatarequest.db=cms-db
request.LCUDataHandler.maindatarequest.stmt=\
\
select count(*) from contacts

#loop data
request.LCUDataHandler.contactsLoop.class_request.className=com.ai.htmlgen.GenericTableHandler6
request.LCUDataHandler.contactsLoop.query_request.className=com.ai.db.DBRequestExecutor2
request.LCUDataHandler.contactsLoop.query_request.db=reportsDB
request.LCUDataHandler.contactsLoop.query_request.stmt=\
SELECT * FROM contacts

References/questions

1. What kind of java classes that I need to specify in the data definition?
2. What class versions should I use?
2. How can I define a database