{
if (!_DidInit) {
_DidInit = true;
Log.table.setLevel(Log.DebugLevel);
// register our resources with the AW
AWConcreteServerApplication application = (AWConcreteServerApplication)AWConcreteServerApplication.sharedInstance();
String resourceUrl = application.resourceUrl();
application.resourceManager().registerResourceDirectory("./ariba/ui/table",
resourceUrl+"ariba/ui/table/",
false);
application.resourceManager().registerPackageName("ariba.ui.table", true);
// hook up the CSVDataSource with the DataTable
AWTDataTable.setCSVSourceFactory(new AWTDataTable.CSVSourceFactory() {
public AWTDataSource dataSourceForPath(String csvPath, AWComponent parentComponent) {
return AWTCSVDataSource.dataSourceForPath(csvPath, parentComponent);