Thanks, Jeppe, that was it. So 'is' will give you the native type of any MappedType? Good to know!
Peter On Jun 26, 3:47 am, Jeppe Nejsum Madsen <je...@ingolfs.dk> wrote: > Peter Robinett <pe...@bubblefoundry.com> writes: > > Thanks, Jeppe, that's what I was missing. > > > To continue to hijack this thread with my own questions, I'm having a > > problem creating the data List[(Double, Double)] that FlotSerie wants. > > I have: > > override val data = MyModel.findAll(By(MyMode.id, myId), OrderBy > > (MyModel.datetime, Ascending)).map(m => (m.datetime.getTime.toDouble, > > m.temperature.toDouble)) > > If m.temperature is a MappedDouble you probably need m.temperature.is > > The toDouble method converts an Any to a double, not the value of the > current mapped object..... > > /Jeppe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---