[Lift] Re: Welcome Greg Meredith to the Lift committers

2009-04-23 Thread marius d.
You're most welcomed Greg ! On Apr 23, 7:16 am, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, It's been a new-commiter-o-rama lately... and I'm wicked pleased to announce that Greg Meredith has agreed to join the Lift committers. Greg has applied his vast mathematical mind to

[Lift] Re: Comet - Unique to each page

2009-04-23 Thread marius d.
Browsers do not make any distinction between tabs or new windows. Currently if you have 2 or more tabs, essentially Lift is getting multiple Comet requests per same session it will respond immediately to the browser to avoid connection starvation. The problem with your use-case is that server

[Lift] Re: Binding Radio Button

2009-04-23 Thread Timothy Perrett
You might find this helpful: http://is.gd/sfyT Cheers, Tim On Apr 23, 4:28 am, sailormoo...@gmail.com sailormoo...@gmail.com wrote: Hello:   And about the checkbox..  bind(entry, xhtml,       test_mode         - SHtml.checkbox(false, if (_) option_list = option_list :::

[Lift] Re: Netbeans 6.5 Out of Memory Error with 4MB file forces Eclipse for me

2009-04-23 Thread Daniel Mueller
4-24MB XML? Ah well... On the IDE side: if you open a file as textfile (instead of marked up whatever, XML in your case) things 'usually' work. Editor might still be too slow, but it's something to try. Either convince the IDE somehow (open as..), otherwise either create a symbolic link or

[Lift] Proxy settings for services

2009-04-23 Thread aborg
Hi All, I checked the Lift book, wiki, and mail archives, but not found any way to get/set general proxy settings. That would be useful for testing some features behind a firewall (like OpenID support, maybe WS calls, ...). I think at least the following places would be useful if it were

[Lift] Re: http://demo.liftweb.net/ no navigation on left

2009-04-23 Thread Timothy Perrett
Were using blueprint CSS so its an issue with blueprint rather than a with lift... Either that or its just some new general crapness brought to market by Microsoft in the package that is IE8 and blueprint is yet to account for it. On Apr 23, 2:44 am, allen allenrle...@yahoo.com wrote: Running

[Lift] Re: lift-amqp, RabbitMQ and Subscriptions?

2009-04-23 Thread alexis
Tim, Alexis here from RabbitMQ. This is definitely a good use case for RabbitMQ and AMQP. It has been implemented by quite a few folks, in a range of styles. In your case I think you probably want to express subscription interest based on single keywords (eg bigjob, littlejob). You would do

[Lift] Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread kkarad
Hi all, I am new to lift web framework. Recently I started working on a test project using google app engine for java and lift. I followed the Atsuhiko Yamanaka's instructions and I was able to deploy and run the helloworld example on the google app cloud. The problem I am facing now is that I

[Lift] Re: Netbeans 6.5 Out of Memory Error with 4MB file forces Eclipse for me

2009-04-23 Thread David Pollak
On Wed, Apr 22, 2009 at 10:12 AM, jsm2prof jsm2p...@googlemail.com wrote: Dave, Thanks for your suggestions. Maybe when you understand what I am trying to do you will have a different suggestion. I have the same suggestion, do not create a 4MB Scala source file. Even if you can get it to

[Lift] Re: Proxy settings for services

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 2:20 AM, aborg aborga...@gmail.com wrote: Hi All, I checked the Lift book, wiki, and mail archives, but not found any way to get/set general proxy settings. I believe (and I could be wrong) that the proxy settings are done on a service-by-service basis rather than

[Lift] Re: Comet - Unique to each page

2009-04-23 Thread David Pollak
On Wed, Apr 22, 2009 at 6:53 PM, bradford fingerm...@gmail.com wrote: I noticed in the chat demo that if you enter your name or chat into one tab, the same results will propagate to the other tab. I need a short lived comet session that's unique to each tab -- I want to prevent one tab from

[Lift] Re: scalar queries in Lift/JPA

2009-04-23 Thread Oliver Lambert
Is there anything to stop you defining an class/entity {answer: String, countAnswer: Int} and to directly create it from JPA (of course, it's read only). On Wed, Apr 22, 2009 at 9:36 AM, Charles F. Munat c...@munat.com wrote: I was thinking tuples, but that didn't work. I'll try your

[Lift] Re: Comet - Unique to each page

2009-04-23 Thread bradford
Thanks, David. I will play around with this when I get home. I'll open up a ticket at the same time as well, when I have sufficient time to review the problem. I'm looking to have the comet actor automatically shutdown after it's pushed the 10th item to the server, which looks like would be

[Lift] Re: scalar queries in Lift/JPA

2009-04-23 Thread bradford
Are you referring to Constructor Expressions? On Apr 23, 9:23 am, Oliver Lambert olambo...@gmail.com wrote: Is there anything to stop you defining an class/entity {answer: String, countAnswer: Int} and to directly create it from JPA (of course, it's read only). On Wed, Apr 22, 2009 at 9:36

[Lift] A Lift preso

2009-04-23 Thread David Pollak
http://www.slideshare.net/itemis/lift-mit-scala-ein-befrderungsmittel-in-die-nchste-etage-der-web-frameworks-presentation -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some:

[Lift] Re: Comet - Unique to each page

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 6:45 AM, bradford fingerm...@gmail.com wrote: Thanks, David. I will play around with this when I get home. I'll open up a ticket at the same time as well, when I have sufficient time to review the problem. I'm looking to have the comet actor automatically shutdown

[Lift] Re: A Lift preso

2009-04-23 Thread Viktor Klang
On Thu, Apr 23, 2009 at 3:52 PM, David Pollak feeder.of.the.be...@gmail.com wrote: http://www.slideshare.net/itemis/lift-mit-scala-ein-befrderungsmittel-in-die-nchste-etage-der-web-frameworks-presentation Thank God for taking classes in German! -- Lift, the simply functional web

[Lift] Re: Comet - Unique to each page

2009-04-23 Thread bradford
Thanks, David. What haven't you thought about?! On Apr 23, 9:57 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Apr 23, 2009 at 6:45 AM, bradford fingerm...@gmail.com wrote: Thanks, David.  I will play around with this when I get home.  I'll open up a ticket at the same time

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread Andrew Scherpbier
Hi kkarad, I'm a fellow newbie to lift (and scala) and ran into the same issue. I believe the solution is simple: You need to create entries in your SiteMap for every page. You'll need to do that in your Boot.scala. Make them Hidden if you don't want them displayed in the menu; you still

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread Atsuhiko Yamanaka
Hi, On Thu, Apr 23, 2009 at 9:12 PM, kkarad kka...@googlemail.com wrote: /webapp/WEB-INF/web.xml /webapp/WEB-INF/appengine-web.xml /webapp/fileupload.xthml         --- Access fails using the

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 8:30 AM, Andrew Scherpbier and...@scherpbier.orgwrote: Hi kkarad, I'm a fellow newbie to lift (and scala) and ran into the same issue. I believe the solution is simple: You need to create entries in your SiteMap for every page. You'll need to do that in your

[Lift] Re: [Lift committers] Welcome Greg Meredith to the Lift committers

2009-04-23 Thread Derek Chen-Becker
Welcome Greg! On Wed, Apr 22, 2009 at 11:16 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, It's been a new-commiter-o-rama lately... and I'm wicked pleased to announce that Greg Meredith has agreed to join the Lift committers. Greg has applied his vast mathematical mind to

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread Lee Mighdoll
Since lift is a servlet filter, can it simply pass through requests for unmapped html pages and let the web container serve them or send a 404? I don't quite understand the security issue, though. Lee re: documentation, I tripped on this getting started as well. On Thu, Apr 23, 2009 at 8:45

[Lift] Re: lift-amqp, RabbitMQ and Subscriptions?

2009-04-23 Thread Derek Chen-Becker
I've done some similar things in JMS using both the queue and pub/sub models and I'm positive that you should be able to do this with AMQP. In fact, I'm pretty sure that AMQP adds some nice features that make message selection incredibly flexible. For what it's worth, the project I worked on was

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 9:48 AM, Lee Mighdoll leemighd...@gmail.com wrote: Since lift is a servlet filter, can it simply pass through requests for unmapped html pages and let the web container serve them or send a 404? I don't quite understand the security issue, though. Security issues:

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread Lee Mighdoll
Ah, thanks for the explanation. Perhaps a site map entry for /static in the default archtetype? Lee On Thu, Apr 23, 2009 at 9:51 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Apr 23, 2009 at 9:48 AM, Lee Mighdoll leemighd...@gmail.comwrote: Since lift is a servlet filter,

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 9:59 AM, Lee Mighdoll leemighd...@gmail.com wrote: Ah, thanks for the explanation. Perhaps a site map entry for /static in the default archtetype? K... added Lee On Thu, Apr 23, 2009 at 9:51 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu,

[Lift] Re: http://demo.liftweb.net/ no navigation on left

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 5:10 AM, Timothy Perrett timo...@getintheloop.euwrote: Were using blueprint CSS so its an issue with blueprint rather than a with lift... Either that or its just some new general crapness brought to market by Microsoft in the package that is IE8 and blueprint is yet

[Lift] Presentation Proposals Needed Soon for CUFP Workshop

2009-04-23 Thread David Pollak
-- Forwarded message -- From: Jim Grundy grundy@gmail.com Date: Thu, Apr 23, 2009 at 11:55 AM Subject: [cufp] Presentation Proposals Needed Soon for CUFP Workshop To: CUFP c...@googlegroups.com Hi All This is just a reminder that the deadline for presentation proposals for

[Lift] Re: optional validation

2009-04-23 Thread g-man
Nice -- I'm getting the spirit of Lift now; it's kind of a way of saying 'NULL or Validate', right? On Apr 23, 10:39 am, David Pollak feeder.of.the.be...@gmail.com wrote: How about: class MappedBlankableEmail[T:Mapper[T]](owner: T, maxLen: Int) extends MappedString[T](owner, maxLen) {  

[Lift] Re: optional validation

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 12:01 PM, g-man gregor...@gmail.com wrote: Nice -- I'm getting the spirit of Lift now; it's kind of a way of saying 'NULL or Validate', right? Yes. On Apr 23, 10:39 am, David Pollak feeder.of.the.be...@gmail.com wrote: How about: class

[Lift] Giving a presentation: ideas?

2009-04-23 Thread Derek Chen-Becker
I'm tentatively slated to give a presentation on Lift at the Boulder JUG on August 11th. I'm looking for some ideas for how/what to present to get people interested in Lift. I know that there are some presentations that have been posted on the list, but for anyone out there that's new to Lift,

[Lift] Re: Giving a presentation: ideas?

2009-04-23 Thread TylerWeir
You may consider showing: - comet coolness - either the chat or the tic tac toe app, get someone to play against you - the cleanliness of the templates - the scalability, high bang for buck - the cleanliness of the language - the simplicity of adding an API with the rewrites HTH On Apr 23, 3:07 

[Lift] Re: scalar queries in Lift/JPA

2009-04-23 Thread Charles F. Munat
I'm not really sure how I would go about this, but I'll think about it when I have time to get back to that code. Thanks, Oliver. Chas. Oliver Lambert wrote: Is there anything to stop you defining an class/entity {answer: String, countAnswer: Int} and to directly create it from JPA (of

[Lift] Re: Giving a presentation: ideas?

2009-04-23 Thread David Pollak
I've found that building a comet chat app in front of people gets their attention. Then I talk about the Scala constructs that led to the 30 line chat app. See the presos in here: http://github.com/dpp/lift-samples/tree/94b1932a15a2c1344a1a16ff9fc54e785dc55274/presentations/2009_dpp_qcon_tss

[Lift] Re: scalar queries in Lift/JPA

2009-04-23 Thread Derek Chen-Becker
Oliver, I've never done anything like that in JPA or Hibernate. Is that actually possible? Can you create a class instance within a query? Derek On Thu, Apr 23, 2009 at 2:47 PM, Charles F. Munat c...@munat.com wrote: I'm not really sure how I would go about this, but I'll think about it when

[Lift] Re: Giving a presentation: ideas?

2009-04-23 Thread marius d.
I'm also preparing a Scala Lift presentation for Transylvania JUG. 1. First part I'm doing a Scala introduction presenting traits, higher order functions, currying (briefly),actors etc 2. Present a Lift Chat application and show them the code 3. Promoting the Lift book and Dave's Scala book

[Lift] Re: Giving a presentation: ideas?

2009-04-23 Thread Derek Chen-Becker
Cool! I'll take a look at the presentations on GitHub and crib some from it. The BJUG is seeing if they can line someone up to do a Scala presentation in the first half, so I may be able to talk just about Lift and how it leverages Scala. Otherwise, I can give a brief intro to Scala. Derek On

[Lift] Re: developing Scala/Lift using Eclipse

2009-04-23 Thread Kai M.
has this already been applied to the pom? should it work now? thanks alot, kai On Apr 22, 4:11 pm, Josh Suereth joshua.suer...@gmail.com wrote: On Wed, Apr 22, 2009 at 8:53 AM, Miles Sabin mi...@milessabin.com wrote: On Wed, Apr 22, 2009 at 1:16 PM, Josh Suereth joshua.suer...@gmail.com

[Lift] Re: Comet - Unique to each page

2009-04-23 Thread bradford
Thanks again for your help. If I call this ! ShutDown in my CometActor, it will redirect me back to the home page once ShutDown is received. Did you want me to open up a ticket for this? Thanks, Bradford On Apr 23, 10:06 am, bradford fingerm...@gmail.com wrote: Thanks, David.  What haven't