[Lift] Re: JTA

2009-05-30 Thread Josh Suereth
Unfortunately, I'm still living in EJB land, and therefore would prefer something to bridge the gap (between legacy and new code). Goatrodeo looks very exciting, but something for our next new component. I actually had a layer I was using between our EJB beans + LIft that perhaps with some time I

[Lift] Re: Vscaladoc not grokking new documentation

2009-05-30 Thread Timothy Perrett
Just an off the wall shot, but do the entities have to be encoded? E.g. < and > Thanks, Tim On 29/05/2009 20:13, "Derek Chen-Becker" wrote: > I've been adding a lot of expanded documentation to S and I just noticed that > there are whole sections that are disappearing. For instance, I provide

[Lift] Scala compiler plugin for jEdit

2009-05-30 Thread vseryakov
Hello, This is my first post here and actually my first Scala program. While learning Lift and Scala and trying to choose the right editor to use i developed what i think can be useful tool in Scala development. This plugin embeds the Scala compiler and reuses it for compilation without executing

[Lift] Re: Ideas for an ordered list in a form

2009-05-30 Thread Joe Wass
Bump. I'm interested in this too. On May 28, 10:01 pm, Derek Chen-Becker wrote: > Oops. I meant to give the link to Tapestry so that people could see what I'm > talking about (image toward the middle of the page): > > http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tap... > > D

[Lift] Re: How important is AJAX to you?

2009-05-30 Thread maku
On 30 Mai, 01:19, Meredith Gregory wrote: > > Frameworks like Lift can alleviate some of the problem, but you really need > a good, statically typed language on the client side. A few people are > beginning to take this problem on. It'd be great to see a ScalaScript for > rich client-side experie

[Lift] JavaScript interface to Comet

2009-05-30 Thread Xavi Ramirez
Hello, I was wondering if Lift provides a javascript interface to comet? Ideally it would look something like this: lift.getComet("comet-name").addListener(callback); // callback takes a json object lift.getComet("comet-name").postMessage(jsonObj); Thanks, Xavi --~--~-~--~~

[Lift] Scala compiler plugin for jEdit

2009-05-30 Thread vseryakov
Hello, This is my first post here and actually my first Scala program. While learning Lift and Scala and trying to choose the right editor to use i developed what i think can be useful tool in Scala development. This plugin embeds the Scala compiler and reuses it for compilation without executing

[Lift] Scala compiler plugin for jEdit

2009-05-30 Thread vseryakov
Hello, This is my first post here and actually my first Scala program. While learning Lift and Scala and trying to choose the right editor to use i developed what i think can be useful tool in Scala development. This plugin embeds the Scala compiler and reuses it for compilation without executing

[Lift] Scala compiler plugin for jEdit

2009-05-30 Thread vseryakov
Hello, This is my first post here and actually my first Scala program. While learning Lift and Scala and trying to choose the right editor to use i developed what i think can be useful tool in Scala development. This plugin embeds the Scala compiler and reuses it for compilation without executing

[Lift] Re: JTA

2009-05-30 Thread Jonas Bonér
Thanks a lot Greg. That's sounds like a great idea. I'll see what I can come up with. /Jonas 2009/5/30 Meredith Gregory : > Jonas, > > i applaud the effort. i agree with DPP sentiments regarding annotations. > That said, i feel pretty comfortable that transactions fit entirely in a > monadic co

[Lift] Lift does not display templates as described in the book.

2009-05-30 Thread Sean Reque
I have the pocketchange app with lift 1.0. I add a directory in webapp with an index.html file, identical to the help directory except with some changed text. I visit the URL corresponding to the directory and it doesn't show up at all, but tells me the requested resource is not found. I then add

[Lift] Re: Lift does not display templates as described in the book.

2009-05-30 Thread marius d.
To access a page you need to add it in the SiteMap. I assume you are a bit confused about the relation between a Menu and a page. I mean after all maybe for your site you don't really need a menu but in Lift a Menu is much more then a visual representation of a way to navigate to your pages. It sp

[Lift] Re: JavaScript interface to Comet

2009-05-30 Thread marius d.
Lift generates the JavaScript for Comet so you essentially don't have to worry about it. From a CometActor you just provide the markup that you need to render asynchronously or just the JsExp to be executed by browser. However could you please provide an overview of what you're trying to achieve?

[Lift] Re: Lift does not display templates as described in the book.

2009-05-30 Thread David Pollak
And if you don't want any sitemap at all, just don't set the SiteMap in your app (comment out the LiftRules.setSiteMap(SiteMap(entries:_*)) line in Boot.scala). On Sat, May 30, 2009 at 1:56 PM, marius d. wrote: > > To access a page you need to add it in the SiteMap. I assume you are a > bit co

[Lift] Re: Lift does not display templates as described in the book.

2009-05-30 Thread Sean Reque
Concrete examples are a great teaching tool, but unless you eventually teach the concepts behind the examples, your students are incapable of applying their knowledge to do anything beyond what they can glean from the examples example. It's like teaching math purely through example with no theory:

[Lift] lift views

2009-05-30 Thread valotas
Hi all! Just a proposal: wouldn't be better to have the views look like more an html page. I mean for the basic project created, instead of having an index.html look like Welcome to your project! have something like: A better title than the one in default.html Welcome to your pr

[Lift] Re: Lift does not display templates as described in the book.

2009-05-30 Thread Sean Reque
Concrete examples are a great teaching tool, but unless you eventually teach the concepts behind the examples, your students are incapable of applying their knowledge to do anything beyond what they can glean from the examples example. It's like teaching math purely through example with no theory:

[Lift] Re: Lift does not display templates as described in the book.

2009-05-30 Thread marius d.
On May 31, 12:55 am, Sean Reque wrote: > Concrete examples are a great teaching tool, but unless you eventually > teach the concepts behind the examples, your students are incapable of > applying their knowledge to do anything beyond what they can glean > from the examples example. It's like te

[Lift] Re: lift views

2009-05-30 Thread Timothy Perrett
There really is no benifit in this IMO - the only difference is that you have more redundant code? You can set the head from any page file like so: my lovely title Welcome to your project! Lift automatically consolidates the head elements into a single one before presenting the

[Lift] Re: Ideas for an ordered list in a form

2009-05-30 Thread Derek Chen-Becker
I have some ideas for this, but my short term solution is to make a Lift version of Palette. Once I have it debugged I'll add it as a widget. Derek On Sat, May 30, 2009 at 3:17 AM, Joe Wass wrote: > > Bump. I'm interested in this too. > > On May 28, 10:01 pm, Derek Chen-Becker wrote: > > Oops.

[Lift] Where is scalajpa.jar?

2009-05-30 Thread chas
Missing: -- 1) org.scala-libs:scalajpa:jar:1.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-libs -DartifactId=scalajpa -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to

[Lift] Continued problems with JPA archetypes

2009-05-30 Thread chas
I tried again, running this: mvn archetype:generate \ -DarchetypeRepository=http://scala-tools.org/repo-snapshots \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-jpa-basic \ -DarchetypeVersion=1.1-SNAPSHOT \ -DgroupId=com.xxx -DartifactId=xxx-master I then

[Lift] Showing a Box or Redirecting?

2009-05-30 Thread Bryan
If Foo has 5 methods that I need to show in a Snippet (scattered throughout the template), what's a good way to S.error("inactive"); S.redirectTo("/") whenever Box[Foo] cannot be opened because it is not Full, without having to write a bunch of boiler plate code for each of the show methods I have

[Lift] Re: Where is scalajpa.jar?

2009-05-30 Thread Bryan.
http://scala-tools.org/repo-snapshots/org/scala-tools/scalajpa/ --Bryan On May 30, 8:37 pm, c...@munat.com wrote: > Missing: > -- > 1) org.scala-libs:scalajpa:jar:1.1-SNAPSHOT > >   Try downloading the file manually from the project website. > >   Then, install it using the command: >  

[Lift] Re: Showing a Box or Redirecting?

2009-05-30 Thread Bryan.
I guess I should just have def showFoo(xhtml: NodeSeq) and use bind to render A, B, C, D, and E. --Bryan On May 30, 9:12 pm, Bryan wrote: > If Foo has 5 methods that I need to show in a Snippet (scattered > throughout the template), what's a good way to S.error("inactive"); > S.redirectTo("/")

[Lift] Re: JavaScript interface to Comet

2009-05-30 Thread Xavi Ramirez
I'm trying add some comet features to an existing JS app. Essentially, I want to drag/drop a widget and have my movements reflected on other user's browsers. You mentioned that a CometActor can cause JsExp to be executed. This might be what I'm looking for. How does that work? Thanks, Xavi O

[Lift] Re: Where is scalajpa.jar?

2009-05-30 Thread 刘浩
I think you need to add snapshots repository in your pom.xml scala-tools.org Scala-Tools Maven2 Repository http://scala-tools.org/repo-releases scala-tools.org.snapshots Scala-Tools Maven2 Repository for Snapshots http://scala-tools.org/repo-snap

[Lift] Re: lift views

2009-05-30 Thread Xavi Ramirez
The value is that Yoryos version is a valid HTML page and can be easily viewed without having lift/jetty running. This could be handy for designs, for example. I'm personally not 100% sold (I hate boilerplate), but it's an interesting idea. -Xavi On Sat, May 30, 2009 at 7:44 PM, Timothy Perret

[Lift] Re: Where is scalajpa.jar?

2009-05-30 Thread Atsuhiko Yamanaka
Hi, On Sun, May 31, 2009 at 9:37 AM, wrote: > > Missing: > -- > 1) org.scala-libs:scalajpa:jar:1.1-SNAPSHOT > Instead of the artifactId for scalajpa, I think that problem will be resolved by adding following tag, net.liftweb lift-jpa 1.1-SNAPSHOT The 'scal