Hi,
your suggestion didn't work for me because I'm using url-rewrite in my
application.
Something like
http://...application/parameterA/
http://...application/parameterA/parameterB/
Therefore the relative path wouldn't match.
The CSSHelper function fixes the absolute path.
This is
Ok here's the problem stripped down. The merge happens but the head
node isn't being removed from the body
Let me know if you'd like it in some other format.
templates-hidden/outer.html:
html
head
meta name=description content=Head Merge Test /
/head
body
lift:bind name=content
On Thu, Aug 27, 2009 at 10:27 AM, Marc Boschma
marc+lift...@boschma.cxmarc%2blift...@boschma.cx
wrote:
Personally I use:
there are two kinds of QueryParams in Lift, one uses raw sql clauses
and the other not. My question is, when using the raw sql clauses, the
security must be checked by programmer self, and declare safety by
IHaveValidatedThisSQL, but when using the now raw methods, does Lift
framework checks
Hi all
i am new to scala and lift.
while trying to do a sample project i tried to use httpauthentication
code given in liftbook (7.14 authentication example) and i am getting
following errors
a) while using import auth._
error: value auth not found
if i try using
Your right... I've been thinking about that and how the current mapper
only does the regex check.. could always override the validate method...
Marc
On 27/08/2009, at 6:39 PM, Viktor Klang wrote:
On Thu, Aug 27, 2009 at 10:27 AM, Marc Boschma marc+lift...@boschma.cx
wrote:
Personally I
I am totally new and interested in scala lift. what I have is a
little Java knowledge. Aftering reading to-do application at the
website, I got the following questions:
1) where and how to setup database? the tutorial never mentions
database setup,
2) how does lift support database migration?
On Thu, Aug 27, 2009 at 2:12 AM, XiaomingZheng xiaomingzhen...@gmail.comwrote:
there are two kinds of QueryParams in Lift, one uses raw sql clauses
and the other not. My question is, when using the raw sql clauses, the
security must be checked by programmer self, and declare safety by
Tim has a magic articles bag :)
On Aug 27, 4:20 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Checkout my article here on how to localize with Lift: http://is.gd/1NXGN
Cheers, Tim
On 27/08/2009 14:08, surfman chinasmile...@gmail.com wrote:
3) internationalization support. how does
Checkout my article here on how to localize with Lift: http://is.gd/1NXGN
Cheers, Tim
On 27/08/2009 14:08, surfman chinasmile...@gmail.com wrote:
3) internationalization support. how does lift support this?
--~--~-~--~~~---~--~~
You received this message
As Props.userName is public, it would be good if it didn't include a
trailing . in the return value. I see why it does for use in toTry
but as a user of Lift it was a surprise to ask for Props.userName and
see the . on the end.
The same applies for Props.hostName (even though there's
Hi,
I have a working GAE Scala Eclipse setup based on:
http://penguinparens.blogspot.com/2009/04/further-steps-scalagwtapp-engineeclipse.html
How do I integrate the Lift framework from:
http://github.com/ymnk/liftweb/tree/master
thanks
Andreas
HAHA - indeed I do... I've written so many articles on lift now I forget
what stuff is in the bag ;-)
Perhaps this will also be helpful: http://is.gd/sfyT
To be honest, ive not done a great deal with Mapper so someone else will
have to help you there (I usually use JPA)
Cheers, Tim
On
What's the protocol for making a Wiki contribution: just go in and do it?
Turns out I'm not that brave. I've pulled together the start of a
logging wiki entry, just covering what is (for me) the common case.
I've put it here for the moment...
On Thu, Aug 27, 2009 at 6:08 AM, surfman chinasmile...@gmail.com wrote:
I am totally new and interested in scala lift. what I have is a
little Java knowledge. Aftering reading to-do application at the
website, I got the following questions:
1) where and how to setup database? the tutorial
On Thu, Aug 27, 2009 at 7:49 AM, Andreas andreas.heissenber...@gmail.comwrote:
Hi,
I have a working GAE Scala Eclipse setup based on:
http://penguinparens.blogspot.com/2009/04/further-steps-scalagwtapp-engineeclipse.html
How do I integrate the Lift framework from:
On Thu, Aug 27, 2009 at 7:07 AM, Richard Dallaway dalla...@gmail.comwrote:
As Props.userName is public, it would be good if it didn't include a
trailing . in the return value. I see why it does for use in toTry
but as a user of Lift it was a surprise to ask for Props.userName and
see the .
Hello,
*Problem*
I'm new to Lift/Scala and trying to understand/experiment with Lift's View
folder. I've not gotten past a 404 error on the browser (as it relates to
the View folder; templates render fine).
*Background/Environment*
I've been reading Exploring Lift (~Section 3.7) along with
I am using Lift 1.0 with the Mapper ORM module from Lift. I am a
newbie to Scala and Lift. I have auto-generated my ORM classes from
a .sql file. Given that these classes are auto-generated I would
prefer not to edit them directly and provide additional functionality
via inheritance.
Say I
With a parser combinator I wrote to parse .sql and it outputs scala
orm files. Please note it is very specific to my needs (i.e. only
works with certain grammars (INSERTS) but that particular grammar is
all I needed to process at the time) but is written in a way that
could be extended to the
I'm running tests from Firefox running locally, Chrome running locally and
Safari running remotely to see if I can reproduce the issue (I'm running
against Lift 1.1-SNAPSHOT)
On Thu, Aug 27, 2009 at 4:38 AM, Dorinel dorinel.munte...@gmail.com wrote:
I was implementing application from
Fixed. Thanks!
On Wed, Aug 26, 2009 at 10:28 PM, jon jonhoff...@gmail.com wrote:
Hi,
Looks like the JS is being double escaped.
Changed following methods to fix:
def onLoad(id: String, graphStyle: SparklineStyle.Value, data:
JsArray, opts: JsObj) : NodeSeq = {
head
script
Someone encountered the problem where he couldn't override the
stylesheet used by some widget. Damn I can't find any more that
thread ...
Anyways here it is:
1. Include the widget in your application say monthview.
2. The url to the stylesheet is: /classpath/calendars/monthview/
style.css
3. In
Many thanks!
--~--~-~--~~~---~--~~
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 group, send email to
David,
Returning menu items from your init function is OK, but forces the
user
of your module to guess on function-call order, or be forced to glean
it from
the source, which he should not be required to do.
Putting code such as this, instead, in your init function helps, but
does not eliminate
Richard,
Our new wiki is at http://wiki.github.com/dpp/liftweb
You're encouraged to copy stuff from the old wiki to the new wiki and update
content that's out of date and enhance any content.
Thanks,
David
On Thu, Aug 27, 2009 at 7:56 AM, Richard Dallaway dalla...@gmail.comwrote:
What's
Looks great to me! Add it to the lift wiki with the prefix How To: as that
follows our convention.
Cheers, Tim
On 27/08/2009 15:56, Richard Dallaway dalla...@gmail.com wrote:
What's the protocol for making a Wiki contribution: just go in and do it?
Turns out I'm not that brave. I've
I've reproduced and fixed this issue.
Thanks for reporting it.
On Thu, Aug 27, 2009 at 9:13 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
I'm running tests from Firefox running locally, Chrome running locally and
Safari running remotely to see if I can reproduce the issue (I'm
On Thu, Aug 27, 2009 at 11:22 AM, glenn gl...@exmbly.com wrote:
David,
Returning menu items from your init function is OK, but forces the
user
of your module to guess on function-call order
I don't understand... what function call order are you talking about? The
order in which the
Has anyone seen this error? I get it while transforming a Stream into
a String. The stream is from an http request I just made.
Message: java.io.IOException: Premature EOF
sun.net.www.http.ChunkedInputStream.readAheadBlocking
(ChunkedInputStream.java:556)
Thanks for the answers everyone. What David hit upon about wanting
objects to be subclassible is the conclusion I came to that would
work..if it existed. I was hoping there was a way. :(. Well, I guess
Naftoli has provided a possible solution but seems more involved than
I have the experience
On Wed, Aug 26, 2009 at 4:03 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Hi,
I'm using POJT (plain old JDBC transactions :-) with a single db. I
would like to:
1) Manually rollback changes if some validations fail
2) Have the tx rolled back if an error happens
I think 1) can be
Hi all,
I am a Smalltalker, looking to transition into Scala and Lift. How can
I contribute to Lift?
Thanks,
Tim Dion
http://www.linkedin.com/pub/tim-dion-csdp/1/785/208
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
This happens sometimes when the client disconnects before the communications
with the server is complete. I see them from time to time and they indicate
to me that the Internet is a random place.
On Thu, Aug 27, 2009 at 12:06 PM, jack jack.wid...@gmail.com wrote:
Has anyone seen this error? I
Nice!
David Pollak wrote:
This is nifty... I think it's worthy of inclusion in Lift. Thanks for
the suggestion!
On Wed, Aug 26, 2009 at 2:44 PM, harryh har...@gmail.com
mailto:har...@gmail.com wrote:
Let's say you have a bit of a page like so:
lift:SomeSnippet.section
This is good to know about. Thanks!
Marc Boschma wrote:
Maybe https://opensso.dev.java.net/ might be of interest? Might also
be a bit of work...
Marc
On 26/08/2009, at 2:53 AM, Charles F. Munat wrote:
Now this is an interesting idea. I'll think about it...
Thanks!
Chas.
David
On Thu, Aug 27, 2009 at 9:49 AM, Daniel Nelson dpn53...@gmail.com wrote:
Hello,
*Problem*
I'm new to Lift/Scala and trying to understand/experiment with Lift's View
folder. I've not gotten past a 404 error on the browser (as it relates to
the View folder; templates render fine).
I'd
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
How do you auto-generate them?
On Thu, Aug 27, 2009 at 1:03 PM, rstradling ryanstradl...@gmail.com wrote:
I am using Lift 1.0 with the Mapper ORM module from Lift. I am a
newbie to Scala and Lift. I have auto-generated my ORM classes from
a .sql file. Given that these classes are
On Thu, Aug 27, 2009 at 11:48 AM, inca incarn...@whiteants.net wrote:
Ok, thanks. Another question then. As far as I can see from sources,
basic KeyedRecord trait depends on some Mapper classes. Does Record
use Mapper for JDBC operations under the covers?
Yes.
On 27 авг, 01:25, Timothy
On Thu, Aug 27, 2009 at 9:41 AM, Tim Dion tim_d...@yahoo.com wrote:
Hi all,
I am a Smalltalker, looking to transition into Scala and Lift.
Welcome.
How can
I contribute to Lift?
Initially by asking questions and then helping to document the answers on
the wiki.
Then by answering the
David,
Besides the very detailed discussion here about the problems of Boot
initialization
and the immutability of sitemap and liftrules, that strikes me as a
sufficient
barrier to real modularization. I hadn't thought about turning
reuseable code into
traits and assigning those around in jar
Are stateful snippets considered a good way to do multi-step wizard
like interfaces? They seem like a good fit, but I'm running into 1
annoying problem. I'm seeting things up so in my .html file I have
something like this:
lift:MyPage.stepOne form=POST
// HTML for step 1
/lift:MyPage.stepOne
Without doubt the most accesible way would be with writing wiki
articles... We really lack documentation.
Provided you have a github account you can get cracking straight
away :-)
Cheers, Tim
Sent from my iPhone
On 27 Aug 2009, at 17:41, Tim Dion tim_d...@yahoo.com wrote:
Hi all,
On Thu, Aug 27, 2009 at 3:19 PM, Dorinel dorinel.munte...@gmail.com wrote:
It's great!
By the way, by default ToDo application runs on 1.1-SNAPSHOT?
I think it uses 1.0 by default... but I prefer 1.1-SNAPSHOT because it's got
the most developer-friend features.
On Aug 27, 9:45 pm, David
Thanks David, Thanks Tim
I've added the page, and also copied over what appears to be relevant
from the old wiki page.
http://wiki.github.com/dpp/liftweb/how-to-configure-logging
Right: back to some coding now...
Cheers
Richard
On Thu, Aug 27, 2009 at 5:34 PM, Timothy
Hey all,
I'm trying to build an app that takes advantage of the Comet support in
Lift. This is a simple app that displays all messages from a given person
and shows new messages as they are added. At first, I struggled with trying
to pull the request parameter (the url looks like this -
On Thu, Aug 27, 2009 at 2:00 PM, glenn gl...@exmbly.com wrote:
David,
Besides the very detailed discussion here about the problems of Boot
initialization
and the immutability of sitemap and liftrules, that strikes me as a
sufficient
barrier to real modularization.
Are you talking about
Fix to the empty stateful snippet form issue.
-- Forwarded message --
From: nore...@github.com
Date: Thu, Aug 27, 2009 at 8:06 PM
Subject: [dpp/liftweb] 4bc64d: Stateful snippets work correctly with empty
result...
To: feeder.of.the.be...@gmail.com
Branch: refs/heads/master
lift:comet type=YourCometClass name={person_number} /
The optional name attribute allows you to have different comet actor names
(e.g., one per person). You can retrieve the CometActor's name via the name
method, which returns a Box[String].
In your CometActor, make sure to:
override def
git clone git://github.com/rstradling/DDLtoLiftORM.git is the
location of the git code.
http://github.com/rstradling/DDLtoLiftORM is the web address
I hope this is helpful to others.
On Aug 27, 3:13 pm, rstradling ryanstradl...@gmail.com wrote:
Thanks for the answers everyone. What David
Lift users,
I'm curious what you all are using for user access control (Mapper users
excluded). I'm seriously evaluating lift for a project that will use
JPA. My full time job uses Spring Security, which while nice in that it
stays out of the way, is too clunky for my tastes. I haven't
I'm trying to use PUT with Lift and it seems to be working, except I
can't find the content I put. I'm using jQuery on the front end (a
custom front-end) and firebug seems to think the data gets sent.
Although it doesn't show me the raw request, it adds a PUT tab that
shows the key and value(I
Here is the code I am using. The exception is happening at line 12, the line
that goes line = br.readLine()
The exception is happening alot. Any ideas?
package com.authoritude.snippet
import java.io.{InputStreamReader, BufferedInputStream,
Is there a way to update ToDo application to use 1.1-SNAPSHOT?
On Aug 28, 1:38 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Thu, Aug 27, 2009 at 3:19 PM, Dorinel dorinel.munte...@gmail.com wrote:
It's great!
By the way, by default ToDo application runs on 1.1-SNAPSHOT?
I
I'd suggest that you use
import net.liftweb.util.Helpers._
def streamToString(stream: InputStream) = new
String(readWholeStream(stream), UTF-8)
See if that makes things better.
On Thu, Aug 27, 2009 at 4:28 PM, Jack Widman jack.wid...@gmail.com wrote:
Here is the code I am using. The exception
On Thu, Aug 27, 2009 at 6:24 PM, Dorinel dorinel.munte...@gmail.com wrote:
Is there a way to update ToDo application to use 1.1-SNAPSHOT?
Edit your pom.xml file.
Change the Scala version to 2.7.5. Change the net.liftweb dependencies to
1.1-SNAPSHOT and make sure the repositories tag
Great. Thanks David. I'll try that.
On Fri, Aug 28, 2009 at 12:27 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
I'd suggest that you use
import net.liftweb.util.Helpers._
def streamToString(stream: InputStream) = new
String(readWholeStream(stream), UTF-8)
See if that makes things
Lift's multi-step wizard support is less than optimal. I'm working with
some folks to improve the situation and it's part of the 1.1 roadmap.
On Thu, Aug 27, 2009 at 1:40 PM, harryh har...@gmail.com wrote:
Are stateful snippets considered a good way to do multi-step wizard
like interfaces?
59 matches
Mail list logo