[Lift] Re: customizing my SiteMap

2009-06-29 Thread David Persons
Thank Bryan, exactly what I needed! David On 29 jun, 02:21, Bryan germ...@gmail.com wrote: Oops.  I forgot to add home into the menu. Usage: div id=menu   ul     lift:MyMenu.select active:class=current_page_item default=home localize=true       limenu:bind name=home //li      

[Lift] Re: how to serve html fragments

2009-06-29 Thread David Persons
The problem seems to be a known stupid bug in IE6.. see: http://www.webdeveloper.com/forum/showthread.php?t=1658 On 29 jun, 02:39, David Persons dhwpers...@gmail.com wrote: I spend a lot of time today on (close to) the same problem.. IE 6 was not showing my site in strict mode.. with the

[Lift] Re: [scala] preso on monadic design patterns for the web

2009-06-29 Thread Walter Chang
nice, thanks for sharing. On Mon, Jun 29, 2009 at 7:05 AM, Meredith Gregory lgreg.mered...@gmail.comwrote: All, The talk i recently gave on this topic is now available onlinehttp://www.vimeo.com/5318303 . Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC

[Lift] So, how to get from format to hosting a lift app?

2009-06-29 Thread DFectuoso
I'm having a lot of trouble getting some code into production in my wiredtree VPS where i use apache and other stuff; so I decided to leave that host alone. I started playing with comet and some dispatch hacks that dont work on the GAE; so I decided to leave GAE alone. So I need a new hosting to

[Lift] Re: [scala] preso on monadic design patterns for the web

2009-06-29 Thread Jonas Bonér
Great talk. Thanks. Could you post the slides? It was a bit hard to see them. /Jonas 2009/6/29 Meredith Gregory lgreg.mered...@gmail.com: All, The talk i recently gave on this topic is now available online. Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC 1219

[Lift] Re: preso on monadic design patterns for the web

2009-06-29 Thread Timothy Perrett
+1 would love to read the slides properly. Cheers, Tim On Jun 29, 8:59 am, Jonas Bonér jbo...@gmail.com wrote: Great talk. Thanks. Could you post the slides? It was a bit hard to see them. /Jonas 2009/6/29 Meredith Gregory lgreg.mered...@gmail.com: All, The talk i recently gave

[Lift] Re: Writing Facebook applications in Lift (cookies, Javascript GC, example code)

2009-06-29 Thread Timothy Perrett
Steven, Welcome to lift. Lift doesn't use the JSESSIONID in the URL... that is, lift does not require it (at least this is my understanding, if im wrong please correct me someone) - so you should have no problems with the requests being re-written. Regarding the GC stuff, it was added to

[Lift] Re: preso on monadic design patterns for the web

2009-06-29 Thread Eric Bowman
Here? http://svn.biosimilarity.com/src/open/talks/MonadicDesignPatternsForTheWeb.pdf Timothy Perrett wrote: +1 would love to read the slides properly. Cheers, Tim On Jun 29, 8:59 am, Jonas Bonér jbo...@gmail.com wrote: Great talk. Thanks. Could you post the slides? It was a bit hard

[Lift] Re: Writing Facebook applications in Lift (cookies, Javascript GC, example code)

2009-06-29 Thread marius d.
On Jun 29, 1:13 pm, Timothy Perrett timo...@getintheloop.eu wrote: Steven, Welcome to lift. Lift doesn't use the JSESSIONID in the URL... that is, lift does not require it (at least this is my understanding, if im wrong please correct me someone) - so you should have no problems with the

[Lift] Re: [scala] preso on monadic design patterns for the web

2009-06-29 Thread Viktor Klang
Best presentation I've seen so far this year. Filled in the gaps I got from reading the PDF perfectly. Thanks for enriching my mind! On Mon, Jun 29, 2009 at 1:05 AM, Meredith Gregory lgreg.mered...@gmail.comwrote: All, The talk i recently gave on this topic is now available

[Lift] Re: [scala] preso on monadic design patterns for the web

2009-06-29 Thread Christos KK Loverdos
This is one of the presentations after (or during) which one may easily wonder What was (is) he talking about? and then wake up 20 years later and recall that some guy Greg Meredith already did that. So pay attention everyone! At least, let those stuff stack at the back of your head. You

[Lift] Re: [scala] preso on monadic design patterns for the web

2009-06-29 Thread Viktor Klang
On Mon, Jun 29, 2009 at 2:48 PM, Christos KK Loverdos lover...@gmail.comwrote: This is one of the presentations after (or during) which one may easily wonder What was (is) he talking about? and then wake up 20 years later and recall that some guy Greg Meredith already did that. I still have

[Lift] Re: So, how to get from format to hosting a lift app?

2009-06-29 Thread TylerWeir
There was a thread about hosting a while ago, in summary, give http://prgmr.com/xen/ a shot. On Jun 29, 3:10 am, DFectuoso santiago1...@gmail.com wrote: I'm having a lot of trouble getting some code into production in my wiredtree VPS where i use apache and other stuff; so I decided to leave

[Lift] Re: scala-tools.org down

2009-06-29 Thread David Pollak
I'm still working with CalPop on the issue, but it looks to me like they disabled the port on the router and didn't enable it until Derek called. The good news is that I've got pingdom monitoring the machine. The bad news is that I was out of cell phone range so I didn't get the alerts. Thanks

[Lift] Re: [scala] preso on monadic design patterns for the web

2009-06-29 Thread Kevin Wright
Is this going to be made available as a download somewhere? I have an IPod touch and a long daily commute... On Mon, Jun 29, 2009 at 2:10 PM, Viktor Klang viktor.kl...@gmail.comwrote: On Mon, Jun 29, 2009 at 2:48 PM, Christos KK Loverdos lover...@gmail.comwrote: This is one of the

[Lift] Re: scala-tools.org down

2009-06-29 Thread Jeremy Day
David, On Mon, Jun 29, 2009 at 8:28 AM, David Pollak feeder.of.the.be...@gmail.com wrote: The good news is that I've got pingdom monitoring the machine. The bad news is that I was out of cell phone range so I didn't get the alerts. What? You're not allowed to relax! Jeremy

[Lift] Re: scala-tools.org down

2009-06-29 Thread David Pollak
On Mon, Jun 29, 2009 at 6:39 AM, Jeremy Day jeremy@gmail.com wrote: David, On Mon, Jun 29, 2009 at 8:28 AM, David Pollak feeder.of.the.be...@gmail.com wrote: The good news is that I've got pingdom monitoring the machine. The bad news is that I was out of cell phone range so I didn't

[Lift] Re: So, how to get from format to hosting a lift app?

2009-06-29 Thread David Pollak
On Mon, Jun 29, 2009 at 12:10 AM, DFectuoso santiago1...@gmail.com wrote: I'm having a lot of trouble getting some code into production in my wiredtree VPS where i use apache and other stuff; so I decided to leave that host alone. I started playing with comet and some dispatch hacks that

[Lift] Re: scala-tools.org down

2009-06-29 Thread Derek Chen-Becker
I smell a conspiracy! On Mon, Jun 29, 2009 at 7:54 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 29, 2009 at 6:39 AM, Jeremy Day jeremy@gmail.com wrote: David, On Mon, Jun 29, 2009 at 8:28 AM, David Pollak feeder.of.the.be...@gmail.com wrote: The good news is

[Lift] Re: [scala] preso on monadic design patterns for the web

2009-06-29 Thread TylerWeir
You can find the avi link on the bottom right of the vimeo page. It's about 600 megs. On Jun 29, 9:33 am, Kevin Wright kev.lee.wri...@googlemail.com wrote: Is this going to be made available as a download somewhere? I have an IPod touch and a long daily commute... On Mon, Jun 29, 2009 at

[Lift] Re: Modify CRUDify XHTML

2009-06-29 Thread Derek Chen-Becker
If you look at the default _viewTemplate: 1.def _viewTemplate = 2.lift:crud.view 3. table id={viewId} class={viewClass} 4. crud:row 5. tr 6. tdcrud:name//td 7. tdcrud:value//td 8. /tr 9.

[Lift] Re: preso on monadic design patterns for the web

2009-06-29 Thread Timothy Perrett
Just finished watching this - it was an interesting exploration... although id love to hear some thoughts from greg in some distilled form as to how he sees semantic monadic patterns being applicable... Cheers, Tim --~--~-~--~~~---~--~~ You received this message

[Lift] Re: scala-tools.org down

2009-06-29 Thread David Pollak
The answer from CalPop: I just checked the cable and the clip on the RJ45 is missing, I slightly touched the cable and it came loose again. It could be that another colocated customer was working in that area during the time the server went down. On Mon, Jun 29, 2009 at 7:08 AM, Derek

[Lift] Re: scala-tools.org down

2009-06-29 Thread Viktor Klang
C'est sabotage? On Mon, Jun 29, 2009 at 5:58 PM, David Pollak feeder.of.the.be...@gmail.com wrote: The answer from CalPop: I just checked the cable and the clip on the RJ45 is missing, I slightly touched the cable and it came loose again. It could be that another colocated customer was

[Lift] Re: lift presentation

2009-06-29 Thread David Pollak
On Thu, Jun 25, 2009 at 5:24 AM, Jeremy Day jeremy@gmail.com wrote: Guys, I just want to say that I haven't started using Lift yet but I already love it. This community is very supportive and responsive. Keep up the awesome work! Grin! This is the kind of message (and thread) that

[Lift] Re: lift presentation

2009-06-29 Thread Wilson MacGyver
Thank you for the links. I'll be borrowing those too. :) And thanks forthe lift. :) (ducking from incoming tomatoes) On Mon, Jun 29, 2009 at 12:31 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Jun 25, 2009 at 5:24 AM, Jeremy Day jeremy@gmail.com wrote: Guys, I just

[Lift] Re: scala-tools.org down

2009-06-29 Thread David Pollak
On Mon, Jun 29, 2009 at 9:28 AM, Viktor Klang viktor.kl...@gmail.comwrote: C'est sabotage? Nah... it's the you get what you pay for CalPop hosting... mostly awesome... On Mon, Jun 29, 2009 at 5:58 PM, David Pollak feeder.of.the.be...@gmail.com wrote: The answer from CalPop: I just

[Lift] Re: Modify CRUDify XHTML

2009-06-29 Thread David Pollak
On Fri, Jun 26, 2009 at 6:39 PM, Peter Robinett pe...@bubblefoundry.comwrote: Thanks, Derek and Jeppe, your responses were very helpful. I implemented Jeppe's solution and added my own snippet tag within _viewTemplate. Unfortunately, I spent the whole day trying to figure out how pass the

[Lift] Re: JPA, Hibernate, c3p0

2009-06-29 Thread Ryan Donahue
Thanks, there's no rush. I'm starting a week-long vacation tomorrow, so I wouldn't be able to try any changes until then anyway. On Jun 26, 11:20 am, Derek Chen-Becker dchenbec...@gmail.com wrote: I'll look at adding a hook. Derek On Fri, Jun 26, 2009 at 6:43 AM, Ryan Donahue

[Lift] Re: lift presentation

2009-06-29 Thread marius d.
I had it last Thursday ... it was a ~ 40 Java people ...very few (colleagues of mine) that heard and try Scala Lift ... I think it went ok cause I got plenty of questions + some Java jokes about Scala's syntax and principles but I expected that. I guess most of the functional concept are hard

[Lift] Re: Which is newer

2009-06-29 Thread David Pollak
On Sun, Jun 28, 2009 at 7:01 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: Maven seems to think that 1.1-M1 is newer. [1.1-SNAPSHOT, ) uses M1. Dunno... I'd suggest using 1.1-SNAPSHOT so you know what version you're getting. On Sun, Jun 28, 2009 at 7:51 PM, David Pollak

[Lift] Re: preso on monadic design patterns for the web

2009-06-29 Thread Meredith Gregory
Everyone, Thanks for all the positive feedback. Eric Bowman found the link to the slides. Best wishes, --greg On Mon, Jun 29, 2009 at 1:51 AM, Eric Bowman ebow...@boboco.ie wrote: Here? http://svn.biosimilarity.com/src/open/talks/MonadicDesignPatternsForTheWeb.pdf Timothy Perrett wrote:

[Lift] Re: Pagination in lift?

2009-06-29 Thread David Pollak
On Sun, Jun 28, 2009 at 1:06 PM, Timothy Perrett timo...@getintheloop.euwrote: You don't mention if your using JPA or Mapper - if your using mapper then the answer is no we don't have any built in support but its not to difficult to display limited lists. You could grab all the results then

[Lift] Re: how to serve html fragments

2009-06-29 Thread David Pollak
I just pushed a patch that will flip the DocType and ?xml version=1.0 encoding=UTF-8? if the browser is IE6 On Mon, Jun 29, 2009 at 12:20 AM, David Persons dhwpers...@gmail.comwrote: The problem seems to be a known stupid bug in IE6.. see:

[Lift] Re: Error attempting to persist Mapper

2009-06-29 Thread David Pollak
What version of Lift are you using? On Thu, Jun 25, 2009 at 7:33 PM, Jonathan Ferguson j...@spiralarm.comwrote: Hi all, I'm attempting to persist a Mapper used to join two tables. java.lang.NullPointerException: Trying to open an empty Box at

[Lift] Package in snippet tag

2009-06-29 Thread Naftoli Gugenhem
Normally you write the snippet tag lift:MySnippet, and you add my.package to the searched packages. Can you just add my and write the tag lift:package.MySnippet etc.? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Lift] Re: Package in snippet tag

2009-06-29 Thread David Pollak
On Mon, Jun 29, 2009 at 12:24 PM, Naftoli Gugenhem naftoli...@gmail.comwrote: Normally you write the snippet tag lift:MySnippet, and you add my.package to the searched packages. Can you just add my and write the tag lift:package.MySnippet etc.? No... sorry. -- Lift, the simply

[Lift] Re: Pagination in lift?

2009-06-29 Thread Timothy Perrett
Tim, Selecting a subset of stuff with Mapper is pretty simple: Users.findAll(OrderBy(User.id, Ascending), StartAt(50), MaxRows(10)) Oh wow, really didnt know that was possible... i'll shut my jpa-using mouth in future ;-) hehe. Cheers, Tim

[Lift] Re: Which is newer

2009-06-29 Thread Timothy Perrett
Yeah this isnt ideal, but for now just change the version in your pom.xml to be: version[1.1-SNAPSHOT]/version Can you just check that you dont have both releases and snapshot repositories defined in your pom.xml... the M1 release is only in the releases repository so if you remove that as an

[Lift] Java alternatives?

2009-06-29 Thread samreid
My group may not be able to commit to Scala within the next year or so, so I have 2 related questions: (1) What's the best non-Lift framework? We are leaning toward something on the JVM and I've heard David speak fondly of Wicket. (2) Is there any possibility of writing Java source to run

[Lift] Hudson issue

2009-06-29 Thread Derek Chen-Becker
Hudson barfed just now complaining about too many open files: Caused by: java.io.IOException: Cannot run program git (in directory /home/scalatools/hudson/.hud son/jobs/Lift/workspace): java.io.IOException: error=24, Too many open files I've restarted Hudson and it appears to be working now. I'm

[Lift] Re: Hudson issue

2009-06-29 Thread David Bernard
I'd got the problem in previous server. I don't remember the solution (I thought a version of hudson fixed this) Try : * to increase the ulimit of open file for the account running hudson * to diseable build of the mvnsites/javadoc/scaladoc (or move it into an other job) * to cron a daily restart

[Lift] Re: Hudson issue

2009-06-29 Thread Viktor Klang
ulimit -n http://stackoverflow.com/questions/114914/how-do-you-fix-too-many-open-files-problem-in-hudson On Mon, Jun 29, 2009 at 11:15 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Hudson barfed just now complaining about too many open files: Caused by: java.io.IOException: Cannot run

[Lift] Re: Java alternatives?

2009-06-29 Thread David Pollak
Sam, On Mon, Jun 29, 2009 at 1:49 PM, samreid samrr...@gmail.com wrote: My group may not be able to commit to Scala within the next year or so, so I have 2 related questions: Bummer... (1) What's the best non-Lift framework? We are leaning toward something on the JVM and I've heard

[Lift] Re: preso on monadic design patterns for the web

2009-06-29 Thread Jonas Bonér
Thanks 2009/6/29 Eric Bowman ebow...@boboco.ie: Here? http://svn.biosimilarity.com/src/open/talks/MonadicDesignPatternsForTheWeb.pdf Timothy Perrett wrote: +1 would love to read the slides properly. Cheers, Tim On Jun 29, 8:59 am, Jonas Bonér jbo...@gmail.com wrote: Great talk.

[Lift] Re: Error attempting to persist Mapper

2009-06-29 Thread Jonathan A Ferguson
I knew there would be at least one thing I would forget. version 1.0. On 30/06/2009, at 3:51 AM, David Pollak wrote: What version of Lift are you using? On Thu, Jun 25, 2009 at 7:33 PM, Jonathan Ferguson j...@spiralarm.com wrote: Hi all, I'm attempting to persist a Mapper used to

[Lift] Re: Error attempting to persist Mapper

2009-06-29 Thread David Pollak
Fixed in 1.1-SNAPSHOT THere's an ill-fated 1.0.1 that's kinda going nowhere. Is it important to backport it to 1.0.1? On Mon, Jun 29, 2009 at 3:18 PM, Jonathan A Ferguson j...@spiralarm.comwrote: I knew there would be at least one thing I would forget. version 1.0. On 30/06/2009, at 3:51

[Lift] Error With CRUDify's Select Field for MappedLongForeignKey

2009-06-29 Thread Peter Robinett
In my app I have Datacenters which can have many Nodes. Accordingly, I added a foreign key in the Node model to link to its Datacenter. However, when I would go to the create or edit pages it would say Can't change for the field. Based upon an old mailing list post

[Lift] Re: Managed child entities

2009-06-29 Thread Naftoli Gugenhem
I wrote a similar implementation for many-to-many. Again, very untested, but it works as much as I've used it. David suggested I create a project on GitHub where the community can contribute useful code that could then be integrated into lift proper. So far the actual project is empty but it's

[Lift] can a Snippet call a Snippet?

2009-06-29 Thread g-man
I am enhancing the Todo app by adding tags. I have retained the TD.scala snippet to manage the Todos on my page, and added a TG.scala snippet to handle tags on the same page, which works well for creating new and listing in both cases. Now I want to filter my Todos list by a Tag instance I

[Lift] Re: can a Snippet call a Snippet?

2009-06-29 Thread Naftoli Gugenhem
I don't have such a clear picture of what you're trying to do. If you need to refer to the instance of a snippet that exists on the same page, it looks to me like that data is private in S.snippetForClass. Maybe you can nest the Tag tags in the ToDo snippet tag, have it instantiate a Tag

[Lift] Rendering a View from a Snippet

2009-06-29 Thread fbettag
Hey guys, i was wondering how one would go about rendering a View from a Snippet. I guess i could Load the XML, but i am not sure if this is the best way. Also if it is, what would be the best way to get the path to the view? best regards --~--~-~--~~~---~--~~

[Lift] Re: Rendering a View from a Snippet

2009-06-29 Thread fbettag
Argh, i forgot something ;) The idea is to load several views and return them as one. On Jun 30, 6:05 am, fbettag fr...@bett.ag wrote: Hey guys, i was wondering how one would go about rendering a View from a Snippet. I guess i could Load the XML, but i am not sure if this is the best way.

[Lift] Re: Error attempting to persist Mapper

2009-06-29 Thread Jonathan A Ferguson
It would be nice, is it a lot of effort to backport to 1.0.1 ? What is the state of 1.1 - If we stick with 1.0 functionality should APIs be fixed? I'll become an endangered species if I move us otherwise. Jono On 30/06/2009, at 9:50 AM, David Pollak wrote: Fixed in 1.1-SNAPSHOT THere's

[Lift] grabbing rss or other type of feeds within lift

2009-06-29 Thread Mark Essel
trying to conjure up a similar functioning piece of code in scala to grab my status from twitter. (php) $username = victusfate; $feed = http://search.twitter.com/search.atom?q=from:; . $username . rpp=1; //echo $feed; function parse_feed($feed) { $stepOne = explode(content type=\html\,

[Lift] Problem with jQuery/JavaScript and Liftweb because of Doctype

2009-06-29 Thread fbettag
Hey guys, i've been having troubles with jQuery and Firefox/Safari due to the missing Doctype all night long: Uncaught exception: [Exception... Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLElement.innerHTML]“ nsresult: “0×80004003