[Lift] Re: lift tags not replace (new JPA tutorial)
Actually, just / fails to process the index.html file. It just returns the raw XML. I didn't know about that recommendation, but it seems in this case that something else is going on. Derek On Sat, Sep 6, 2008 at 7:59 AM, David Pollak [EMAIL PROTECTED] wrote: Are you making a request on /foo.html or on /foo? I strongly recommend against /foo.html Marius wrote: On Sep 6, 12:04 pm, Tim Perrett [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: FYI - when I ctrl-c to stop jetty, I see this: 2008-09-06 10:03:27.331::INFO: Shutdown hook executing DEBUG - Destroyed servlet Why the above dump indicates crashing on ctrl-c ? Looks to me like a normal dump when stopping the container. What if you're running jetty by itself and not through maven? ... Do you see anything in jetty's logs in jetty-home/logs ? So its certainly crashing but with no stack trace or anything!!! Cheers Tim --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: lift tags not replace (new JPA tutorial)
Please try /index On Sat, Sep 6, 2008 at 7:14 AM, Derek Chen-Becker [EMAIL PROTECTED]wrote: Actually, just / fails to process the index.html file. It just returns the raw XML. I didn't know about that recommendation, but it seems in this case that something else is going on. Derek On Sat, Sep 6, 2008 at 7:59 AM, David Pollak [EMAIL PROTECTED] wrote: Are you making a request on /foo.html or on /foo? I strongly recommend against /foo.html Marius wrote: On Sep 6, 12:04 pm, Tim Perrett [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: FYI - when I ctrl-c to stop jetty, I see this: 2008-09-06 10:03:27.331::INFO: Shutdown hook executing DEBUG - Destroyed servlet Why the above dump indicates crashing on ctrl-c ? Looks to me like a normal dump when stopping the container. What if you're running jetty by itself and not through maven? ... Do you see anything in jetty's logs in jetty-home/logs ? So its certainly crashing but with no stack trace or anything!!! Cheers Tim -- 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 liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: lift tags not replace (new JPA tutorial)
Aha! RequestState.testLocation is returning a Right(Empty) on any request. If I comment out my SiteMap setup in Boot, then everything loads fine, but obviously then I don't have a menu. My menu items currently have .html on the path ends, so I'll try removing those and see what happens. Derek On Sat, Sep 6, 2008 at 8:14 AM, Derek Chen-Becker [EMAIL PROTECTED]wrote: Actually, just / fails to process the index.html file. It just returns the raw XML. I didn't know about that recommendation, but it seems in this case that something else is going on. Derek On Sat, Sep 6, 2008 at 7:59 AM, David Pollak [EMAIL PROTECTED] wrote: Are you making a request on /foo.html or on /foo? I strongly recommend against /foo.html Marius wrote: On Sep 6, 12:04 pm, Tim Perrett [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: FYI - when I ctrl-c to stop jetty, I see this: 2008-09-06 10:03:27.331::INFO: Shutdown hook executing DEBUG - Destroyed servlet Why the above dump indicates crashing on ctrl-c ? Looks to me like a normal dump when stopping the container. What if you're running jetty by itself and not through maven? ... Do you see anything in jetty's logs in jetty-home/logs ? So its certainly crashing but with no stack trace or anything!!! Cheers Tim --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Scripting and Maven scala plugin
Here is the first errors: /Users/jesse/dev/repo/maven_scala/src/main/java/scala/maven/ ScalaRunMojo.java:[66,14] cannot find symbol symbol : class Launcher location: class scala.maven.ScalaRunMojo /Users/jesse/dev/repo/maven_scala/src/main/java/scala/maven/ ScalaRunMojo.java:[66,14] cannot find symbol symbol : class Launcher location: class scala.maven.ScalaRunMojo any ideas? On Sep 6, 4:58 pm, Jesse Eichar [EMAIL PROTECTED] wrote: Excuse my typing, my daughter is in one arm so I am working with one hand. Odd I can access the site... Although oddly if I add www it doesn't work. Maybe make sure that your browser doesn't add it. Tell you what. I will checkout the latest source, make a patch and send it to you. You can look it over at your leisure. Word of warning though. I have a conference coming up that I am madly preparing for so I may not find time until Early October. I will do what I can to get it to you earlier. Jesse On Sep 6, 4:46 pm, David Bernard [EMAIL PROTECTED] wrote: I can't accesshttp://pragmaticdesign.net/maven-scala-plugin-site/index.html On Sat, Sep 6, 2008 at 4:45 PM, David Bernard [EMAIL PROTECTED] wrote: Hi, Contributions are welcome (send me a patch, if possible provide the doc for the feature). FYI : * the latest source are at http://github.com/davidB/maven-scala-plugin/tree/master(svnis no more used) * I started (today) a new mailing list about maven and scala http://groups.google.com/group/maven-and-scala /davidB On Sat, Sep 6, 2008 at 4:18 PM, David Pollak [EMAIL PROTECTED] wrote: Jesse, I don't speak for DavidB, the Maven Scala plugin maintainer, but I certainly think this is a feature I'd like to see. :-) Thanks, David On Sat, Sep 6, 2008 at 7:08 AM, Jesse Eichar [EMAIL PROTECTED] wrote: Hi, Inspired by the GMaven plugin I have taken the maven-scala plugin and added a new Scripting Goal. It allows you to inline scala directly into a pom or execute a scala script from another file. In order to make it more applicable for the build process the MavenProject and Log can be optionally passed to the script. For details and code examples you can look at the updated documentation for the plugin that I put online at:http://pragmaticdesign.net/maven-scala-plugin-site/index.html I would like to contribute the change to the main maven-scala plugin. I have now used it in three very different projects so I can say that it is fairly well used and I am willing to support the scripting portion of the plugin. As for my credentials. I am Jesse Eichar and am the technical lead for the uDig (http://udig.refractions.net/) open source project, a module maintainer for two modules in the GeoTools (http:// docs.codehaus.org/display/GEOTOOLS/Home) open source project. I have contributed to the GeoAdminSuite (http://geojava.camptocamp.net/gas/) project, the GeoServer (http://geoserver.org/display/GEOS/Welcome) project, the Sextante (http://www.sextantegis.com/) project and am working on a project that will see code contributed to the GeoNetwork (http://geonetwork-opensource.org/) project. I mention these projects because I think demonstrates that I understand the philosophy of open source projects and the requirements to work with them. Please let me know how and when I can contribute the code. My changes are based on the latest from trunk. Jesse -- Lift, the simply functional web frameworkhttp://liftweb.net Collaborative Task Managementhttp://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 liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Scripting and Maven scala plugin
Ah. Apparently you have to compile twice... Sorry I didn't ready any instructions. On Sep 6, 6:25 pm, Jesse Eichar [EMAIL PROTECTED] wrote: Here is the first errors: /Users/jesse/dev/repo/maven_scala/src/main/java/scala/maven/ ScalaRunMojo.java:[66,14] cannot find symbol symbol : class Launcher location: class scala.maven.ScalaRunMojo /Users/jesse/dev/repo/maven_scala/src/main/java/scala/maven/ ScalaRunMojo.java:[66,14] cannot find symbol symbol : class Launcher location: class scala.maven.ScalaRunMojo any ideas? On Sep 6, 4:58 pm, Jesse Eichar [EMAIL PROTECTED] wrote: Excuse my typing, my daughter is in one arm so I am working with one hand. Odd I can access the site... Although oddly if I add www it doesn't work. Maybe make sure that your browser doesn't add it. Tell you what. I will checkout the latest source, make a patch and send it to you. You can look it over at your leisure. Word of warning though. I have a conference coming up that I am madly preparing for so I may not find time until Early October. I will do what I can to get it to you earlier. Jesse On Sep 6, 4:46 pm, David Bernard [EMAIL PROTECTED] wrote: I can't accesshttp://pragmaticdesign.net/maven-scala-plugin-site/index.html On Sat, Sep 6, 2008 at 4:45 PM, David Bernard [EMAIL PROTECTED] wrote: Hi, Contributions are welcome (send me a patch, if possible provide the doc for the feature). FYI : * the latest source are at http://github.com/davidB/maven-scala-plugin/tree/master(svnisno more used) * I started (today) a new mailing list about maven and scala http://groups.google.com/group/maven-and-scala /davidB On Sat, Sep 6, 2008 at 4:18 PM, David Pollak [EMAIL PROTECTED] wrote: Jesse, I don't speak for DavidB, the Maven Scala plugin maintainer, but I certainly think this is a feature I'd like to see. :-) Thanks, David On Sat, Sep 6, 2008 at 7:08 AM, Jesse Eichar [EMAIL PROTECTED] wrote: Hi, Inspired by the GMaven plugin I have taken the maven-scala plugin and added a new Scripting Goal. It allows you to inline scala directly into a pom or execute a scala script from another file. In order to make it more applicable for the build process the MavenProject and Log can be optionally passed to the script. For details and code examples you can look at the updated documentation for the plugin that I put online at:http://pragmaticdesign.net/maven-scala-plugin-site/index.html I would like to contribute the change to the main maven-scala plugin. I have now used it in three very different projects so I can say that it is fairly well used and I am willing to support the scripting portion of the plugin. As for my credentials. I am Jesse Eichar and am the technical lead for the uDig (http://udig.refractions.net/) open source project, a module maintainer for two modules in the GeoTools (http:// docs.codehaus.org/display/GEOTOOLS/Home) open source project. I have contributed to the GeoAdminSuite (http://geojava.camptocamp.net/gas/) project, the GeoServer (http://geoserver.org/display/GEOS/Welcome) project, the Sextante (http://www.sextantegis.com/) project and am working on a project that will see code contributed to the GeoNetwork (http://geonetwork-opensource.org/) project. I mention these projects because I think demonstrates that I understand the philosophy of open source projects and the requirements to work with them. Please let me know how and when I can contribute the code. My changes are based on the latest from trunk. Jesse -- Lift, the simply functional web frameworkhttp://liftweb.net Collaborative Task Managementhttp://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 liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: Scripting and Maven scala plugin
I don't known, but now I could access the site. You're goal is a great extension, and need to up the version to 2.8. If you don't know git or don't have time to prepare a patch send me the whole project, I'll do the merge. Thanks /davidB PS: could we switch the conversation to maven-and-scala mailing-list On Sat, Sep 6, 2008 at 4:58 PM, Jesse Eichar [EMAIL PROTECTED] wrote: Excuse my typing, my daughter is in one arm so I am working with one hand. Odd I can access the site... Although oddly if I add www it doesn't work. Maybe make sure that your browser doesn't add it. Tell you what. I will checkout the latest source, make a patch and send it to you. You can look it over at your leisure. Word of warning though. I have a conference coming up that I am madly preparing for so I may not find time until Early October. I will do what I can to get it to you earlier. Jesse On Sep 6, 4:46 pm, David Bernard [EMAIL PROTECTED] wrote: I can't accesshttp://pragmaticdesign.net/maven-scala-plugin-site/index.html On Sat, Sep 6, 2008 at 4:45 PM, David Bernard [EMAIL PROTECTED] wrote: Hi, Contributions are welcome (send me a patch, if possible provide the doc for the feature). FYI : * the latest source are at http://github.com/davidB/maven-scala-plugin/tree/master(svn is no more used) * I started (today) a new mailing list about maven and scala http://groups.google.com/group/maven-and-scala /davidB On Sat, Sep 6, 2008 at 4:18 PM, David Pollak [EMAIL PROTECTED] wrote: Jesse, I don't speak for DavidB, the Maven Scala plugin maintainer, but I certainly think this is a feature I'd like to see. :-) Thanks, David On Sat, Sep 6, 2008 at 7:08 AM, Jesse Eichar [EMAIL PROTECTED] wrote: Hi, Inspired by the GMaven plugin I have taken the maven-scala plugin and added a new Scripting Goal. It allows you to inline scala directly into a pom or execute a scala script from another file. In order to make it more applicable for the build process the MavenProject and Log can be optionally passed to the script. For details and code examples you can look at the updated documentation for the plugin that I put online at:http://pragmaticdesign.net/maven-scala-plugin-site/index.html I would like to contribute the change to the main maven-scala plugin. I have now used it in three very different projects so I can say that it is fairly well used and I am willing to support the scripting portion of the plugin. As for my credentials. I am Jesse Eichar and am the technical lead for the uDig (http://udig.refractions.net/) open source project, a module maintainer for two modules in the GeoTools (http:// docs.codehaus.org/display/GEOTOOLS/Home) open source project. I have contributed to the GeoAdminSuite (http://geojava.camptocamp.net/gas/) project, the GeoServer (http://geoserver.org/display/GEOS/Welcome) project, the Sextante (http://www.sextantegis.com/) project and am working on a project that will see code contributed to the GeoNetwork (http://geonetwork-opensource.org/) project. I mention these projects because I think demonstrates that I understand the philosophy of open source projects and the requirements to work with them. Please let me know how and when I can contribute the code. My changes are based on the latest from trunk. Jesse -- Lift, the simply functional web frameworkhttp://liftweb.net Collaborative Task Managementhttp://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 liftweb@googlegroups.com 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 -~--~~~~--~~--~--~---
[Lift] Re: lift tags not replace (new JPA tutorial)
Oh yes of course! Ergo, the sitemap should be: val entries = SiteMap(Menu(Loc(Home, index :: Nil , ? (Home))), Menu(Loc(Authors, authors :: list :: Nil, ? (Author List))), Menu(Loc(Add Author, authors :: add :: Nil, ? (Add Author), Hidden)), Menu(Loc(Books, books :: list :: Nil, ?(Book List))), Menu(Loc(Add Book, books :: add :: Nil, ?(Add Book), Hidden)), Menu(Loc(BookSearch, books :: search :: Nil, ? (Book Search Cheers Tim --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: lift tags not replace (new JPA tutorial)
Thanks, I'll add that in. You can also craft a link so that entire subdirectory trees are permitted based on matching the head of the list. Derek On Sat, Sep 6, 2008 at 6:57 PM, Tim Perrett [EMAIL PROTECTED] wrote: Oh yes of course! Ergo, the sitemap should be: val entries = SiteMap(Menu(Loc(Home, index :: Nil , ? (Home))), Menu(Loc(Authors, authors :: list :: Nil, ? (Author List))), Menu(Loc(Add Author, authors :: add :: Nil, ? (Add Author), Hidden)), Menu(Loc(Books, books :: list :: Nil, ?(Book List))), Menu(Loc(Add Book, books :: add :: Nil, ?(Add Book), Hidden)), Menu(Loc(BookSearch, books :: search :: Nil, ? (Book Search Cheers Tim --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] SiteMaps and multiple menus
So how would one create a site map and then break it into two or more pieces and show those pieces on different parts of the page? I want one menu across the top of the page for certain pages (home, about, contact, login, etc.), then a general navigation bar down the left side of the page, and finally a couple of links (terms of use, privacy policy, maybe a help link that's only visible when logged in) at the bottom of the page. Is there an easy way to do this? It seems like there's only room for one site map. Chas. Derek Chen-Becker wrote: Another note, you can put conditionals on whether to show menu items via the If, Test and Unless clauses :) On Sat, Sep 6, 2008 at 11:09 PM, Derek Chen-Becker [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks, I'll add that in. You can also craft a link so that entire subdirectory trees are permitted based on matching the head of the list. Derek On Sat, Sep 6, 2008 at 6:57 PM, Tim Perrett [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Oh yes of course! Ergo, the sitemap should be: val entries = SiteMap(Menu(Loc(Home, index :: Nil , ? (Home))), Menu(Loc(Authors, authors :: list :: Nil, ? (Author List))), Menu(Loc(Add Author, authors :: add :: Nil, ? (Add Author), Hidden)), Menu(Loc(Books, books :: list :: Nil, ?(Book List))), Menu(Loc(Add Book, books :: add :: Nil, ?(Add Book), Hidden)), Menu(Loc(BookSearch, books :: search :: Nil, ? (Book Search Cheers Tim --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---