[Lift] Re: Dependent fields in form

2009-05-30 Thread marius d.
That should be quite easy. See http://demo.liftweb.net/ajax-form Marius On May 29, 9:46 pm, feelgood asseliva...@gmail.com wrote: Is it real to create form with dependent field? Suppose whe have two select boxes: for the country and for the city. It would be quite good, if country selection

[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

[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. lt; and gt; Thanks, Tim On 29/05/2009 20:13, Derek Chen-Becker dchenbec...@gmail.com wrote: I've been adding a lot of expanded documentation to S and I just noticed that there are whole sections that are disappearing.

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

2009-05-30 Thread maku
On 30 Mai, 01:19, Meredith Gregory lgreg.mered...@gmail.com 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

[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

[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

[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 lgreg.mered...@gmail.com: Jonas, i applaud the effort. i agree with DPP sentiments regarding annotations. That said, i feel pretty comfortable that transactions fit

[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

[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

[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. marius.dan...@gmail.com wrote: To access a page you need to add it in the SiteMap. I

[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

[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 lift:surround with=default2 at=content h2Welcome to your project!/h2 plift:helloWorld.howdy //p /lift:surround have

[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

[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 seanre...@gmail.com 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

[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: lift:surround with=default at=content head titlemy lovely title/title /head h2Welcome to your project!/h2 plift:helloWorld.howdy //p

[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 j...@folktunefinder.com wrote: Bump. I'm interested in this too. On May 28, 10:01 pm, Derek

[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

[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:       mvn

[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 germ...@gmail.com 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);

[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

[Lift] Re: Where is scalajpa.jar?

2009-05-30 Thread 刘浩
I think you need to add snapshots repository in your pom.xml repositories repository idscala-tools.org/id nameScala-Tools Maven2 Repository/name urlhttp://scala-tools.org/repo-releases/url /repository repository idscala-tools.org.snapshots/id

[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

[Lift] Re: Where is scalajpa.jar?

2009-05-30 Thread Atsuhiko Yamanaka
Hi, On Sun, May 31, 2009 at 9:37 AM, c...@munat.com 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, dependency groupIdnet.liftweb/groupId