hi all, excuse me for asking another newbie question.
I'm integrating openID with net.liftweb.openid, how to redirect or run
some js in the postLogin method?

// import my packages of User and UserOp
trait CustomOpenId extends OpenIdVendor {
  type UserType = User

  // note: in lift 1.1, use OpenIdConsumer instead (downcase d)
  type ConsumerType = OpenIDConsumer[UserType]

  def currentUser = UserOp.current

  def postLogin(id: Box[Identifier], res: VerificationResult) {
    id match {
      case Full(id) =>
        UserOp.openIdLogin(id.getIdentifier)
        if(UserOp.logined) {
          redirectTo("/") // doesn't work
        } else {
          ...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to