Any thoughts on this? Still trying to get it to work.
Thanks
On Mar 5, 2:56 pm, DavidV 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
le. By default Lift is trying to
> serve .html, .xhtml, .htm, .xml etc.. You can write your own rules by
> setting
>
> LiftRules.liftRequest = {
> case req => true // Pattern match whatever you like and return a
> Boolean
>
> }
>
> If Lift cannot find a resource
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 downl
{ submit(..., () => getImgs("met", myParam)) }
>
> }
>
> -Ross
>
> On Nov 24, 2009, at 2:02 PM, DavidV wrote:
>
> > I have searched a number of threads and have found similar posts but
> > nothing the exactly answers this relatively simple question.
&g
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 ha
.tests.skip .
>
> -----
>
> DavidV 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 needs t
think it still has to do with my database connection
On Nov 17, 10:41 am, DavidV 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 AppT
mmand? 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 wrote:
> For the time being I have code that compiles correctly and I am
> leaving eclipse completely out of th
remote tomcat server may stem from
eclipse messing up the correct maven packaging of the .war file. I'm
still trying to figure out what is causing this ConnectException
whenever AppTest.scala is executed that is preventing me from
performing a normal "mvn package"
On Nov 13, 6:
.2
>
> Then mvn clean tomcat:run -- does it work?
>
> Then mvn clean install -- does the WAR file work in Tomcat?
>
> On Thu, Nov 12, 2009 at 1:10 PM, DavidV wrote:
>
> > Another potentially helpful detail is that I get the same liftFilter
> > error when running on
: 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 wrote:
> I just tried to run
x27;m getting somewhere now!
-David
On Nov 12, 3:21 pm, DavidV 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
> On Thu, Nov 12, 2009 at 11:36 AM, DavidV 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
&g
e to build your WAR file. The clean phase is super important.
>
>
>
> On Thu, Nov 12, 2009 at 11:07 AM, DavidV 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 app
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 serve
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 bas
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 wrote:
> I am trying to map a MappedDouble object to a postgres database and I
> get the following error:
>
> Exceptio
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 t
Aha! I knew it was something simple. Thanks!
On Aug 28, 4:57 pm, Viktor Klang wrote:
> { for(i <- 0 until 10) yield { for(j <- 0 until 10) yield
> {j} } }
>
> My guess is that you've omitted your yields
>
>
>
> On Fri, Aug 28, 2009 at 10:34 PM, David
and yes, I verified that it has the necessary information to iterate
by substituting the values with a println
On Aug 28, 4:15 pm, Naftoli Gugenheim wrote:
> Before it was empty or not compiling?
> Can you verify that it has what to iterate?
>
> ----
You can nest curly braces - just surround the for loop with another pair.
>
> -
>
> DavidV wrote:
>
> 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 peopl
another pair.
>
> -----
>
> DavidV wrote:
>
> 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
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 fr
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 dis
kludge...
-David
On Jun 17, 12:00 pm, DavidV wrote:
> I would like to include a variable value in an tag in my .html
> file. I have defined a tag as follows:
>
> def upload(xhtml: Group): NodeSeq =
> if (S.get_?) {
> bind("ul", chooseTem
I would like to include a variable value in an 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))),
yes, that's what I was looking for. thanks!
On Jun 16, 11:11 am, TylerWeir 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 wrote:
>
&
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 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 version of
substring
> (image.fileName.lastIndexOf("\\")+1)))
> else
> zos.putNextEntry(new ZipEntry("res/" + image.fileName))
> zos.write(image.file, 0, image.file.length) //make here a loop on
> very large files
> zos.closeEntry()
>
> }
>
>
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
As you can probably tell from the question, I'm still a beginning
programmer and just learning Scala/Lift, however, I do have a basic
understanding of the difference between option types and null
references. In this particular case, there are definite cases where
the field will be assigned a valu
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 th
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" wrote:
> Have you looked at Windmill?
>
> http://www.getwindmill.com/
>
> From what I've heard it's pretty cool.
>
> Chas.
>
> David Pollak wro
endency in your pom.xml?
>
>
> net.liftweb
> lift-widgets
> 1.1-SNAPSHOT
>
>
> That's needed to get the dropdown widget code.
>
> Derek
>
> On Thu, Apr 2, 2009 at 3:13 PM, DavidV wrote:
>
> > I posted this yesterday but I haven't seen
I posted this yesterday but I haven't seen it appear yet...sorry if it
is here twice.
I downloaded the scripts separately because I didn't know how to
update my repository/library to include the MenuWidget class and the
appropriate .js and .css files. I tried running "mvn install" on my
webapp,
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 wrote:
> Does anyone know
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
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 th
less the
> >>> parent is
> >>> > > the current selected page, so we would have to either modify that or
> >>> we
> >>> > > could code up a new MenuBar snippet that renders a "bar" instead of a
> >>> UL
> >>
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:
My Title
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 Gro
Joachim, this is most likely a CSS issue since we're seeing
> > explicit "rows" and "cols" attributes on the element. If you get firebug and
> > inspect the page with it, you should be able to see what is controlling the
> >textareasize.
>
> > De
quot;cols" attributes on the element. If you get firebug and
> > inspect the page with it, you should be able to see what is controlling the
> >textareasize.
>
> > Derek
>
> > On Tue, Mar 3, 2009 at 3:29 PM, DavidV wrote:
>
> > > Here's the XHTML g
In the webapp I'm working on, I have three separate forms (snippets)
linked to three separate objects. I would like to maintain a link
between the objects through ID fields, since all three forms contain
information pertinent to one individual record. The problem is, after
I submit the first for
>
> > Can you post the generated XHTML for the textarea? I would want to verify
> > that it's actually setting the attributes.
>
> > Derek
>
> > On Tue, Mar 3, 2009 at 2:08 PM, DavidV wrote:
> > > For some reason when I override the textareaRows and
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 w
I mentioned that I would post the final code once I worked out all the
bugs, so here is what I came up with:
object SampleType extends SampleType with LongKeyedMetaMapper
[SampleType] {
override def dbTableName = "sample_type" // define the DB table name
val choices = SampleTypeList.names
d
ll[() => 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 wrote:
>
> > I wondering how to populate rows of a DB table upon i
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
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 App
Thanks Tim and David, that's exactly what I was looking for.
-David
--~--~-~--~~~---~--~~
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 this
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,
-
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 d15137a600ce0524
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
walk
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 subs
Any news on when the next Lift Eclipse plugin will be available, to go
with the latest Scala 2.7.2 RC2 plugin update?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to
56 matches
Mail list logo