today() causes error in generated Java when using as a property default
Using today() as default of a property causes an error in the generated Booking.java
extend function Booking(){
dateD := today();
dateR := CalcDate.addDays(today(),2);}
in order to avoid this problem you should assign today() to a var first
Submitted by Elisa on 21 April 2010 at 19:19
extend function Booking(){
var d:= today();
dateD := d;
dateR := CalcDate.addDays(d,2);}
Log in to post comments