Error when adding record parts to rui handler [message #761788] |
Wed, 07 December 2011 03:42 |
Bob NIcholson Messages: 62 Registered: December 2011 Location: Seattle |
Member |
|
|
EDT:Tutorial: RUI With DataBase Lesson 4
Create a data grid to hold a set of database rows Step 5
After adding the code to initialize the grid with
function start()
allPayments_ui.data =
[
new paymentRec{category = 1, description = "test01", amount = 100.00},
new paymentRec{category = 2, description = "test02", amount = 200.00},
new paymentRec{category = 3, description = "test03", amount = 300.00}
];
end
I get the following error when trying to design or preview.
Could not render UI
Object expected
[CRRUI2094E] Here are the EGL function calls leading to this error:
Div.<init>() [native JavaScript]
Div.<init>() [native JavaScript]
org/eclipse/edt/rui/widgets/Box.egl() at line 22
Box.<init>() [native JavaScript]
myHandler.<init>() [native JavaScript]
Object expected
PaymentClient/handlers/myHandler.js?contextKey=10:27
[CRRUI2095E] Could not find the EGL function calls leading to this error
If I remove the code, then I can design or preview.
I have the same problem if I remove or comment out the code above and then add the selectedPayment record. So, it seems to be related to adding the record part.
I'm not sure if this is caused by something I'm doing wrong or if this is a bug.
Thanks for any help.
Bob
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03900 seconds