<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/liftweb</id>
  <title type="text">Lift Google Group</title>
  <subtitle type="text">
  Discussion, information, etc. related to the Lift web framework
  </subtitle>
  <link href="/group/liftweb/feed/atom_v1_0_msgs.xml" rel="self" title="Lift feed"/>
  <updated>2010-01-04T23:24:39Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Mads Hartmann</name>
  <email>mads...@gmail.com</email>
  </author>
  <updated>2010-01-04T23:24:39Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/d14923d6127d0327/d06d8f8f264fb79a?show_docid=d06d8f8f264fb79a</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/d14923d6127d0327/d06d8f8f264fb79a?show_docid=d06d8f8f264fb79a"/>
  <title type="text">QueryParams and joins</title>
  <summary type="html" xml:space="preserve">
  Hello, I&#39;m having a problem and I&#39;m sure it&#39;s an easy fix for someone &lt;br&gt; with a bit more experience &lt;br&gt; I have 3 model classes: tag, user, tweet and a join class TagUser. A &lt;br&gt; tag has a list of users. &lt;br&gt; If i want all of the users in a tag i use the following code (which &lt;br&gt; works): &lt;br&gt; def users = TagUser.findAll(By(TagUser.tag , this.id)).map
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jim Wise</name>
  <email>jw...@draga.com</email>
  </author>
  <updated>2010-01-04T22:37:10Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/4b12b8aac822f250?show_docid=4b12b8aac822f250</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/4b12b8aac822f250?show_docid=4b12b8aac822f250"/>
  <title type="text">Re: [Lift] Safe handling of long params</title>
  <summary type="html" xml:space="preserve">
  Aha! &lt;br&gt; Thanks, &lt;br&gt; Sent from my iPhone
  </summary>
  </entry>
  <entry>
  <author>
  <name>Timothy Perrett</name>
  <email>timo...@getintheloop.eu</email>
  </author>
  <updated>2010-01-04T22:18:08Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/520ed64a5fd26d9a?show_docid=520ed64a5fd26d9a</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/520ed64a5fd26d9a?show_docid=520ed64a5fd26d9a"/>
  <title type="text">Re: [Lift] Safe handling of long params</title>
  <summary type="html" xml:space="preserve">
  Ah right yeah - I thought it was implicit :)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ross Mellgren</name>
  <email>dri...@gmail.com</email>
  </author>
  <updated>2010-01-04T22:09:55Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/f5e40831cf25af6c?show_docid=f5e40831cf25af6c</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/f5e40831cf25af6c?show_docid=f5e40831cf25af6c"/>
  <title type="text">Re: [Lift] Safe handling of long params</title>
  <summary type="html" xml:space="preserve">
  Nope, it&#39;s not a implicit extension of String or anything, it&#39;s just a &lt;br&gt; plain method def asLong(s: String): Box[Long] in BasicTypesHelpers &lt;br&gt; -Ross
  </summary>
  </entry>
  <entry>
  <author>
  <name>Timothy Perrett</name>
  <email>timo...@getintheloop.eu</email>
  </author>
  <updated>2010-01-04T22:08:45Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/84ca4be452078a21?show_docid=84ca4be452078a21</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/84ca4be452078a21?show_docid=84ca4be452078a21"/>
  <title type="text">Re: [Lift] Safe handling of long params</title>
  <summary type="html" xml:space="preserve">
  Shouldnt that be: &lt;br&gt; S.param(&amp;quot;image&amp;quot;).flatMap(_.asL ong) &lt;br&gt; Cheers, Tim
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ross Mellgren</name>
  <email>dri...@gmail.com</email>
  </author>
  <updated>2010-01-04T21:45:27Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/182e0cd2837a278a?show_docid=182e0cd2837a278a</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/182e0cd2837a278a?show_docid=182e0cd2837a278a"/>
  <title type="text">Re: [Lift] Safe handling of long params</title>
  <summary type="html" xml:space="preserve">
  I can answer b) -- S.param(&amp;quot;image&amp;quot;).flatMap(asLon g) &lt;br&gt; asLong comes from BasicTypesHelpers. &lt;br&gt; -Ross
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jim Wise</name>
  <email>jw...@draga.com</email>
  </author>
  <updated>2010-01-04T21:42:56Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/99ae311b2e852e8d?show_docid=99ae311b2e852e8d</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/f407244dbf2d0b96/99ae311b2e852e8d?show_docid=99ae311b2e852e8d"/>
  <title type="text">Safe handling of long params</title>
  <summary type="html" xml:space="preserve">
  So, in my endless retweaking of this code, getting better (and learning &lt;br&gt; more lift) on each pass, I&#39;ve got a rewrite rule like this &lt;br&gt; case RewriteRequest(ParsePath(&amp;quot;imag e&amp;quot; :: image :: Nil, _, _, _), _, _) =&amp;gt; &lt;br&gt; RewriteResponse(&amp;quot;viewImage&amp;quot; :: Nil, Map(&amp;quot;image&amp;quot; -&amp;gt; image)) &lt;br&gt; which is (eventually) handled by a snippet like this:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Marius</name>
  <email>marius.dan...@gmail.com</email>
  </author>
  <updated>2010-01-04T21:24:26Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/0e5e863c21da2c33/649d105d106e7a80?show_docid=649d105d106e7a80</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/0e5e863c21da2c33/649d105d106e7a80?show_docid=649d105d106e7a80"/>
  <title type="text">Re: cookie vs url sessionId precedence</title>
  <summary type="html" xml:space="preserve">
  Using jsessionid in the URL (aka url rewriting - servlets jargon) is &lt;br&gt; about turning off cookies in container. I think with Jetty you can do &lt;br&gt; this from /WEB-INF/jetty-web.xml. Something like: &lt;br&gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt; &lt;br&gt; &amp;lt;!DOCTYPE Configure PUBLIC &amp;quot;-//Mort Bay Consulting//DTD Configure//EN&amp;quot; &lt;br&gt; &amp;quot;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://jetty.mortbay.org/configure.dtd&quot;&gt;[link]&lt;/a&gt;&amp;quot;&amp;gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Timothy Perrett</name>
  <email>timo...@getintheloop.eu</email>
  </author>
  <updated>2010-01-04T21:23:38Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/6dc472109006079b/af7ea5b72b4d9d66?show_docid=af7ea5b72b4d9d66</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/6dc472109006079b/af7ea5b72b4d9d66?show_docid=af7ea5b72b4d9d66"/>
  <title type="text">Re: [Lift] Lift based backend server subscribing via amqp</title>
  <summary type="html" xml:space="preserve">
  oh super awesome! I had no idea!! &lt;br&gt; Cheers, Tim
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kris Nuttycombe</name>
  <email>kris.nuttyco...@gmail.com</email>
  </author>
  <updated>2010-01-04T21:06:56Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/6dc472109006079b/94daa83f6434e687?show_docid=94daa83f6434e687</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/6dc472109006079b/94daa83f6434e687?show_docid=94daa83f6434e687"/>
  <title type="text">Re: [Lift] Lift based backend server subscribing via amqp</title>
  <summary type="html" xml:space="preserve">
  Nope! We&#39;re using it in production as well. :) &lt;br&gt; Kris
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alex Boisvert</name>
  <email>alex.boisv...@gmail.com</email>
  </author>
  <updated>2010-01-04T21:03:01Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/a8b39ce2f003a912/7e868175cbd0700e?show_docid=7e868175cbd0700e</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/a8b39ce2f003a912/7e868175cbd0700e?show_docid=7e868175cbd0700e"/>
  <title type="text">Re: [Lift] Minor breaking changes -- LiftRules.getResourceAsStream and LiftRules.finder</title>
  <summary type="html" xml:space="preserve">
  Instead of: &lt;br&gt; LiftRules.getResourceAsStream( name: String): Box[InputStream] &lt;br&gt; I&#39;d suggest: &lt;br&gt; LiftRules.doWithResource[T](na me: String)(f: InputStream =&amp;gt; T): Box[T]. &lt;br&gt; And if you need laziness, you could use one of the usual suspects: &amp;quot;lazy &lt;br&gt; val&amp;quot;, unapplied function, FatLazy, etc. &lt;br&gt; alex &lt;br&gt; On Thu, Dec 31, 2009 at 3:48 PM, David Pollak &amp;lt;feeder.of.the.be...@gmail.com
  </summary>
  </entry>
  <entry>
  <author>
  <name>Timothy Perrett</name>
  <email>timo...@getintheloop.eu</email>
  </author>
  <updated>2010-01-04T20:53:58Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/6dc472109006079b/292826260d9318aa?show_docid=292826260d9318aa</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/6dc472109006079b/292826260d9318aa?show_docid=292826260d9318aa"/>
  <title type="text">Re: [Lift] Re: [lift] Lift based backend server subscribing via amqp</title>
  <summary type="html" xml:space="preserve">
  It depends on your use case... you don&#39;t really describe exactly what you want to do. Perhaps start by providing more detail? If you want service teir *only* though, its quite probable that akka would be a better fix. &lt;br&gt; Cheers, Tim
  </summary>
  </entry>
  <entry>
  <author>
  <name>Randinn</name>
  <email>rand...@gmail.com</email>
  </author>
  <updated>2010-01-04T20:53:02Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/88eadaed28eb226f/e64b9b712248948d?show_docid=e64b9b712248948d</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/88eadaed28eb226f/e64b9b712248948d?show_docid=e64b9b712248948d"/>
  <title type="text">Re: source of working demo of Lift+JPA on google app engine</title>
  <summary type="html" xml:space="preserve">
  Last time I looked just JDO yes, I didn&#39;t think it was worth it as you &lt;br&gt; cannot use most of what makes Lift special (Comet, mapper), but if &lt;br&gt; you&#39;re looking for an example check out... &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://mawson.wordpress.com/2009/04/10/first-steps-with-scala-on-google-app-engine/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; (a bit dated) &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.google.com/p/scala-lift-gae-js-example/&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kris Nuttycombe</name>
  <email>kris.nuttyco...@gmail.com</email>
  </author>
  <updated>2010-01-04T20:51:42Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/a8b39ce2f003a912/911342ce1af62cc8?show_docid=911342ce1af62cc8</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/a8b39ce2f003a912/911342ce1af62cc8?show_docid=911342ce1af62cc8"/>
  <title type="text">Re: [Lift] Re: Minor breaking changes -- LiftRules.getResourceAsStream and LiftRules.finder</title>
  <summary type="html" xml:space="preserve">
  On Mon, Jan 4, 2010 at 9:51 AM, David Pollak &lt;br&gt; I believe that this is actually the type signature of the Thrush &lt;br&gt; combinator - it&#39;s a pretty generally useful type. I have the following &lt;br&gt; in my codebase: &lt;br&gt; implicit def any2Thrush[T](t: T): Thrush[T] = new Thrush[T](t) &lt;br&gt; class Thrush[T](t: T) { &lt;br&gt; def -&amp;gt;*[U](f: T =&amp;gt; U): U = f(t)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Channing Walton</name>
  <email>channingwal...@mac.com</email>
  </author>
  <updated>2010-01-04T20:30:05Z</updated>
  <id>http://groups.google.com/group/liftweb/browse_frm/thread/6dc472109006079b/13460fa5892fab45?show_docid=13460fa5892fab45</id>
  <link href="http://groups.google.com/group/liftweb/browse_frm/thread/6dc472109006079b/13460fa5892fab45?show_docid=13460fa5892fab45"/>
  <title type="text">Re: [lift] Lift based backend server subscribing via amqp</title>
  <summary type="html" xml:space="preserve">
  Maybe Akka would be better for you? &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://akkasource.org/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &amp;quot;Akka has an AMQP module which abstracts AMQP Producer and Consumer as &lt;br&gt; Actors.&amp;quot; &lt;br&gt; Channing
  </summary>
  </entry>
</feed>
