David,

object User extends User with MetaMegaProtoUser[User] {
  override def screenWrap = Full(<lift:surround with="default" at="content">
                   <lift:bind /></lift:surround>)
 def signupFields: List[BaseOwnedMappedField[User]] =
  List(firstName, lastName, email, *company*, locale, timezone, password)

  override def fieldOrder: List[BaseOwnedMappedField[User]] =
   List(firstName, lastName, email, *company*, locale, timezone, password)

  // comment this line out to require email validations
  override def skipEmailValidation = true
}

/**
 * An O-R mapped "User" class that includes first name, last name, password
and we add a "Personal Essay" to it
 */
class User extends MegaProtoUser[User] {
  def getSingleton = User // what's the "meta" server

*  object company extends MappedString(this, 128)*
}

Does that help?

Thanks,

David

On Mon, Nov 24, 2008 at 12:19 AM, David Stein <[EMAIL PROTECTED]> wrote:

>
> I want to add "Company Name" to User.  I more or less can see how to
> add that in the User model, but I'm confused about how to change the
> default "Sign Up" form to add another form element for this
> information.  I'm poking around in net.liftweb.sitemap, but nothing is
> jumping out at me.  Help?
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
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