[Lift] directives versus snippets

2009-04-10 Thread bob
to net.liftweb.builtin.snippets.Msgs (thanks Jorge) 3. lift:bind is the directive, and liftsnippet:bind is the snippet comments? thanks, bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post

[Lift] Re: directives versus snippets

2009-04-10 Thread bob
could be implemented as snippets 11:16 jorgeortiz85 the fact that they aren't is just legacy cruft 11:16 jorgeortiz85 lift:msgs does 11:16 jorgeortiz85 lift:bind is hard-coded On Apr 10, 11:26 am, David Pollak feeder.of.the.be...@gmail.com wrote: Bob, They are actually the same thing.  Lift's

[Lift] Re: directives versus snippets

2009-04-10 Thread bob
on this for me. http://liftweb.lighthouseapp.com/projects/26102/tickets/33-deprecate-liftbind --j On Fri, Apr 10, 2009 at 1:26 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Bob, They are actually the same thing.  Lift's processing directives are simply built-in snippets

[Lift] Re: A Critique On Lift

2009-10-23 Thread bob
i believe that one of the best ways to learn a new programming language is to read software written in it when reading Scala code, I rarely say i don't understand how that works and when I do, there's usually a good explanation of it somewhere on the web. usually I find myself asking where is

[Lift] Re: A Critique On Lift

2009-10-23 Thread bob
I'll repeat: there are no operators in scala s/operators/methods-with-operator-like-names/ anywhere, here's a typical case: import some.library.package.foo._ val a = bar 42 val b = a ~!~ 3.14159 you can't easily tell that bar is being imported via foo._ . what is bar's return type? what does

[Lift] Re: A Critique On Lift

2009-10-24 Thread bob
why, it reformats your hard drive On Oct 23, 6:17 pm, Viktor Klang viktor.kl...@gmail.com wrote: But if you name your method: ashiuahsdyasdasd what does it do? On Fri, Oct 23, 2009 at 9:47 PM, bob rbpas...@gmail.com wrote: I'll repeat: there are no operators in scala s/operators

[Lift] Re: A Critique On Lift

2009-10-24 Thread bob
a scornful tone, `it means just what I choose it to mean -- neither more nor less.' On Oct 24, 2:44 pm, Viktor Klang viktor.kl...@gmail.com wrote: On Sat, Oct 24, 2009 at 8:18 PM, bob rbpas...@gmail.com wrote: why, it reformats your hard drive oh snap On Oct 23, 6:17 pm, Viktor

[Lift] Re: A Critique On Lift

2009-10-24 Thread bob
is that for Scala or Perl? :) On Oct 24, 4:49 pm, Randinn rand...@gmail.com wrote: This may not be it, but you can at least print out this list :) http://jim-mcbeath.blogspot.com/2008/12/scala-operator-cheat-sheet.html On Oct 24, 6:47 am, bob rbpas...@gmail.com wrote: I'll repeat

[Lift] Re: confusing error on missing bind

2009-10-25 Thread bob
those recently. Hmm. Perhaps I need to make sure I'm not doing development in production mode myself. :) Kris On Sat, Oct 24, 2009 at 5:39 PM, bob rbpas...@gmail.com wrote: the following error was the result of a bug in my app: i had an element (queries:service/) in the template which I

[Lift] compatible versions

2009-10-26 Thread bob
is there a list of Lift-compatible versions of software? i'm still struggling with actual (from maven) or rumored (from private conversations) incompatibilities among scala, lift, IntelliJ, IntelliJ scala plugin, Databinder Dispatch. and the best the maven plug-in seems to be able do is tell me

[Lift] Re: compatible versions

2009-10-26 Thread bob
your library for what version of Scala it uses. IntelliJ 8.1.x uses a 2.7.4-2.7.6 compatible version of Scala and will work (as will NetBeans) for Lift-related development. On Mon, Oct 26, 2009 at 8:14 AM, bob rbpas...@gmail.com wrote: is there a list of Lift-compatible versions of software

[Lift] Re: compatible versions

2009-10-26 Thread bob
from http://www.scala-lang.org/downloads/ Current Stable Release: The current version of Scala is 2.7.6 if Lift doesnt support 2.7.6, then maybe the Lift POM needs to say so. or at least the Downloads page should warn. On Oct 26, 12:12 pm, David Pollak feeder.of.the.be...@gmail.com wrote:

[Lift] generating TABLE columns

2009-10-26 Thread bob
Listing 2.7: The Embedded Expense Table in the LiftBook.pdf, page 19, has a great example of generating individual rows of a table. But lets say you wanted to generate the columns in the table, as well as the rows. is there a good example of how to do this in a template+snippet? TIA, bob

[Lift] Re: generating TABLE columns

2009-10-26 Thread bob
PS: I know I can generate the TABLE, THEAD, TBODY, TR and TD elements directly in my snippet (although SHtml doesnt seems to be geared towards FORMs, rather than HTML generation like htmlKona) On Oct 26, 4:30 pm, bob rbpas...@gmail.com wrote: Listing 2.7: The Embedded Expense Table

[Lift] Re: generating TABLE columns

2009-10-26 Thread bob
26, 4:30 pm, bob rbpas...@gmail.com wrote: Listing 2.7: The Embedded Expense Table in the LiftBook.pdf, page 19, has a great example of generating individual rows of a table. But lets say you wanted to generate the columns in the table, as well as the rows. is there a good example

[Lift] Re: generating TABLE columns

2009-10-26 Thread bob
that's nice. thank you On Oct 26, 6:04 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: bob rbpas...@gmail.com writes: Listing 2.7: The Embedded Expense Table in the LiftBook.pdf, page 19, has a great example of generating individual rows of a table. But lets say you wanted to generate

[Lift] Re: RSS Library

2009-10-30 Thread bob
/dispatch/About if you want real RSS code, you can use the Java ROME library, which i have used very successfully in java projects: https://rome.dev.java.net/ brgds, bob On Oct 30, 10:26 am, GA my_li...@me.com wrote: Hello guys, is there any standard RSS Library to parse RSS and Atom feeds from

[Lift] Re: Error with the SHtml.select method ?

2009-10-30 Thread bob
interesting! have you tried /* Log.infoF _ */ ? On Oct 30, 10:31 am, Neil.Lv anim...@gmail.com wrote: Hi all,   There is a question that about the SHtml.select method. ###  This code will be error ?   def handleBook(id: String) {      book.type_id(id.toLong)       //Log.infoF _    }  

[Lift] Re: Get the subfolders and all the files in the Directory in the Lift ?

2009-10-30 Thread bob
i had call to do something similar, and here's the code. i'm sure someone smarter could replace the for comprehension with filter().map () def getPaths(prefix : String) : Set[String] = { // Resource Paths as an Array[Object] var jpaths =

[Lift] Re: Get the subfolders and all the files in the Directory in the Lift ?

2009-10-30 Thread bob
when moved the file from /resources/foo.xml to /foo.xml (in the same path as index.html), it now finds it. i guess getResourcePaths() and getResourceAsStream() don't necessarily look in the same place. On Oct 30, 1:58 pm, bob rbpas...@gmail.com wrote: i had call to do something similar

[Lift] Does memcache fit in here somewhere?

2009-01-06 Thread Bob Eastbrook
in front of your database server. It's pretty much a cache everything philosophy. Is this not encouraged with Lift? I assume there are more caching choices in the Java world such as ehcache, but I don't see them mentioned on the list. Bob --~--~-~--~~~---~--~~ You

[Lift] Re: Does memcache fit in here somewhere?

2009-01-07 Thread Bob Eastbrook
to most PHP developers I know. Most of our conversations deal less with PHP and more with memcache and MySQL replication. Bob On Jan 7, 5:22 am, TylerWeir tyler.w...@gmail.com wrote: Hey Bob, less about memcached and more about Lift in general, take a look at the book, Marius, Derek and I

[Lift] How do I add sitemap.xml and robots.txt

2010-02-27 Thread Bob Folkerts
I'm trying to add robots.txt and a sitemap.xml to a web site. My Boot.scala has a snippet that looks like val entries = Menu(Loc(Home, List(index), Home)) :: galleryMenu :: servingYouMenu :: socialSitesMenu :: aboutUsMenu :: Menu(Loc(ContactUs,

[Lift] Re: How do I add sitemap.xml and robots.txt

2010-02-28 Thread Bob Folkerts
Marius, thanks for the reply. This is exactly what I needed I'm off and running. Thanks again :) -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email

[Lift] @Req for PermRedirectResponse after a site redesign

2010-03-08 Thread Bob Folkerts
I am switching my wife's hosted photography site to Liftweb, largely as a reason to learn Lift. Part of the conversion is moving the old directory structure to a cleaner structure. I wanted to redirect all of the old URI's to the modern equivalent. I read Chapter 13 of the Lift book and got the