Dave,
This helped me a lot to understand things better!
thanks.
Sorry it took so long to get to this... my inbox keeps growing... sigh.
Anyway, Order.scala: 64 should be:
def currentCost = Order.this.lots *
(Order.this.marketPlace.obj.map(_.lotValue.is) openOr 0 )
The marketplace
here are the two files, thanks!
Send me the file and I'll debug it.
On Fri, Jul 3, 2009 at 3:06 AM, Tobias Daub hannes.flo...@gmx.li
mailto:hannes.flo...@gmx.li wrote:
Thanks Dave, but still getting this error:
Thanks Dave, but still getting this error:
/home/wacky/NetBeansProjects/virtualMarket/src/main/scala/org/tobster/model/Order.scala:51:
error: value lotValue is not a member of Long
override def _toForm = Full(p{Order.this.lots *
Order.this.marketPlace.lotValue}/p)
What is the
Send me the file and I'll debug it.
On Fri, Jul 3, 2009 at 3:06 AM, Tobias Daub hannes.flo...@gmx.li wrote:
Thanks Dave, but still getting this error:
/home/wacky/NetBeansProjects/virtualMarket/src/main/scala/org/tobster/model/Order.scala:51:
error: value lotValue is not a member of Long
On Sun, Jun 21, 2009 at 6:38 AM, Tobias Daub hannes.flo...@gmx.li wrote:
I'm stucked again with the simple things
I've a trait that extends BaseLongKeyedMapper and I wanna add a field
(currentCost) that does some calculation. Nothing special. Here's the code:
/*
* Order.scala
*
*