[Lift] Re: [ANN] Compiling Lift with Scala 2.7.2.RC2 and Eclipse Plugin

2008-09-25 Thread DavidV
I'm using the latest version - 1.6.0.2 for windows. I got it from this website: http://code.google.com/p/msysgit/downloads/list I figured it was OK since all the versions are listed as Beta... --~--~-~--~~~---~--~~ You received this message because you are

[Lift] Re: [ANN] Compiling Lift with Scala 2.7.2.RC2 and Eclipse Plugin

2008-09-25 Thread DavidV
I followed the instructions outlined by Jorge exactly and everything seemed to be working fine, but I got the following error when trying to create the liftweb git repository as outlined in Step 1: ...walk a4ce14468f18844414e001f3353b93bfb3250b91 walk 9644eaef9b6db11a6b97a3656b841a3cb0ea9ada

[Lift] Re: Compiling Lift with Scala 2.7.2.RC2 and Eclipse Plugin

2008-09-25 Thread DavidV
I just downloaded version 1.5.6.1 from the same site and this is the error I got this time: walk 8e1d2bbba9128fe8ce4b7a355d6fa16fe9d3dd77 walk eb09c00b327ebd51608de4f92f5831fb8e880f0d walk dbf28f10a12216b813495fced7beace239676d1a walk 089733ddff4c11a24555dc8afb57e854184544c8 walk

[Lift] Lift 0.10 example code

2009-01-29 Thread DavidV
Is there Lift example code, compatible with the 0.10 version library that is more robust than the lift-blank and lift-basic archetypes highlighted here: http://liftweb.net/index.php/Archetypes I'm looking for something more like the demo available from liftweb: http://demo.liftweb.net/ Thanks,

[Lift] Re: Help on getting Eclipse/Maven/Lift working

2009-02-03 Thread DavidV
Hi Thomas, I've been having the same troubles and found that these instructions helped me a bit: http://liftweb.net/index.php/Using_eclipse_hotdeploy if you left-click on the RunWebApp application and go to Debug As and don't see an Open Debug Dialogue option, just try clicking on Scala

[Lift] populate DB table upon creation

2009-02-20 Thread DavidV
I wondering how to populate rows of a DB table upon it's creation. First, where in the lift code are tables created? Is it in trait BaseMapper's dbAddTable method? I have an Array[String] I would like to add to the table when it is being created. Which method can I override to achieve this and

[Lift] Re: populate DB table upon creation

2009-02-20 Thread DavidV
to return Full[() = Unit], that function will be called after all the modifications have been made to the tables, if your table was added as part of Schemifier's changes. On Fri, Feb 20, 2009 at 9:18 AM, DavidV david.v.villa...@gmail.com wrote: I wondering how to populate rows of a DB table upon

[Lift] MappedTextarea problem

2009-03-03 Thread DavidV
For some reason when I override the textareaRows and textareaCols methods in MappedTextarea, the size of the text block appears the same in my web application no matter what size I assign to the rows and cols. Does anyone know how to decrease the size of the blank text area that shows up on the

[Lift] Re: MappedTextarea problem

2009-03-12 Thread DavidV
I'm working on making my own style sheet now, thanks for the help. One more question: What if I have multiple text areas on one page but what them to be of different sizes? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Lift] horizontal navbar drop-downs

2009-03-19 Thread DavidV
I'm wondering if there is a built-in way to create drop-down menus from a horizontal navbar using the Menu.builder method. These are the relevant sections of my current template: titleMy Titlelift:Menu.title / /title lift:StyleSheet.entryForm / lift:StyleSheet.fancyType / script

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread DavidV
to see if he can share some of the code. Derek On Thu, Mar 19, 2009 at 10:21 AM, DavidV david.v.villa...@gmail.com wrote: I'm wondering if there is a built-in way to create drop-down menus from a horizontal navbar using the Menu.builder method. These are the relevant

[Lift] SessionVar or RequestVar example

2009-03-31 Thread DavidV
Does anyone know where I could find some example code of SessionVar or RequestVar in use? I am writing an application and I need to use a SessionVar or a RequestVar so that I can maintain and update the value of a variable throughout a session, but since I'm new to Lift I'm not sure how to use

[Lift] Re: Menu widget

2009-03-31 Thread DavidV
I would like to use this new MenuWidget, so I got the source code from GitHub and put it into my application as a snippet. I also downloaded all of the necessary superfish .css and .js files from the superfish website and put those in local sub-directories of the src/main/ webapp folder. When I

[Lift] Re: SessionVar or RequestVar example

2009-03-31 Thread DavidV
I figured out what I needed by checking out the counting link on the Lift demo page. However, I'd like to see some more examples of Session or RequestVar in use, so if anyone has some I'd still appreciate it. On Mar 31, 12:44 pm, DavidV david.v.villa...@gmail.com wrote: Does anyone know where

[Lift] Re: Menu widget

2009-04-02 Thread DavidV
see the lift- widgets project and the test applicaiton from there. Br's, Marius On Mar 31, 11:48 pm, DavidV david.v.villa...@gmail.com wrote: I would like to use this newMenuWidget, so I got the source code from GitHub and put it into my application as a snippet.  I also downloaded all

[Lift] Re: Menu widget

2009-04-03 Thread DavidV
?     dependency       groupIdnet.liftweb/groupId       artifactIdlift-widgets/artifactId       version1.1-SNAPSHOT/version     /dependency That's needed to get the dropdown widget code. Derek On Thu, Apr 2, 2009 at 3:13 PM, DavidV david.v.villa...@gmail.com wrote: I posted this yesterday

[Lift] Re: The Lift 1.1 list

2009-04-03 Thread DavidV
Also, it would be great it Lift1.1 included all of the necessary .js, .css and class files for the new MenuWidget On Apr 3, 3:42 am, Charles F. Munat c...@munat.com wrote: Have you looked at Windmill? http://www.getwindmill.com/  From what I've heard it's pretty cool. Chas. David Pollak

[Lift] NULLable MappedForeignKey

2009-06-04 Thread DavidV
What is the proper way to create a MappedForeignKey that is optional? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from

[Lift] file upload

2009-06-11 Thread DavidV
I would like to upload a .csv file onto the web server so I can then parse it in my webapp, and put certain fields into my database. I would like a Browse... button, much like the one shown on this Lift example page: http://demo.liftweb.net/file_upload Can anyone point me in the right direction

[Lift] Re: file upload

2009-06-15 Thread DavidV
() } Cheers Torsten On Jun 11, 10:24 pm, DavidV david.v.villa...@gmail.com wrote: I would like to upload a .csv file onto the web server so I can then parse it in my webapp, and put certain fields into my database.  I would like a Browse... button, much like the one shown on this Lift example

[Lift] Re: file upload

2009-06-16 Thread DavidV
I'm still stuck on this problem. Just bringing it to the top of the list again so it's not forgotten... On Jun 15, 4:04 pm, DavidV david.v.villa...@gmail.com wrote: I was able to find the code and have a program ready to parse the files as soon as I can upload them.  I tried writing my own

[Lift] Re: file upload

2009-06-16 Thread DavidV
yes, that's what I was looking for. thanks! On Jun 16, 11:11 am, TylerWeir tyler.w...@gmail.com wrote: Take a look at:http://github.com/dpp/liftweb/blob/dcc7b064a42832b06e4523d1a35351967d... It should cast some light on your issue. On Jun 16, 9:54 am, DavidV david.v.villa...@gmail.com

[Lift] simple syntax question

2009-06-17 Thread DavidV
I would like to include a variable value in an input tag in my .html file. I have defined a tag as follows: def upload(xhtml: Group): NodeSeq = if (S.get_?) { bind(ul, chooseTemplate(choose, get, xhtml), file_upload - fileUpload(ul = theUpload(Full (ul))),

[Lift] Re: simple syntax question

2009-06-17 Thread DavidV
of a kludge... -David On Jun 17, 12:00 pm, DavidV david.v.villa...@gmail.com wrote: I would like to include a variable value in an input tag in my .html file.  I have defined a tag as follows:   def upload(xhtml: Group): NodeSeq =     if (S.get_?) {       bind(ul, chooseTemplate(choose, get

[Lift] lift request param

2009-08-27 Thread DavidV
For the laboratory website I am building I need to keep track of batches of samples as they are being processed, and would like to do so with a request parameter in the URL. Right now, I am manually adding this parameter to every link: object batch extends MappedLong(this) { override def

[Lift] syntax question

2009-08-28 Thread DavidV
This may be more of an HTML question, but since I haven't found an answer online, I'm working in Lift and I'm sure most people here can answer this easily I figured I'd ask. I am trying to create a dynamic HTML table, by looping through the rows and columns of the table and inserting variables

[Lift] Re: syntax question

2009-08-28 Thread DavidV
Like this? def resultTable: NodeSeq = { table border=1 {for (r - 0 until analysis.slots.length) { tr {for (c - 0 until test.testvars.length) { new CellType(calls(r)(c).output) }} /tr }} /table } that is not working for me either, it

[Lift] Re: syntax question

2009-08-28 Thread DavidV
Sorry for the confusion. The way I initially represented the table, it did not compile. I got the following errors: in XML literal: '' expected instead of '0' in XML literal: '' expected instead of '0' in XML literal: expected closing tag of - in XML literal: expected closing tag of - on

[Lift] Re: syntax question

2009-08-28 Thread DavidV
and yes, I verified that it has the necessary information to iterate by substituting the td values with a println On Aug 28, 4:15 pm, Naftoli Gugenheim naftoli...@gmail.com wrote: Before it was empty or not compiling? Can you verify that it has what to iterate?

[Lift] Re: syntax question

2009-08-28 Thread DavidV
Aha! I knew it was something simple. Thanks! On Aug 28, 4:57 pm, Viktor Klang viktor.kl...@gmail.com wrote: table { for(i - 0 until 10) yield tr { for(j - 0 until 10) yield td{j}/td } /tr  } /table My guess is that you've omitted your yields On Fri, Aug 28, 2009 at 10:34 PM, DavidV

[Lift] Mapping MappedDouble to Postgres database

2009-09-01 Thread DavidV
I am trying to map a MappedDouble object to a postgres database and I get the following error: Exception in thread main org.postgresql.util.PSQLException: ERROR: type double does not exist I am looking through the Schemifier to try and figure out where the database type is assigned and how to

[Lift] Re: Mapping MappedDouble to Postgres database

2009-09-01 Thread DavidV
I found an old post that addresses this problem. I am still using Lift-1.0, so I'll update and that should fix the problem. -David On Sep 1, 5:11 pm, DavidV david.v.villa...@gmail.com wrote: I am trying to map a MappedDouble object to a postgres database and I get the following error

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread DavidV
I am running Scala 2.7.5 final and would like to upgrade to Lift 1.0.1. I have never upgraded my Lift before (still running 1.0) and am not sure how to do it without creating a new project. I using Maven and the jetty server to compile my lift code. I know how to modify a .pom file and some

[Lift] problems with tomcat

2009-11-12 Thread DavidV
I am having some issues deploying my Lift web application to a tomcat server. When I run tomcat through maven (mvn tomcat:run), the web application works properly and connects to my postgres database. However, when I use mvn package to create a war file which I then deploy to a local tomcat

[Lift] Re: problems with tomcat

2009-11-12 Thread DavidV
is super important. On Thu, Nov 12, 2009 at 11:07 AM, DavidV david.v.villa...@gmail.com wrote: I am having some issues deploying my Lift web application to a tomcat server. When I run tomcat through maven (mvn tomcat:run), the web application works properly and connects to my postgres

[Lift] Re: problems with tomcat

2009-11-12 Thread DavidV
, 2009 at 11:36 AM, DavidV david.v.villa...@gmail.com wrote: I don't appear to have any conflicting jars in my TOMCAT_HOME/common/ lib folder, however, I am now realizing that I have a postgres jdbc3 .jar file in there and I am using a jdbc4 .jar postres file in my webapp.  Perhaps

[Lift] Re: problems with tomcat

2009-11-12 Thread DavidV
like I'm getting somewhere now! -David On Nov 12, 3:21 pm, DavidV david.v.villa...@gmail.com wrote: On a side note, while I'm installing Lift 1.0.2 with Scala2.7.5, I always execute a clean command before the mvn package.  However, I also need to execute a clean in eclipse before the mvn package

[Lift] Re: problems with tomcat

2009-11-12 Thread DavidV
: failed LiftFilter: java.lang.AbstractMethodError 2009-11-12 16:10:05.834::WARN: failed org.mortbay.jetty.plugin.Jetty6PluginWebA ppcont...@14c0275{/,C:\Source\trunk\eclipse\testLift\src\main\webapp}: java.lang .AbstractMethodError ... On Nov 12, 3:40 pm, DavidV david.v.villa...@gmail.com wrote

[Lift] Re: problems with tomcat

2009-11-13 Thread DavidV
install -- does the WAR file work in Tomcat? On Thu, Nov 12, 2009 at 1:10 PM, DavidV david.v.villa...@gmail.com wrote: Another potentially helpful detail is that I get the same liftFilter error when running on a local jetty server through maven as I do when running on tomcat (also through

[Lift] Re: problems with tomcat

2009-11-16 Thread DavidV
AM, DavidV david.v.villa...@gmail.com wrote: When running Lift-1.0.2 and Scala-2.7.5 I am able to compile and run my code through maven.  However, I am concerned about my inability to run the mvn clean package command successfully without first running the clean command in eclipse. Yeah

[Lift] Re: problems with tomcat

2009-11-17 Thread DavidV
? Or do I have hard code the proxy settings somewhere other than in my maven settings.xml file? I'm still struggling with this problem... On Nov 16, 10:54 am, DavidV david.v.villa...@gmail.com wrote: For the time being I have code that compiles correctly and I am leaving eclipse completely out

[Lift] Re: problems with tomcat

2009-11-17 Thread DavidV
it still has to do with my database connection On Nov 17, 10:41 am, DavidV david.v.villa...@gmail.com wrote: More specifically, I am trying to follow the stack trace to lead me to some sort of URL so that I can see where and why this connection is trying to be made.  I'm not sure why the AppTest

[Lift] Re: problems with tomcat

2009-11-24 Thread DavidV
a connection in the first place.  Can I just skip the Test portion of the mvn package command?  Or do I have hard code the proxy settings somewhere other than in my maven settings.xml file?  I'm still struggling with this problem... On Nov 16, 10:54 am, DavidV david.v.villa...@gmail.com wrote

[Lift] stateful submit

2009-11-24 Thread DavidV
I have searched a number of threads and have found similar posts but nothing the exactly answers this relatively simple question. I am using the Lift submit method (net.liftweb.http.Shtml.submit) to submit a form. Upon submission, I want to execute another method called getImgs(s: String), so I

[Lift] Re: stateful submit

2009-11-24 Thread DavidV
} If you want getImgs to be outside, then you can pass it in, def getImgs(s: String, myParam: Option[String]) = ... def chooseIndex(ns: NodeSeq): NodeSeq = {      val myParam = S.param(id)     td{ submit(..., () = getImgs(met, myParam)) }/td } -Ross On Nov 24, 2009, at 2:02 PM, DavidV

[Lift] Re: File Download

2010-03-04 Thread DavidV
I am also looking to download a file from the server that is hosting my Lift web app. There is a very useful fileUpload method in the SHtml class and I was wondering if there may be something similar for a file download? I was unable to find anything, and searching for Lift or Scala Lift

[Lift] Re: File Download

2010-03-05 Thread DavidV
// Pattern match whatever you like and return a Boolean } If Lift cannot find a resource for some reason and you want the container (or subsequent filters) to handle that you can set LiftRules.passNotFoundToChain = true On 4 mar., 17:09, DavidV david.v.villa...@gmail.com wrote: I am also

[Lift] Re: File Download

2010-03-09 Thread DavidV
Any thoughts on this? Still trying to get it to work. Thanks On Mar 5, 2:56 pm, DavidV david.v.villa...@gmail.com wrote: I have recreated a number of StreamingResponse methods from both the Loop link above and the Lift book and I still can't seem to get the desired effect.  I have been able