| ||||||||||||||||||||||||||||||||||||||||||
Application TailoringThe folowing discusses how to tailor the application appearance and contents with minimal or no programming. Refer to sample app code and java docs for more extensive customization such as custom forms. We strongly reccommend that you consider adjusting passwords.
| ||||||||||||||||||||||||||||||||||||||||||
Load Business Objects | ||||||||||||||||||||||||||||||||||||||||||
|
The sql in db_init.sql installs only the default business objects with and object id (oid) of 0. You will need to load the specific data for your application. Object managerYou can manually load objects using the corresponding object manager.
SQL insertsUse your data base console client with insert statements. The create.sql has insert statements for default objects. There are also insert statements in the AppName.sql file in the stage directory. In general you will want to set oid field to null to have the database generate an oid. Batch loadsYour database may provide a batch load utility. For MySql, you can use the LOAD DATA statement to load tab delineated data from a spread sheet. The following would load a tab delineated lines from the file games.txt into the table wEvent.
| ||||||||||||||||||||||||||||||||||||||||||
Appearance | ||||||||||||||||||||||||||||||||||||||||||
|
Cascading Style Sheets are used to determine the basic appearance. common.header.jsp inserts a style sheet called base.css. You can edit base.css or link it to one of you choosing. Several appearances are available in the downloads. Check my site for more skins. Note that these use images in the image directory. The following describes the styles the managers use.
| ||||||||||||||||||||||||||||||||||||||||||
Data Schema | ||||||||||||||||||||||||||||||||||||||||||
|
The stage directory contains the source for using the zcFac code factory to generate business objects automatically. The basic steps are as follows.
Refer to the documentation for zcFac for details. | ||||||||||||||||||||||||||||||||||||||||||
Drop Downs | ||||||||||||||||||||||||||||||||||||||||||
|
The Object managers use entries in the vCode table for the contents of drop downs for enumerated fields. These are loaded at when the application starts. The steps are
|