[Lift] Re: customizing my SiteMap

2009-06-29 Thread David Persons
Thank Bryan, exactly what I needed! David On 29 jun, 02:21, Bryan wrote: > Oops.  I forgot to add "home" into the menu. > > Usage: > >   >     default="home" localize="true"> >       >       >       >       >       >     >   > > > On Jun 28, 8:08 pm, Bryan wrote: > > > Hi David, > >

[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 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 strict doctype set > cor

[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 wrote: > All, > > The talk i recently gave on this topic is now available > online > . > > Best wishes, > > --greg > > -- > L.G. Meredith > Managing Partner > Biosimilarity LLC > 1219 NW 83r

[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 : > All, > > The talk i recently gave on this topic is now available online. > > Best wishes, > > --greg > > -- > L.G. Meredith > Managing Partner > Biosimilarity LLC > 1219 NW 83rd St

[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 wrote: > Great talk. Thanks. > Could you post the slides? It was a bit hard to see them. > /Jonas > > 2009/6/29 Meredith Gregory : > > > > > > > All, > > > The talk i recently gave on this topic is now availa

[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 improv

[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 wrote: > >> Great talk. Thanks. >> Could you post the slides? It was a bit hard to see t

[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 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 requests > being

[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 wrote: > All, > > The talk i recently gave on this topic is now available > online

[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 n

[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 wrote: > 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 yet to experi

[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 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 s

[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 De

[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 wrote: > > > On Mon, Jun 29, 2009 at 2:48 PM, Christos KK Loverdos > wrote: > >> This is one of the presentations after (or during) which on

[Lift] Re: scala-tools.org down

2009-06-29 Thread Jeremy Day
David, On Mon, Jun 29, 2009 at 8:28 AM, David Pollak 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 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 get the al

[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 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 dont work on the GAE;

[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 wrote: > > > On Mon, Jun 29, 2009 at 6:39 AM, Jeremy Day 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

[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 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 2:10 PM, Viktor Klang wrote:

[Lift] Re: Modify CRUDify XHTML

2009-06-29 Thread Derek Chen-Becker
If you look at the default _viewTemplate: 1.def _viewTemplate = 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. You'll see that it uses the binding tags of , , and . Those are used to fi

[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 be

[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 Chen-Beck

[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 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 working in that area during t

[Lift] Re: lift presentation

2009-06-29 Thread David Pollak
On Thu, Jun 25, 2009 at 5:24 AM, Jeremy Day 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 makes coming home

[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 wrote: > >> Guys, >> >> I just want to

[Lift] Re: scala-tools.org down

2009-06-29 Thread David Pollak
On Mon, Jun 29, 2009 at 9:28 AM, Viktor Klang wrote: > 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 checked

[Lift] Re: Modify CRUDify XHTML

2009-06-29 Thread David Pollak
On Fri, Jun 26, 2009 at 6:39 PM, Peter Robinett wrote: > > 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 current CRUDified ob

[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 wrote: > I'll look at adding a hook. > > Derek > > On Fri, Jun 26, 2009 at 6:43 AM, Ryan Donahue wrote: > > > I'm using JPA an

[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 wrote: > 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 < > feeder.of.the.be...@gmail.co

[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 wrote: > > Here? > > http://svn.biosimilarity.com/src/open/talks/MonadicDesignPatternsForTheWeb.pdf > > Timothy Perrett wrote: > > +1 woul

[Lift] Re: Pagination in lift?

2009-06-29 Thread David Pollak
On Sun, Jun 28, 2009 at 1:06 PM, Timothy Perrett wrote: > > 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 do some manipulat

[Lift] Re: how to serve html fragments

2009-06-29 Thread David Pollak
I just pushed a patch that will flip the DocType and if the browser is IE6 On Mon, Jun 29, 2009 at 12:20 AM, David Persons wrote: > > 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 wrote: > >

[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 wrote: > > Hi all, > I'm attempting to persist a Mapper used to join two tables. > > java.lang.NullPointerException: Trying to open an empty Box >at net.liftweb.util.EmptyBox.open_$bang(Box.scala:370)

[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 Grou

[Lift] Re: Package in snippet tag

2009-06-29 Thread David Pollak
On Mon, Jun 29, 2009 at 12:24 PM, Naftoli Gugenhem wrote: > > 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 functional

[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: [1.1-SNAPSHOT] 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 option then it wo

[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 under

[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.

[Lift] Re: Java alternatives?

2009-06-29 Thread Viktor Klang
Greetings SAm, thanks for you e-mail! My reply is in the text below: On Mon, Jun 29, 2009 at 10:49 PM, samreid wrote: > > 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 >

[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 o

[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 wrote: > Hudson barfed just now complaining about too many open files: > > Caused by: java.io.IOException: Cannot run program "git" (in d

[Lift] Re: Java alternatives?

2009-06-29 Thread David Pollak
Sam, On Mon, Jun 29, 2009 at 1:49 PM, samreid 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 David speak f

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

2009-06-29 Thread Jonas Bonér
Thanks 2009/6/29 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 wrote: >> >>> Great talk. Thanks. >>> Could y

[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 > wrote: > > Hi all, > I'm attempting to persist a Mapper used to join two table

[Lift] Re: Java alternatives?

2009-06-29 Thread Naftoli Gugenhem
But if your team already has a bit of scala knowledge and is planning to transition gradually, I wonder if you could write the lift-specific parts in scala and delegate the logic to java code. - David Pollak wrote: Sam, On Mon, Jun 29, 2009 at 1:49 PM, samr

[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 wrote: > I knew there would be at least one thing I would forget. > version 1.0. > > > > On 30/06/2009, at 3:51 AM, David Po

[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 (http://groups.google.com/grou

[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 selec

[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 instan

[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 --~--~-~--~~~---~--~~ You

[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 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. Also if it

[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'

[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("", $feed); $ste

[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 (NS_ERROR_INVALID_POINTER

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

2009-06-29 Thread fbettag
On Safari i get "Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7". This seems to be a safari 4 specific problem due to content-type text/ html+xml. See http://groups.google.com/group/jquery-en/browse_thread/thread/de95e8adf9c0ffb7 On Jun 30, 7:39 am, fbettag wrote: > Hey guys, i've been hav