Hi all,

    Just I define a class that extends the LiftView trait, but there
is something wrong with this class when i using it.

    I wrote some test code like this:

#######  code  #######
package com.test.view

import net.liftweb._
import http._

import scala.xml.{NodeSeq}


class Test extends LiftView {
        override def dispatch = {
                case "hello" => doTest _
        }

        def doTest():NodeSeq = {
                <lift:surround with="default" at="content">
                        Time is: {new _root_.java.util.Date}
                </lift:surround>
        }
}
#######  code  #######

   Use these links and always get this message "The Requested URL /
Test/hello was not found on this server"
   http://localhost:8080/Test/hello
   http://localhost:8080/test/hello

   Note: I don't change my Boot class in the  /src/main/scala/
bootstrap/liftweb folder.


   Is there anyone can help ?
   Thanks very much!

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