这个练习是MyEclipse2014帮助文档中的教学实例,比较长,做了三天,一直出错,发挥瞎猜本色,反复瞎猜,今天终于成功了。因为觉得这东西比较好,所以写一篇博客记录一下。
其中反复注意不到的是下面这段文字:
The dataTable var attribute references now refer to CustomerBeans instead of Customers, so you should change the var attribute from "customer" to "customerbean." If you change the var attribute, you also have to make this change to all the value bindings using "customer" inside the dataTable. For instance, when accessing the Customer properties, the binding should change from "customer.contactlastname" to "customerbean.customer.contactlastname."
如果哪位有疑问,近期可以提问,时间长了我也记不住。