Lifted,

i'm looking at this code in
github<http://github.com/dpp/liftweb/tree/master/lift-mapper/src/main/scala/net/liftweb/mapper/ProtoUser.scala>.
Lines 258 and 274 - 279 would indicate to me that an object derived from
this class -- as i think the User object is in the std lift project
archetype -- would be able to manipulate onLogOut. However, placing this
code

/**
 * The singleton that has methods for accessing the database
 */
object User extends User with MetaMegaProtoUser[User, User with
KeyedMetaMapper[Long, User]] {
...
def wantsToKnow() : Boolean = {
    this.onLogOut = (({ x => _wantsToKnow = false}) :: this.onLogOut)
    _wantsToKnow
  }
...
}

in the object's def results in this complaint

[WARNING]
/Users/lgm/work/src/projex/biosimilarity/GraphL/src/main/scala/com/biosimilarity/GraphL/model/User.scala:23:
error: value onLogOut is not a member of object
com.biosimilarity.GraphL.model.User
[WARNING]     this.onLogOut = (({ x => _wantsToKnow = false}) ::
this.onLogOut)
[WARNING]          ^
[WARNING] one error found
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE

Also, what gives with the *two* type parameters to MetaMegaProtoUser --
which as declared in lift-util.mapper appears to take only 1 type parameter?

Clueless about lift, but still sending best wishes in the New Year,

--greg

-- 
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105

+1 206.650.3740

http://biosimilarity.blogspot.com

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