Hello,

*Problem*
I'm new to Lift/Scala and trying to understand/experiment with Lift's View
folder.  I've not gotten past a 404 error on the browser (as it relates to
the View folder; templates render fine).

*Background/Environment*
I've been reading "Exploring Lift" (~Section 3.7) along with "What's the
'View' folder for?" from http://wiki.liftweb.net/index.php/FAQ.

Following are the URL and corresponding class (in the View Folder and
adapted from http://github.com/dpp/liftweb/...
here<http://github.com/dpp/liftweb/blob/be8f0c4ea9eb0f145e0452cc6100943b7f4888cf/sites/example/src/main/scala/net/liftweb/example/view/XmlFun.scala>).


The server is maven/jetty.

I'm struggling to find other reading materials/examples which highlight my
error(s); any help is appreciated.  Thanks!  Dan

~~~

URL: http://localhost:8080/XmlFun/index

package org.delreino.simplyLift.view

import _root_.scala.xml.{Text, Node, NodeSeq}
import _root_.net.liftweb.http._
import S._
import _root_.net.liftweb.util._

class XmlFun extends LiftView {
    def dispatch = Map("index" -> render _)
    def render = {
        println ("XmlFun")
        Full(
        <lift:surround with="default" at="content">
        <p>XMLFun</p>
        </lift:surround>)
    }
}

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