Hi, Am 23.02.2008 um 18:49 schrieb kanugula:
> I got a new problem now when the price is filled by the user. > Everything > works when the price is null (Thanks for ur solution) > > While converting the price to "java.lang.Double", I am getting > error "Cannot > convert java.lang.String to java.lang.Double? You need to use parseFloat, so that a number is sent to the server instead of a string. So instead of this: order.price = priceField.getValue(); you have to use this: order.price = parseFloat(priceField.getValue()); (After checking for null first, or course.) Regards, Andreas ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
