The problem was solved by couching MetaMegaProtoUser's default
loginXhtml, signupXhtml, and lostPassageXhtml in a <lift:surround>
element. So that's fun.

Also, the XML parsing error for the "sign up" link magically
disappeared when I upgraded to the lift 1.1 snapshot.

Thanks much,
KP

On May 15, 1:05 pm, David Pollak <[email protected]>
wrote:
> KP,
>
> The problem is that the Snippet that's you're trying to invoke is not being
> found by Lift.  There are two things you can do:
>
>    - Upgrade to Lift 1.1-SNAPSHOT... it's got much more developer-friend
>    error reporting in this situation
>    - Look on your console for something reporting that a snippet is not
>    found
>
> Also, if you changed the packages in your application, but did not update
> LiftRules.addToPackages("com.xxxx") line in your app, Lift may not be
> finding your snippets.
>
> Thanks,
>
> David
>
> On Thu, May 14, 2009 at 10:06 PM, KP <[email protected]>wrote:
>
>
>
>
>
> > Hey all.
>
> > Forgive me if this is a laughably simple problem (I'm new to Lift),
> > but I've spent a while trying to figure it out.
>
> > When I click on any of the links from the User's sitemap, Firefox
> > (Safari, also) says various and divers unhappy things.  "Login" and
> > "lost password" tell me:
>
> >        This XML file does not appear to have any style information
> > associated with it. The document tree is shown below.
>
> > (displaying xhtml in the window), and "sign up" tells me:
>
> > XML Parsing Error: prefix not bound to a namespace
> > Location:http://localhost:8080/user_mgt/sign_up
> > Line Number 4, Column 38:
>
> > (the prefix being, of course, "lift").
>
> > My sitemap is defined in Boot.scala as:
>
> > LiftRules.setSiteMap(SiteMap( Menu(Loc("Home", List("index"),
> > "Home")) :: User.sitemap :_*))
>
> > and user is defined simply:
>
> > class User extends MegaProtoUser[User] {
> >  def getSingleton = User // what's the "meta" server
> > }
>
> > object User extends User with MetaMegaProtoUser[User] {
> >  override def skipEmailValidation = true
> > }
>
> > The menu is generated, right now, in index.html via
> > <lift:Menu.builder />.
>
> > In any case, the problem has got me all kinds of confused, and
> > elucidatory comments would be greatly appreciated.
>
> > Thanks,
>
> > KP
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://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