On Mon, May 4, 2009 at 4:10 PM, jon <[email protected]> wrote:

>
> Hi,
>
> I saw the following after moving my project from lift 1.0 to 1.1-M1:
>
> [WARNING]  self-type com.company.model.City does not conform to
> net.liftweb.mapper.CRUDify[Long,com.company.model.City]'s selftype
> net.liftweb.mapper.CRUDify[Long,com.company.model.City] with
> com.company.model.City with net.liftweb.mapper.KeyedMetaMapper
> [Long,com.company.model.City]
> [WARNING] class City extends LongKeyedMapper[City] with IdPK with
> CRUDify[Long, City] {
>

CRUDify should be on the Meta object, not on the model class.  I updated
CRUDify to require that in the trait.


>
> I fixed by moving the CRUDify trait from the class to the meta object
> definition.  Is that correct usage?


Yes.


>
>
> Was the CRUDify trait always supposed to be used on the meta object
> (the liftbook example shows the trait on the class)?
>
> Thanks,
>
> Jon
>
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to