[Lift] Using template without head/ and body/
Is there a way to configure template to generate html fragments without including and generating head/ and body/? I had to resort to adding a transformer to LiftRules.responseTransformers to transform the response after Lift renders it. For example, with a template like this: html xmlns=http://www.w3.org/1999/xhtml; xmlns:lift=http:// liftweb.net/ head/ body h1Hello/h1 /body /html Lift renders this(correct): html xmlns:lift=http://liftweb.net/; xmlns=http://www.w3.org/1999/ xhtml head /head body h1Hello/h1 /body /html However, with a template like this: html xmlns=http://www.w3.org/1999/xhtml; xmlns:lift=http:// liftweb.net/ h1Hello/h1 /html Lift renders this(not what i had in mind): html xmlns:lift=http://liftweb.net/; xmlns=http://www.w3.org/1999/ xhtml head /head body /body /html --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] How current is XXX.1.1-SNAPSHOT in repo-snapshots?
I am using the 1.1-SNAPSHOT from http://scala-tools.org/repo-snapshots/ specifically for the GAE compatibility fix. I did a mvn --update- snapshots so i am pretty sure i have the most current snapshots in the repo but i still get the java.lang.NoClassDefFoundError: java.net.InetAddress is a restricted class. Please see the Google App Engine developer's guide for more details. exception when deploy to GAE. so just how current is the snapshot jars in the snapshot repo? aren't they being built continuously from the trunk? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: How current is XXX.1.1-SNAPSHOT in repo-snapshots?
thanks, it turned out that following instructions is pretty important after all: http://groups.google.com/group/liftweb/browse_thread/thread/8193eb25e5a8b505/752aa89273043c85?lnk=gstq=gae#752aa89273043c85 On Apr 25, 8:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: The status of the snapshots can be seen here:http://hudson.scala-tools.org/job/Lift/ Also, I'd suggest: mvn -U clean install That should pull the latest. Also, what's the stack trace? Did you set the: system-properties property name=in.gae.j value=true / /system-properties In the appengine-web.xml file? Thanks, David On Sat, Apr 25, 2009 at 5:47 AM, walterc weih...@gmail.com wrote: I am using the 1.1-SNAPSHOT fromhttp://scala-tools.org/repo-snapshots/ specifically for the GAE compatibility fix. I did a mvn --update- snapshots so i am pretty sure i have the most current snapshots in the repo but i still get the java.lang.NoClassDefFoundError: java.net.InetAddress is a restricted class. Please see the Google App Engine developer's guide for more details. exception when deploy to GAE. so just how current is the snapshot jars in the snapshot repo? aren't they being built continuously from the trunk? -- 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 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 -~--~~~~--~~--~--~---
[Lift] Re: Google App Engine for Scala!
cool, guys, looking forward to it, especially the current thread actor bit. On Apr 11, 9:43 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Sat, Apr 11, 2009 at 12:53 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Fri, Apr 10, 2009 at 10:03 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Thank you! Thank you! Thank you! I'd like to kiss you (but my wife might get upset) Next time you come to the Bay Area, I will buy you lunch or dinner! If I get an opportunity to be there in the future, I'll want to enjoy lunch with you! Cool. Here is a fork of liftweb source code to run lift-example on GAE/J, http://github.com/ymnk/liftweb/tree/master It seems that JDBC API must not have be forbidden on GAE/J . I have succeeded to use H2 mem db by updating to its latest version[1] and now DB functionalities have worked on http://lift-example.appspot.com/index However, it is not adequate for the practical usages, of course. FYI, I found an interesting message[2] about a plan to implement JDBC to com.google.appengine.api.datastore wrapper GAE supports JPA and there's a lot of Lift JPA support... so maybe we can update the example code to use JPA and we'll have persistence via BigTable. In terms of Comet support (which relies on Actor support), I've got some ideas on how to make the Actors always use the current thread which will mean no spawning threads. We'll also have to set the default Comet timeout to 25 seconds as to not violate the GAE 30 second max request rule. Fun stuff to do next week. Thanks! David PS. I will add CC to liftweb@googlegroups.com and further discussions should be there. [1]http://www.h2database.com/html/changelog.html [2] http://groups.google.com/group/google-appengine-java/msg/71278bbee901... Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ -- 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 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 -~--~~~~--~~--~--~---