[Lift] Incomplete Site: Missing JavaDoc

2009-03-04 Thread Paul Stickney
I don't mean to be incredibly picky, but the LiftWeb site is /NOT/ doing any justice to the LiftWeb framework. At the very least I would expect working online JavaDoc. (http://scala-tools.org/mvnsites/liftweb/ right now appears to be much nothing) Even throwing an older/less pretty javadoc (I

[Lift] Re: [Jersey] jersey as filter

2009-03-04 Thread Viktor Klang
Greg, have you tried Jersey completely standalone and verified that it's working? Cheers, Viktor On Wed, Mar 4, 2009 at 12:08 AM, Meredith Gregory lgreg.mered...@gmail.comwrote: Viktor, et al, Well, i've scoped things down to just running the Jersey helloworld-webapp sample in jetty with

[Lift] Re: url encoded javascript

2009-03-04 Thread Viktor Klang
If you use jQuery it's even simpler: jQuery.getScript(http://foo.com/js/markCurrent.js?marklet=1234http://foo.com/js/markCurrent.js?marklet=1234%27%29;document.getElementsByTagName%28%27head%27%29%5B0%5D.appendChild%28e%29%7D%29%28 ) On Wed, Mar 4, 2009 at 2:21 AM, Lee Mighdoll

[Lift] Re: Tracking the latest with maven.. but not too quickly

2009-03-04 Thread Josh Suereth
David, great suggestion! I recommend either Archiva http://archiva.apache.org/ or Nexushttp://nexus.sonatype.org/for corporate or 'intranet' repositories. If you're using maven for any corporation and you don't have a corporate repository, you're certainly missing out! We're using Archiva at

[Lift] Actors in Lift

2009-03-04 Thread debasish
Dear All - I have had a look at Lift quite some time ago. I remember referring to this excellent post by David Pollak on the usage of actors in Lift (http://blog.lostlake.org/index.php?/archives/59-How-lift-uses-Scala- actors.html). Now that I am looking at the code base after quite some time, I

[Lift] Re: Incomplete Site: Missing JavaDoc

2009-03-04 Thread Timothy Perrett
On a related note, whilst we appreciate this is not ideal for new users (right now), we are trying to make it better as Jorge says. The flip side of this is that whilst its more difficult to consolidate API documentation with the maven modules, its a lot more modular which is actually better for

[Lift] Re: Actors in Lift

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 7:59 AM, debasish ghosh.debas...@gmail.com wrote: Dear All - I have had a look at Lift quite some time ago. I remember referring to this excellent post by David Pollak on the usage of actors in Lift (http://blog.lostlake.org/index.php?/archives/59-How-lift-uses-Scala-

[Lift] IDE

2009-03-04 Thread Paulo Cheque
What IDE do you use to develop lift applications? Eclipse? NetBeans? I want to use Scala regurlarly, but Eclipse plugin is too bugged... Thanks in advance.. []s Paulo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Lift] Re: IDE

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 8:14 AM, Paulo Cheque pauloche...@gmail.com wrote: What IDE do you use to develop lift applications? Eclipse? NetBeans? I want to use Scala regurlarly, but Eclipse plugin is too bugged... I use NetBeans. Some folks have had good experiences with IntelliJ. I'm meeting

[Lift] Re: IDE

2009-03-04 Thread Timothy Perrett
Paulo, Lots of people use netbeans and eclipse. Im sure if you have issues with the eclipse plugin its maintainers would love bug reports :-) Otherwise, I know a lot of use (myself included) just use TextMate with a compiler open in a terminal window which works great. Hope that helps Tim On

[Lift] Re: IDE

2009-03-04 Thread Kris Nuttycombe
NetBeans works well for me. I've always found that NetBeans's Maven integration is superior to that for Eclipse, and the fact that the Scala plugin interoperates smoothly with the Maven integration is a big plus for me. The Scala autocomplete functionality and automatic syntax checking in NetBeans

[Lift] Re: IDE

2009-03-04 Thread Kris Nuttycombe
Oh, and one more thing about NetBeans - if you, like me, have vi hardwired into your nervous system, the jvi plugin (http://jvi.sourceforge.net) for NetBeans is a HUGE win. A fully featured vi in the editor window + NetBeans autocomplete, refactoring support, etc is bliss. Kris On Wed, Mar 4,

[Lift] Re: IDE

2009-03-04 Thread Paulo Cheque
It would be amazing to use Scala with JUnitMax plugin in Eclipse. Untill now, JUnitMax support only Java, but I believe this is not hard to change. I believe that if Kent Beck has more time he will implement that. But I will try NetBeans! Thanks []s Paulo On Wed, Mar 4, 2009 at 1:27 PM, Kris

[Lift] Re: Actors in Lift

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 8:26 AM, debasish ghosh.debas...@gmail.com wrote: David - Thanks a lot for the clear explanation. Just curious - do you think the previous implementation philosophy of controllers, sessions and pages as actors with state changes being done only through messages was

[Lift] Re: [Jersey] jersey as filter

2009-03-04 Thread Meredith Gregory
Viktor, Thanks for your note. i got things more or less working. See this thread: jersey and lift side-by-side + request for link to URL rewrite exampleBest wishes, --greg On Wed, Mar 4, 2009 at 1:35 AM, Viktor Klang viktor.kl...@gmail.com wrote: Greg, have you tried Jersey completely

[Lift] Re: [Jersey] jersey as filter

2009-03-04 Thread Viktor Klang
Awesome Greg, I'm sorry I wasn't of much help :( On Wed, Mar 4, 2009 at 5:50 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Viktor, Thanks for your note. i got things more or less working. See this thread: jersey and lift side-by-side + request for link to URL rewrite exampleBest

[Lift] Re: Actors in Lift

2009-03-04 Thread debasish
Thanks again for the cool details. I now get it. Thanks. - Debasish On Mar 4, 9:48 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Mar 4, 2009 at 8:26 AM, debasish ghosh.debas...@gmail.com wrote: David - Thanks a lot for the clear explanation. Just curious - do you think

[Lift] Re: Record and JSON

2009-03-04 Thread marius d.
:) .. ok ... let me noodle for while on this and I'll get back with more details ... perhaps a POC On Mar 4, 7:11 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Mar 4, 2009 at 9:08 AM, Marius marius.dan...@gmail.com wrote: Hi, I was thinking that it might be useful to be

[Lift] Re: Is there a reason why the getting started PDF is for version 0.1.0?

2009-03-04 Thread Derek Chen-Becker
FYI, it's fixed on the site. On Tue, Mar 3, 2009 at 8:21 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Attached is an updated version. Can someone please put this up on static.liftweb.net? Derek- Show quoted text - On Tue, Mar 3, 2009 at 8:05 AM, Derek Chen-Becker

[Lift] Re: Record and JSON

2009-03-04 Thread Timothy Perrett
Interesting thread. Whats going on with Record at the moment? Now 1.0 is out, will attention shift back to making record the primary persistence mech in lift? (sorry for the thread hi-jack) Cheers, Tim On Mar 4, 5:20 pm, marius d. marius.dan...@gmail.com wrote: :) .. ok ... let me noodle for

[Lift] Re: Testing Help for Oracle?

2009-03-04 Thread Derek Chen-Becker
The column type for the MappedDateTime is TIMESTAMP by default, so it should save hour, minute, second, etc. Are you using an existing schema or using Schemifier to generate it? If it's the latter, can you provide a code snippet showing where you set the timestamp on your mapper instance? As for

[Lift] Re: Record and JSON

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 9:40 AM, Timothy Perrett timo...@getintheloop.euwrote: Interesting thread. Whats going on with Record at the moment? Now 1.0 is out, will attention shift back to making record the primary persistence mech in lift? (sorry for the thread hi-jack) We'll chat about that

[Lift] Re: url encoded javascript

2009-03-04 Thread Lee Mighdoll
That would be nice, and would work on the page containing the link, but not for a bookmarklet. With bookmarklets, the user drags the link to the browser bookmark menu or bookmark bar. Then the bookmarklet runs in the context of whatever page they're currently looking at. Lee On Wed, Mar 4,

[Lift] SHtml.ajaxInvoke

2009-03-04 Thread Joachim A.
I noticed that SHtml.ajaxInvoke now return a Tuple2(String, JsExp). What should / can I do with the first param? The source code tells me it's Lift's name for the function, but I'm unsure how I should do with it. Thanks, Joachim --~--~-~--~~~---~--~~ You

[Lift] Re: SHtml.ajaxInvoke

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 10:28 AM, Joachim A. wallaby.po...@googlemail.comwrote: I noticed that SHtml.ajaxInvoke now return a Tuple2(String, JsExp). What should / can I do with the first param? The source code tells me it's Lift's name for the function, but I'm unsure how I should do with

[Lift] Re: url encoded javascript

2009-03-04 Thread Lee Mighdoll
thx - I'll keep an eye out for that. I think IE had a max url length of 2K or so, but I'll watch our for maximum attribute lengths as well. The basic idea is to use the bookmarklet to load and insert a larger script -- so hopefully it can stay small. Lee On Wed, Mar 4, 2009 at 10:37 AM, David

[Lift] Re: url encoded javascript

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 11:09 AM, Lee Mighdoll leemighd...@gmail.com wrote: thx - I'll keep an eye out for that. I think IE had a max url length of 2K or so, but I'll watch our for maximum attribute lengths as well. The basic idea is to use the bookmarklet to load and insert a larger script

[Lift] Re: IDE

2009-03-04 Thread Miles Sabin
On Wed, Mar 4, 2009 at 4:19 PM, David Pollak feeder.of.the.be...@gmail.com wrote: I'm meeting with Miles Sabin in London next week to work with him on hardening the Eclipse plugin for Lift-related use. Umm ... I think the concept of hardening the plugin left the theatre along with Sean ;-)

[Lift] Re: IDE

2009-03-04 Thread Miles Sabin
On Wed, Mar 4, 2009 at 4:30 PM, Paulo Cheque pauloche...@gmail.com wrote: It would be amazing to use Scala with JUnitMax plugin in Eclipse. Untill now, JUnitMax support only Java, but I believe this is not hard to change. I believe that if Kent Beck has more time he will implement that. I'd

[Lift] Awesome Scala, Lift, EMSE, and Buy a Feature press

2009-03-04 Thread David Pollak
http://www.adtmag.com/article.aspx?id=24080 -- 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: http://github.com/dpp --~--~-~--~~~---~--~~ You

[Lift] Re: url encoded javascript

2009-03-04 Thread Lee Mighdoll
That's basically what the link above does -- hard to read in compressed form. :-). The server sends an arbitrarily script that's inserted and executed in the document that the user is currently viewing. The inserted script does the real work. The marklet parameter is issued per user, for

[Lift] i can haz scala xml???

2009-03-04 Thread Meredith Gregory
Sir and Dame Scalahads, i was attempting to do something really simple-minded with scala.xml._ and it didn't perform according to Burak's tutorial. So, any clues about the following would be greatly appreciated. - When i type the following into Scala version 2.7.2.final repl, it all works

[Lift] Re: [scala] i can haz scala xml???

2009-03-04 Thread Meredith Gregory
David, Thanks, but not quite. Unfortunately, i do not know the name of the tag. i have to compute it. So, your soln won't work. As i mentioned in my email, the following {computeTag(context)}{computeTagContents(context)}/{computeTag(context} is a scheme for what i'd like to do, but it's

[Lift] Re: [scala] i can haz scala xml???

2009-03-04 Thread David Pollak
scala fubar5/bar/fu res0: scala.xml.Elem = fubar5/bar/fu scala fu{(1 to 3).map(i = item{i}/item)}/fu res1: scala.xml.Elem = fuitem1/itemitem2/itemitem3/item/fu Does that give you what you want (XML literals are part of the language) On Wed, Mar 4, 2009 at 1:10 PM, Meredith Gregory

[Lift] Re: Awesome Scala, Lift, EMSE, and Buy a Feature press

2009-03-04 Thread TylerWeir
Excellent stuff! On Mar 4, 2:55 pm, David Pollak feeder.of.the.be...@gmail.com wrote: http://www.adtmag.com/article.aspx?id=24080 -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git

[Lift] Re: [scala] i can haz scala xml???

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 1:16 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: David, Thanks, but not quite. Unfortunately, i do not know the name of the tag. i have to compute it. So, your soln won't work. As i mentioned in my email, the following

[Lift] Re: [scala] i can haz scala xml???

2009-03-04 Thread Meredith Gregory
David, Thanks for the attention to the problem. i resolved the issue. There was a missing param in my programmatic call: cut-n-pasto. Best wishes, --greg On Wed, Mar 4, 2009 at 2:03 PM, David Pollak feeder.of.the.be...@gmail.comwrote: On Wed, Mar 4, 2009 at 1:16 PM, Meredith Gregory

[Lift] I would Love to see JSR 168/ 268 Portlet Support

2009-03-04 Thread abut
Having evaluated by Grails and Lift, and being about ready to start a project, the only thing that inclines me to Grails is the portlet support. Is such a thing on the Lift roadmap? If not, how big a effort might it be to implement such support? My project will have substantial resources and

[Lift] Re: I would Love to see JSR 168/ 268 Portlet Support

2009-03-04 Thread David Pollak
Robert, Lift does not currently support the Portlet spec... but it would be easy to add portlet support to Lift... because Lift's rendering machinery is an abstraction that's very close to the Portlet spec. So... we're currently working on the priorities for Lift 1.1. If your project decision

[Lift] documentation for structural/partial type bounds

2009-03-04 Thread Meredith Gregory
Dam and Sir Scalahads, Where is the documentation for the structural/partial type syntax? i want to express a bound on a type that says it has to at least have method m with signature sig. Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC 806 55th St NE Seattle, WA 98105

[Lift] Re: [scala] documentation for structural/partial type bounds

2009-03-04 Thread David Pollak
scala def doClose(in: {def close(i: Int): Unit}) {in.close(42)} doClose: (AnyRef{def close(Int): Unit})Unit On Wed, Mar 4, 2009 at 3:26 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Dam and Sir Scalahads, Where is the documentation for the structural/partial type syntax? i want to

[Lift] Re: [scala] documentation for structural/partial type bounds

2009-03-04 Thread Meredith Gregory
David, Thanks! Best wishes, --greg On Wed, Mar 4, 2009 at 3:46 PM, David Pollak feeder.of.the.be...@gmail.comwrote: scala def doClose(in: {def close(i: Int): Unit}) {in.close(42)} doClose: (AnyRef{def close(Int): Unit})Unit On Wed, Mar 4, 2009 at 3:26 PM, Meredith Gregory

[Lift] Re: [scala] documentation for structural/partial type bounds

2009-03-04 Thread Meredith Gregory
Szymon, That's pretty nifty. Best wishes, --greg On Wed, Mar 4, 2009 at 3:54 PM, Szymon Jachim sjac...@gmail.com wrote: What surprised me recently is that you can use these in asInstanceOf: x.asInstanceOf[ {def aMethod(i: Int): Unit} ].aMethod(888) Interesting way to do reflective

[Lift] Re: [scala] documentation for structural/partial type bounds

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 3:54 PM, Szymon Jachim sjac...@gmail.com wrote: What surprised me recently is that you can use these in asInstanceOf: x.asInstanceOf[ {def aMethod(i: Int): Unit} ].aMethod(888) Holy frickin' cow... that's cool Interesting way to do reflective calls... On Thu,

[Lift] Tutorial No Schemify in Boot.scala

2009-03-04 Thread jeff.chen.gr...@gmail.com
Hi All - I am new and pardon me if this is really a naive question. I am following GetStartedGuide and working on the todo app. However in 2.4, I cannot find the Schemifier statement in the Boot.scala file. Did I miss anything? I also didn't find the part on how to connect Lift with a backend

[Lift] Re: IDE

2009-03-04 Thread Caoyuan
I'm currently using Scala for NetBeans to develop Erlang plugins for NetBeans, I'm continually improving it as I'm the daily user too. Hope to release a new one when NetBeans 6.7 is released. Bug reports can be put on issue track which link can be found in http://wiki.netbeans.org/Scala

[Lift] Re: Tutorial No Schemify in Boot.scala

2009-03-04 Thread TylerWeir
Hi Jeff, I just downloaded the pdf. If you look for section 2.4 named Boot and Schemifier you'll see: Listing 2.4: Updated Schemifier line Schemifier.schemify(true, Log.infoF _, User, ToDo) Does that help? Ty On Mar 4, 9:12 pm, jeff.chen.gr...@gmail.com jeff.chen.gr...@gmail.com wrote: Hi

[Lift] Re: Tutorial No Schemify in Boot.scala

2009-03-04 Thread Jeff Chen
Thanks for the reply - but my problem is that I cannot seem to find Listing 2.3 in my Boot.scala to replace with Listing 2.4. Do I simply add this statement somewhere? Jeff On Wed, Mar 4, 2009 at 9:54 PM, TylerWeir tyler.w...@gmail.com wrote: Hi Jeff, I just downloaded the pdf. If you look

[Lift] Re: Tutorial No Schemify in Boot.scala

2009-03-04 Thread Eric Lavigne
Jeff, I am assuming that you are referring to Starting with Lift by Chen-Becker, Danciu, Pollak, and Weir. Chapter 1 introduces a simple application that is created from lift-archetype-blank and has no support for databases. In Chapter 2, that application is thrown away and a new application is

[Lift] Re: IDE

2009-03-04 Thread Paul Stickney
Paulo, I use the Eclipse Scala Plugin; the continuous build integration is a major factor to me in selecting it over the NB plugin (but I haven't used NB in several months now). If you do use, it, I would recommend keeping up with the /latest/ 2.8.0.whatever development snapshot (or at least

[Lift] Re: Fwd: unexpected crashing behavior...

2009-03-04 Thread Eric Willigers
Meredith Gregory wrote: trait XMLRenderer[T ...] { else if (value.isInstanceOf[T]) This test won't work - T is erased, it is not available at runtime. You might have received a compiler warning. --~--~-~--~~~---~--~~ You received this message because

[Lift] 1.1 lift idea: sync

2009-03-04 Thread Lee Mighdoll
I've been thinking about browser-server data sync for use in my next project. Sync is potentially more interesting than RPC style ajax, especially for rich clients, and I think sync could be a grand thing to add to lift. The basic idea is like this. A javascript client subscribes to a set of

[Lift] Re: [scala] Re: Fwd: unexpected crashing behavior...

2009-03-04 Thread Meredith Gregory
Eric, Thanks for your note. If you look at the previous version of the code -- lower down in the thread -- there is no use of generics -- and i still get the crashing behavior. Best wishes, --greg On Wed, Mar 4, 2009 at 9:36 PM, Eric Willigers ewillig...@gmail.com wrote: Meredith Gregory