Not at all. They are safe.
On May 3, 9:49 pm, Bryan. germ...@gmail.com wrote:
Would that mean that the state of the RequestVar could accidentally be
shared with multiple requests?
On May 3, 1:51 pm, marius d. marius.dan...@gmail.com wrote:
Hmmm ... the code seems to be fine (as far as I
Hi there,
we dont have a bulkUpdate function right now - however you could just
run some SQL directly:
DB.runQuery(SQL GOES HERE)
Is that of any help?
Cheers, Tim
On May 4, 1:53 am, sailormoo...@gmail.com sailormoo...@gmail.com
wrote:
Hi :
From the Lift Book, there is a bulk delete
Hey Andrew,
Glad you found this useful - sure, feel free to link to it from the
wiki.
Cheers, Tim
On May 4, 12:37 am, Andrew Scherpbier and...@scherpbier.org wrote:
Wow, this is awesome! Can a link to this be provided from the
wiki/getting started guide/api docs?
--Andrew
Examples, examples, examples, including scala.
The scala-lang site is a bit daunting. I think you'll get more
traction on Lift if you help people to get to grips with scala as well
as lift. I have no idea whether I'm a typical newcomer, but I have
come from Java (previously other things going
Do you mean:
lift:embed what=/path/to/template /
Thanks, Tim
On May 3, 7:45 pm, EmEhRKay emehr...@gmail.com wrote:
Very simple idea - I have a tags template that I put in the templates-
hidden directory, it creates a list of tags. In one of my public
templates I want to be able to call that
Thank you Dave.
I'll be waiting for your complete benchmark ...
Daniel
On Mon, May 4, 2009 at 5:23 AM, David Pollak
feeder.of.the.be...@gmail.comwrote:
On Sun, May 3, 2009 at 4:11 PM, Daniel Guryca dun...@gmail.com wrote:
I have just tried mvn -Drun.mode=production jetty:run ... but sadly
There are so many ways ...
1. Use chooseTemplate technique. I think the examples application
from /sites uses this.
2. In the snippet you have the snippet content and you can just strip
it out
3. You can have a little JavaScript that is called when the page loads
that shows or hides the div ...
Dave if you're doing benchmarks can you try using the template caching
mechanism ? .. and try to see the differences ?
Br's,
Marius
On May 4, 6:23 am, David Pollak feeder.of.the.be...@gmail.com wrote:
On Sun, May 3, 2009 at 4:11 PM, Daniel Guryca dun...@gmail.com wrote:
I have just tried mvn
On Sun, May 3, 2009 at 7:58 AM, richard.car...@me.com richard.car...@me.com
wrote:
My personal view is that a worked example of a fully featured
eCommerce type site would be most useful. Even something as simple as
a cut down Amazon style store with inventory management would be a
great
How about the for comprehension?
for {xml - req.xml
fooTag - (xml \ foo).firstOption
response - myFunction(fooTag)
} yield response
On Mon, May 4, 2009 at 8:51 AM, Channing Walton channingwal...@mac.comwrote:
Hi,
I am building a web app which has a rest API. I found
Fixed in the ScalaJPA docs. If you do need a List, just use the toList
method on the returned Seq.
Derek
On Sun, May 3, 2009 at 4:05 AM, TSP tim.pig...@optrak.co.uk wrote:
OK to answer own question in case anyone has similar problems:
ScalaEntityManager returns a bufferWrapper from the
Thanks David and Derek, I will tinker with those ideas.
--~--~-~--~~~---~--~~
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
Daniel,
I did a little measurement of Lift and did some tuning. On my Core 920
machine with 12GB of RAM running Ubuntu 9.04 and the JDK 1.6.0_13 in 64 bit
mode with Tomcat 6.0.18 (I ran into some bugs in Jetty while measuring with
ab). My baseline running (both locally and across the network)
Just to throw in another data point, I ran the tests on my AMD Phenom X2 720
(3 cores, 6GB of RAM):
I generated the archetype exactly as you have it here.
Ran mvn -Drun.mode=production -Djetty.port=9090 jetty:run
Output from Apache Bench:
$ ab -c 10 -n 2
Just my two pence, but id got for chooseTemplate. If it helps, I
discuss using chooseTemplate in this article: http://is.gd/sfyT
Cheers, Tim
On May 4, 3:33 pm, marius d. marius.dan...@gmail.com wrote:
There are so many ways ...
1. Use chooseTemplate technique. I think the examples
Derek,
Please note that about half of the requests failed in Jetty. Jetty does not
seem to be explicitly closing the NIO sockets leading to an out of IO
descriptor problem... that's why I used Tomcat.
Thanks,
David
On Mon, May 4, 2009 at 2:47 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
Yeah, I just noticed that on my jetty console. Bummer.
On Mon, May 4, 2009 at 3:59 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
Derek,
Please note that about half of the requests failed in Jetty. Jetty does
not seem to be explicitly closing the NIO sockets leading to an out of IO
On my AMD box (AMD Athlon(tm) 64 X2 Dual Core Processor 3800+) with about
800MB of RAM (part of the RAM is used for the video controller), I started
Tomcat with:
export JAVA_OPTS=-Drun.mode=production -server -Xmx650M
and here are the results:
d...@testomatic:~/apache-tomcat-6.0.18$ ab -c 10
Folks,
Based on feedback, I've made some enhancements to Lift:
- Template caching is on by default when in Production mode
- Method lookup caching is on by default in Production mode for snippet
dispatching
- In development mode, snippet failures will be displayed in the browser
Dan,
You'll now receive a much more helpful 403 message if you're running in
development mode.
Thanks,
David
On Sun, May 3, 2009 at 12:21 PM, Dan Greening green...@gmail.com wrote:
I just broke my teeth on this problem also (and 2 days wasted later I
discover this thread). I would say
Very nice.
On Mon, May 4, 2009 at 4:29 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
Folks,
Based on feedback, I've made some enhancements to Lift:
- Template caching is on by default when in Production mode
- Method lookup caching is on by default in Production mode for
Hi,
I saw the following after moving my project from lift 1.0 to 1.1-M1:
[WARNING] self-type com.company.model.City does not conform to
net.liftweb.mapper.CRUDify[Long,com.company.model.City]'s selftype
net.liftweb.mapper.CRUDify[Long,com.company.model.City] with
com.company.model.City with
On Mon, May 4, 2009 at 4:10 PM, jon jonhoff...@gmail.com wrote:
Hi,
I saw the following after moving my project from lift 1.0 to 1.1-M1:
[WARNING] self-type com.company.model.City does not conform to
net.liftweb.mapper.CRUDify[Long,com.company.model.City]'s selftype
Hi Chas,
Glad to see that there will be some time spent expanding and refining
the Lift documentation, good docs are definitely the sign of a well
run project. I am one of those lurkers you speak about, so I thought
I'd speak up and give my input.
I would like to see explanations on creating
Thanks David,
Here are two user stories I would like Lift to implement (and I think
would be highly beneficial for Lift uptake):
1. As an application developer, I can easily add Lift to my existing
static web site. My existing static content continues to be displayed
properly, while Lift
To get both of these user stories, either:
Set the web.xml file to only send Lift-related URLs to the Lift servlet
filter.
Set LiftRules.passNotFoundToChain = true in Boot.scala
The former uses your container's features to only send particular requests.
The latter tells Lift to pass requests
On Mon, May 4, 2009 at 6:27 PM, sailormoo...@gmail.com
sailormoo...@gmail.com wrote:
Hi :
Can you explain a bit more how template caching works?
The first time a template is accessed, it's put into a hashtable so that the
next time its accessed, it doesn't have to be loaded as a resource
Lifted, Scalad and lasses,
Recently Martin passed along a little code challenge regarding scalable
abstractions for building a little lambda calculus evaluator. i've finally
put together a 1st draft response. i've still got a lot of debugging to do,
but the solution
Thanks, it works! (It is not in Exploring Lift. Who do I lobby to get
it in?)
I have a feeling there are many hidden treasures in Lift. I must love
Scala, because I wrote a huge recursive thing to populate a SiteMap.
LOL
Dan
On May 4, 6:43 pm, David Pollak feeder.of.the.be...@gmail.com
How can I create a widget to render a customized button. This is
probably trivial, but I failed on my first attempt.
object MyButton {
def red(value: String, func: () = Unit, attrs: (String, String)*):
Elem =
fmapFunc(NFuncHolder(func))(funcName =
button name={funcName} type=submit
30 matches
Mail list logo