[Lift] Re: non-Lazy evaluation of bind FuncBindParam functions?

2010-03-10 Thread Stuart Roebuck
Thanks for the feedback. I'm not trying to be awkward here, just trying to get my head around everything. Oh, and I completely agree with the risks of premature optimisation. Thanks, Stuart On Mar 10, 5:03 pm, David Pollak wrote: > On Wed, Mar 10, 2010 at 7:22 AM, Stuart Roebuck

[Lift] Re: non-Lazy evaluation of bind FuncBindParam functions?

2010-03-10 Thread Stuart Roebuck
the code above to: bind("example",xhtml, FuncBindParam("first_name", () => SHtml.text(user.first_name, user.first_name(_)), FuncBindParam("last_name", () => SHtml.text(user.last_name, user.last_name(_)) to get a form of lazy evaluation. On Mar 10, 11:0

[Lift] non-Lazy evaluation of bind FuncBindParam functions?

2010-03-10 Thread Stuart Roebuck
I've been trying to figure why some binding is giving me a stack overflow and I've discovered that if you use the BindHelpers.bind method with a set of function BindParams, all the functions are evaluated regardless of whether a match is found. So, for example, if you bind to an empty NodeSeq and

[Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
Thanks Ross and David… the code seems to be working great now. Stuart. On Mar 9, 10:16 pm, David Pollak wrote: > On Tue, Mar 9, 2010 at 1:11 PM, Stuart Roebuck > wrote: > > > Once again, thanks for all of this.  I will now go away and > > contemplate it all. > >

[Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
tml takes the given NodeSeq and does all the appropriate magics to > process lift: tags and then converts the NodeSeq to valid XHTML. > > >>> } > > And don't forget the security implications! > > Hope that helps, > -Ross > > On Mar 9, 2010, at 12:30 PM, Stuar

[Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
ersonally, I'd suggest "jQuery(" + AltXML.toXML(nodeSeq, false, > > true).encJs + ")" > > > Thanks, > > > David > > > Then JQueryNodeSeq(ns) ~> JsFunc("dialog") > > > -Ross > > > On Mar 9, 2010, at 12:06 PM,

[Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
> > ns)).toJsCmd + ")" > > } > > > Then JQueryNodeSeq(ns) ~> JsFunc("dialog") > > > -Ross > > > On Mar 9, 2010, at 12:06 PM, Stuart Roebuck wrote: > > >> I'm trying to produce a web page with editable content. > >

[Lift] NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
I'm trying to produce a web page with editable content. When the user clicks an edit button on a line it uses jQuery to display a modal dialog which allows fields of that line to be edited. I can easily produce a snippet to produce the lines using the backend data and an XHTML template and bindin

[Lift] Re: superficial first impressions from a rails junkie

2010-03-06 Thread Stuart Roebuck
Thank you for writing your comments. As most have said in the thread, honest feedback is valuable if not essential and often hard to come by, so please don't be put off by the odd negative response. I'm fairly newbie here too and share some of your concerns about Lift. For what it's worth I thou

[Lift] Re: New logging code is in master

2010-03-04 Thread Stuart Roebuck
Trying this on 2.8 with the 2.8 Lift Snapshot. The Logger trait seems to work fine though looking at the code I can't see how setup gets called. The Loggable trait is throwing a null pointer exception. I'm using Log4J. Stuart. P.S. I don't want to mess with other people's wiki pages, but I wo

[Lift] Re: Documenting the source code / supplementing the API docs

2010-02-26 Thread Stuart Roebuck
Okay - I've added a page to the wiki:   http://wiki.github.com/dpp/liftweb/sitemap-basics On Feb 26, 11:20 am, Stuart Roebuck wrote: > Tim, > > Thanks - that sounds like a good idea. > > Stuart. > > On 26 Feb 2010, at 10:50, Timothy Perrett wrote: > > &

Re: [Lift] Re: Documenting the source code / supplementing the API docs

2010-02-26 Thread Stuart Roebuck
Tim, Thanks - that sounds like a good idea. Stuart. On 26 Feb 2010, at 10:50, Timothy Perrett wrote: > Stuart, > > You can still contribute to the wiki and of your findings or musings - > that is totally open. > > Cheers, Tim -- You received this message because you are subscribed to the Go

[Lift] Re: Documenting the source code / supplementing the API docs

2010-02-26 Thread Stuart Roebuck
st producer or consumer of docs, so > my voice is a small one on this issue, other than to give hearty thanks to > those who write documentation. > > On Mon, Feb 22, 2010 at 1:05 PM, Stuart Roebuck > wrote: > > > > > > > Great... okay, I’d better do some wri

Re: [Lift] Re: Documenting the source code / supplementing the API docs

2010-02-22 Thread Stuart Roebuck
eone on the team would need to >> own this and merge your documentation changes into the master (provided DPP >> has no objections to this - seeing as its documentation I doubt he has) >> >> Any takers from the team? >> >> Cheers, Tim >> >&

Re: [Lift] Re: Documenting the source code / supplementing the API docs

2010-02-22 Thread Stuart Roebuck
ny takers from the team? > > Cheers, Tim > > On 22 Feb 2010, at 16:14, Stuart Roebuck wrote: > >> Sorry for the slow response—was away for a family weekend! >> >> I have limited knowledge of Lift internals… >> >> However, my view is that it is often eas

[Lift] Re: Documenting the source code / supplementing the API docs

2010-02-22 Thread Stuart Roebuck
gt; > should be, I can work with you reviewing the patches and applying them. > > > But, need to get a concordance from the list on the content first. > > > -Ross > > > On Feb 19, 2010, at 10:53 AM, Stuart Roebuck wrote: > > >> I've had a bit of a break f

[Lift] Documenting the source code / supplementing the API docs

2010-02-19 Thread Stuart Roebuck
I've had a bit of a break from Lift and coming back I find myself annoyed that I didn't write some notes last time and am having to go back to searching through the various bits of documentation to figure things out. Anyway, after much thought I decided that the best way to write my notes would be

[Lift] Re: Scheduling the San Francisco Scala Lift Off

2010-01-13 Thread Stuart Roebuck
Or Edinburgh? :-) On Jan 13, 12:22 pm, Mads Hartmann wrote: > Was is 'Scala Lift Off' ? > I live in Denmark so i might be able to make it in either London or > Norway :) > > On Jan 13, 12:32 pm, Miles Sabin wrote: > > > > > On Wed, Jan 13, 2010 at 3:31 AM, David Pollak > > > wrote: > > > For th

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Stuart Roebuck
; given up up the Scala Actors library. I need the things Akka > implements now and don't have time to wait indefinitely. > > > > > - Josh > > > > On Tue, Sep 29, 2009 at 1:41 PM, David Pollak > > wrote: > >> > >> > >> On T

[Lift] Re: Removing Scala Actors from Lift

2009-09-29 Thread Stuart Roebuck
Okay, I think I've now found the reference I was looking for... <http://mail-archives.apache.org/mod_mbox/incubator-esme-dev/ 200905.mbox/ %3ccdbebedf0905220957k7767c05emc0b6fb7812f1f...@mail.gmail.com%3e> Stuart. On Sep 29, 10:35 am, Stuart Roebuck wrote: > Apologies if I'

[Lift] Re: Removing Scala Actors from Lift

2009-09-29 Thread Stuart Roebuck
Apologies if I've missed something obvious but my web search hasn't turned anything up... What are the Scala Actors instability issues? I'm in the process of doing some major Scala development work and this comment raises concerns that I'd like to understand. Best, Stuart On Sep 29, 3:30 am, D

[Lift] Re: 1.0.2 released

2009-09-11 Thread Stuart Roebuck
1.0.2 has certainly fixed the problem for me which I had encountered in 1.0.1. Stuart. On Sep 11, 6:39 pm, David Pollak wrote: > Did you update your pom.xml file to set the lift version to 1.0.2? > I just created a new project with 1.0.2 and it does not display this issue. > > > > > > On Thu, S

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread Stuart Roebuck
I've switched a very simple test project from 1.0 to 1.0.1 and switched the scala version to 2.7.5 Now I've started seeing the following in my jetty log: ERROR - [MEMDEBUG] failure java.lang.NoSuchFieldException: refSet at java.lang.Class.getDeclaredField(Class.java:1882) at net.

[Lift] Re: Lift 1.1-SNAPSHOT under Scala 2.8 with NetBeans and the Scala plugin

2009-09-05 Thread Stuart Roebuck
g to be a little while before it all works (we > need to get ScalaCheck working first and that's on one of Paul's branches). > > So, please use Lift with Scala 2.7.5. > > On Fri, Sep 4, 2009 at 3:26 PM, Stuart Roebuck > wrote: > > > > > > > > > Bei

[Lift] Lift 1.1-SNAPSHOT under Scala 2.8 with NetBeans and the Scala plugin

2009-09-04 Thread Stuart Roebuck
Being on the bleeding edge again, I'm trying to do some Lift stuff using the nice new Scala plugin for NetBeans. However, this appears to require me to be working under the latest Scala 2.8 release. So, I have downloaded the Lift sources and built 1.1-SNAPSHOT under Scala 2.8. Everything compil