uuuuuppppps! thanks anyway > > > On Fri, Sep 11, 2009 at 6:01 AM, Hannes <[email protected] > <mailto:[email protected]>> wrote: > > > I've got another problem with CRUDify since I updated to release 1.0.2 > (in M3 everything was fine). > > > Release 1.0.2 is older than 1.1-M3. You downgraded to release 1.0.2. > Some features that are available in the 1.1 Milestones are not > available in the 1.0 maintenance release branch. > > > > error: value showAllMenuLocParams is not a member of > ....LimitOrder with > net.liftweb.mapper.LongKeyedMetaMapper[...LimitOrder] with > net.liftweb.mapper.CRUDify[long, ....LimitOrder] with ScalaObject > > override def showAllMenuLocParams = .... :: super.showAllMenuLocParams > > I get the same error with createMenuLocParams, too. > > thanks. > > > > > > On Wed, Sep 9, 2009 at 11:30 PM, XiaomingZheng > > <[email protected] <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>> wrote: > > > > > > really~~~ > > > > > > Yes. That's why I changed the self-type... because people kept > mixing > > CRUDify into the mapper class, not the metamapper class. > > > > > > > > On Sep 10, 2:21 pm, Naftoli Gugenheim <[email protected] > <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>> > wrote: > > > You're supposed to mix CRUDify in to your singleton > object, not > > the class. > > > > > > ------------------------------------- > > > > > > XiaomingZheng<[email protected] > <mailto:[email protected]> > > <mailto:[email protected] > <mailto:[email protected]>>> wrote: > > > > > > when i knew the 1.1 M5 has been published, i updated the > pom.xml > > of my > > > liftapp project and recomplie it. And i got an error about > CRUDify: > > > self-type com.thesamegoal.simpleforum.model.Forum does not > > conform to > > > net.liftweb.mapper.CRUDify > > > [Long,com.thesamegoal.simpleforum.model.Forum]'s selftype > > > net.liftweb.mapper.CRUDify > > > [Long,com.thesamegoal.simpleforum.model.Forum] with > > > com.thesamegoal.simpleforum.model.Forum with > > > net.liftweb.mapper.KeyedMetaMapper > > > [Long,com.thesamegoal.simpleforum.model.Forum] > > > > > > my Forum class was defined like this: > > > package com.thesamegoal.simpleforum.model > > > class Forum extends LongKeyedMapper[Forum] with IdPK with > CRUDify > > > [Long, Forum] { > > > ... > > > > > > } > > > > > > so i check the lift framework framework, in 1.0 version, > CRUDify is > > > defined like this: > > > trait CRUDify[KeyType, CrudType <: KeyedMapper[KeyType, > CrudType]] > > > extends KeyedMetaMapper[KeyType, CrudType] { > > > self: CrudType => > > > ...} > > > > > > and 1.1 CRUDify is like this: > > > trait CRUDify[KeyType, CrudType <: KeyedMapper[KeyType, > CrudType]] { > > > self: CrudType with KeyedMetaMapper[KeyType, CrudType] => > > > ... > > > > > > } > > > > > > this change forced me to modify my Forum class to this: > > > class Forum extends LongKeyedMapper[Forum] with IdPK with > > > LongKeyedMetaMapper[forum] with CRUDify[Long, Forum] > > > and got the compile process succeed. > > > > > > but why lift version 1.1 make this change? i feel that old > fashion > > > defining model class with CRUDify trait is more > comfortable and > > > reasonable, it's simple and intuitive > > > > > > > > > > -- > > Lift, the simply functional web framework http://liftweb.net > > Beginning Scala http://www.apress.com/book/view/1430219890 > > Follow me: http://twitter.com/dpp > > Git some: http://github.com/dpp > > > > > > > > > > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Git some: http://github.com/dpp > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
