Error Message with Delegate
Posted: Tue Aug 11, 2009 12:08 pm
I'm getting the following error message with a delegate class I have put in. Please help.
Fatal error: Class 'tables_PartVendorPricing' not found in /var/www/xataface/Dataface/Table.php on line 1049
Delegate Class:
<php>valueChanged('Vendor_ID') ){
$vendorid = df_get_record('Vendor', array('Vendor_ID'=>'='.$record->val('Vendor_ID')));
$record->setValue('PartVendorPricing', $vendorid->val('PartVendorPricing'));
}
}
?>
Conf.ini:
; File: conf.ini
; Description:
; ------------
; This file contains configuration information for the dataface framework.
; Configuration options include such things as database connection information
; tables to be displayed in the menu, and behavioral and display characteristics
; of the dataface application (like whether to display the menu).
;
;debug=1
default_table=RFQ
[_database]
host = "localhost"
user = "xxxx"
password = "xxxx"
name = "xxxx"
[_auth]
users_table = Users
username_column = Username
password_column = Password
[_tables]
dashboard = "Dashboard"
Customer = "Customer"
Sales = "Sales"
RFQ = "RFQ"
Purchasing = "Purchasing"
Pricing = "Pricing"
Part = "Part"
Vendor = "Vendor"
PartVendorPricing = "PartPricing"
Fatal error: Class 'tables_PartVendorPricing' not found in /var/www/xataface/Dataface/Table.php on line 1049
Delegate Class:
<php>valueChanged('Vendor_ID') ){
$vendorid = df_get_record('Vendor', array('Vendor_ID'=>'='.$record->val('Vendor_ID')));
$record->setValue('PartVendorPricing', $vendorid->val('PartVendorPricing'));
}
}
?>
Conf.ini:
; File: conf.ini
; Description:
; ------------
; This file contains configuration information for the dataface framework.
; Configuration options include such things as database connection information
; tables to be displayed in the menu, and behavioral and display characteristics
; of the dataface application (like whether to display the menu).
;
;debug=1
default_table=RFQ
[_database]
host = "localhost"
user = "xxxx"
password = "xxxx"
name = "xxxx"
[_auth]
users_table = Users
username_column = Username
password_column = Password
[_tables]
dashboard = "Dashboard"
Customer = "Customer"
Sales = "Sales"
RFQ = "RFQ"
Purchasing = "Purchasing"
Pricing = "Pricing"
Part = "Part"
Vendor = "Vendor"
PartVendorPricing = "PartPricing"