On Thu, Oct 23, 2008 at 2:47 PM, Warren Henning [EMAIL PROTECTED]wrote:
On Thu, Oct 23, 2008 at 2:43 PM, David Pollak
[EMAIL PROTECTED] wrote:
The folks at Twitter love Scala and say so publicly.
Off-topic: are you at liberty to discuss the extent of Scala usage at
Twitter? What
Tim Perrett wrote:
Hey guys,
We had a discussion some time ago about plugins (
http://groups.google.com/group/liftweb/browse_thread/thread/a875258c5cccdf09
) - well i've started thinking about them again!
I get everything in the previous thread, apart from one thing... how
through a
Marius is working on the Record/Field stuff.
The Record/Field stuff will replace Lift's mapper.
The Record/Field stuff will have pluggable persistence and maybe someone
will plug JPA into it.
On Fri, Oct 24, 2008 at 9:30 AM, Tim Perrett [EMAIL PROTECTED] wrote:
Cheers guys, one thing though
I think using the JSON handler is the best approach. You can add arbitrary
client fields and as long as there's a server-side JSON handler for the
given field, you're golden.
On Mon, Oct 27, 2008 at 2:48 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
I was also wondering if you could use a JSON
Derek,
I've applied this patch. Sorry for taking so long to get back to you.
David
Derek Chen-Becker wrote:
Back in this commit:
http://github.com/dpp/liftweb/commit/645d9649a5956f0b67edbe8ded4d1b0136164980
If the intention is for LiftRules.determineContentType to be the sole
arbiter
This is a bug in Scala 2.7.1 Please do a mvn clean install and it'll go
away.
On Mon, Oct 27, 2008 at 6:53 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
Anyone know what this means:
[WARNING] Exception in thread main java.lang.RuntimeException:
malformed Scala signature of Mailer at 5411;
be interested.)
Thanks,
Chas.
David Pollak wrote:
This is a bug in Scala 2.7.1 Please do a mvn clean install and it'll go
away.
On Mon, Oct 27, 2008 at 6:53 PM, Charles F. Munat [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Anyone know what this means:
[WARNING
There are a couple of testing things that need to get woven together.
Specs is a great way to write code-level tests.
Lift's testkit is pretty good for writing REST tests and okay for writing
JSON tests.
There's no good way to write automated tests for the Lift HTML layer. :-(
On 10/30/08,
Excellent stuff!
On 11/1/08, Tim Perrett [EMAIL PROTECTED] wrote:
Hey guys,
I've updated the Gravatar widget that was origionally created by Ty.
The implementation now is actually very different. No longer is the
Gravatar class an instansiable class, its an object with overloaded
apply
I have a review on my to-do list. I'm the blocking factor here.
On Sun, Nov 2, 2008 at 1:09 PM, Tim Perrett [EMAIL PROTECTED] wrote:
Hey all,
Just thought id drop a quick line to see how the record / field branch
was progressing? I keep getting updates to that branch in my local
git, so I
to do:
1. Completed the list of supported fields (without DB specifics ... I
think David will step in here ... hopefully someone else can help here
to speed up things?)
2. Fix potential bugs.
P.S.
No DB specific stuff yet - remains to be added
Br's,
Marius
On Nov 2, 11:18 pm, David Pollak
Are you using Eclipse for development?
On Thu, Nov 6, 2008 at 3:13 PM, Erick Fleming [EMAIL PROTECTED] wrote:
I've been racking my brain on this for some time and don't understand the
problem. The cancel button redirects fine, but the save button gives an
error. What am I missing?
On Thu, Nov 6, 2008 at 4:15 PM, Erick Fleming [EMAIL PROTECTED] wrote:
No. Just VIM and maven-plugin.
Try doing an mvn clean jetty:run and see what happens.
On Thu, Nov 6, 2008 at 5:17 PM, David Pollak
[EMAIL PROTECTED] wrote:
Are you using Eclipse for development?
On Thu, Nov 6
Folks,
I will be doing two
presentationshttp://www.siliconvalley-codecamp.com/Sessions.aspx?ForceSortBySessionTime=trueid=55at
the Silicon
Valley Code Camp
http://www.siliconvalley-codecamp.com/Default.aspxtomorrow (Sunday
November 9).
I will be doing a beginner presentation on Scala tips and
On Sat, Nov 8, 2008 at 3:58 PM, Warren Henning [EMAIL PROTECTED]wrote:
On Sat, Nov 8, 2008 at 3:33 PM, David Pollak
[EMAIL PROTECTED] wrote:
I will also be doing an intermediate presentation on Lift. This
presentation will be a live coding example where I'll build a real time chat
app
on our workshop website
http://www.liftworkshop.com
We will be providing some snacks and coffee in the morning and a good meal
for lunch.
We plan to go out for Beer aftewards at a pub near the BART station.
We look forward to having you at our training.
Thanks,
David Pollak
Jorge Oritz
Kaliya
Miles Sabin wrote:
On Sat, Nov 8, 2008 at 11:05 PM, David Pollak
[EMAIL PROTECTED] wrote:
There is a way around this issue if you want to have a fancy DNS set-up, but
the default behavior is to make sure the browser's connections never get
clogged up.
DNS wildcards?
DNS
John Nilsson wrote:
On Sun, Nov 9, 2008 at 1:13 PM, Tim Perrett [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hey John,
I take your point for sure - the only thing id say on this would be
that there is argument (both for and against) of holding this type of
resource
Nobody to my knowledge has done any GWT with Lift. I look forward to your
questions and results.
On Sun, Nov 9, 2008 at 12:45 AM, mal3 [EMAIL PROTECTED] wrote:
I know GWT and I'm beginning to learn Lift.
I understand that Lift can use JavaScript libraries, and GWT outputs
JavaScript.
Has
On Sun, Nov 9, 2008 at 5:45 AM, Tim Perrett [EMAIL PROTECTED] wrote:
Hey guys,
How would I go about implementing digest authentication within lift? I
don't really want to implement this at pure web-server level (e.g.
jetty or tomcat) as I need it to interact with my application.
For
I would do something like this in my DispatchPf:
{
case RequestState(api :: _, _, ) if !goodAuthHeader = return 401
case RequestSate()
}
So, the first pattern matches any API request (anything to /api/). It
tests for a good auth header (this is where your code pulls the auth
will be presented.
Thanks,
David
Cheers
Tim
On Nov 9, 2:00 pm, David Pollak [EMAIL PROTECTED]
wrote:
I would do something like this in my DispatchPf:
{
case RequestState(api :: _, _, ) if !goodAuthHeader = return 401
case RequestSate()
}
So, the first pattern
Tim Perrett wrote:
So, there's a bug is ESME (or maybe it's in the NGINX/Jetty bridge... I have
to research it)... that doesn't mean you can't do stuff in Lift.
If you respond to a request with:
XmlResponse(mytag/mytag)
The headers will be set correctly.
Of course not - im
On Sun, Nov 9, 2008 at 8:08 AM, Tim Perrett [EMAIL PROTECTED] wrote:
One other thought on this, if no credentials are found, wouldn't it be
best to challenge the requester with a 401, but with the www-
authenticate header or something? Rather than just providing a plain
401?
Perhaps this
On Mon, Nov 10, 2008 at 10:32 AM, John Nilsson [EMAIL PROTECTED] wrote:
case RequestState(api :: myservice :: Nil, js, GetReqeust) =
vs.
case RequestState(api :: myservice :: Nil, _, GetRequest) if
acceptsJavaScript =
I'm not saying it's wrong to base decisions on the URL. But
On Mon, Nov 10, 2008 at 2:52 PM, Sebastien Bocq [EMAIL PROTECTED]wrote:
I restarted jetty with clean but it still doesn't work. I use the
following version of maven with the default options.
Maven version: 2.0.9
Java version: 1.6.0_07
What OS are you using and how much RAM is in your
with 2Gb RAM. Even commenting out the 'div' line is
not enough, it works only when I remove it.
2008/11/11 David Pollak [EMAIL PROTECTED]:
On Mon, Nov 10, 2008 at 2:52 PM, Sebastien Bocq
[EMAIL PROTECTED]
wrote:
I restarted jetty with clean but it still doesn't work. I use
causes problem. I sent you the files.
Sebastien
2008/11/11 David Pollak [EMAIL PROTECTED]:
Please replace the div line with:
spanHello/span
and
divhowdy/div
And see if that makes any difference.
Also, please email the file that fails to me directly. I'll test it on
my
system
Do you want one chat room per instance (but you get to choose the chat room)
or do you want to have many chat room comet actors?
If it's the former, I'd set up a SessionVar with the current chat room. The
CometActor would access that SessionVar during initialization and choose the
chat room
Try this:
def create(xhtml: Group): NodeSeq = {
def redo(b: Blog)(n: NodeSeq): NodeSeq = table(b.toForm(Full(Create),
redo(b), handleSubmit _))
User.currentUser.map(_.createBlog) match {
case Full(b) = redo(b)(xhtml)
case _ = S.warning(There's no user logged in); NodeSeq.Empty
I think you're going to have to do this one manually. Attached, please find
some less than efficient code.
On Thu, Nov 13, 2008 at 10:30 AM, Charles F. Munat [EMAIL PROTECTED] wrote:
If I have an entity thus:
@Entity
class Category {
var name : String =
}
and another:
@Entity
On Thu, Nov 13, 2008 at 12:46 PM, Sebastien Bocq
[EMAIL PROTECTED]wrote:
Sorry for the double posts... There is like a big delay between the
time I post and the time it appears on the mailing list and it is not
easy to write twice exactly the same text, hum hum...
New members of the group
Very interesting defect you found.
There's a map of functions associated with the session. That map was not
being updated for functions created during a partial update.
I've committed a fix and tested it with the enclosed code.
Thanks for finding the defect.
As a matter of style, I don't
is not the goal. Did I miss something?
Cheers, Tim
Sent from my iPhone
On 11 Nov 2008, at 21:11, Viktor Klang [EMAIL PROTECTED] wrote:
Thanks for the how-to Dave!
Looks splendid :)
On Tue, Nov 11, 2008 at 9:49 PM, David Pollak [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Folks,
I've
I've been using netbeans very succesfully. I recomend it.
Thanks,
David
On Nov 15, 2008 8:53 AM, Oscar Picasso [EMAIL PROTECTED] wrote:
Hi,
Which tools would you recommend to work for a lift project, and more
generally with scala?
The requirement being that the project also uses maven.
I
,
but it generally seems to work OK if I set up the .classpath file properly
to point at all of the source folders.
Thanks,
Derek
On Sat, Nov 15, 2008 at 11:25 AM, David Pollak
[EMAIL PROTECTED] wrote: I've bee...
--~--~-~--~~~---~--~~
You received this message
moving my sites back
to XHTML and even trying to serve it with the proper mime type. So
thanks for that!
Cool.
I'll post other issues as they come up.
Chas.
David Pollak wrote:
On Sat, Nov 15, 2008 at 9:24 PM, Charles F. Munat [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote
Joachim,
Many moons ago, Lift automatically created a JDBC transaction when it
started handling an HTTP request and committed/released the connection at
the end of the request. I don't know where that code went. :-(
You can use the following code:
/**
* Build a LoanWrapper to pass into
On Mon, Nov 17, 2008 at 8:50 AM, Paul Butcher [EMAIL PROTECTED] wrote:
On Nov 17, 4:28 pm, TylerWeir [EMAIL PROTECTED] wrote:
The signature of CometActor changed from 0.9 to 0.10.
Thanks Tyler. I thought that it might be something like that, but when
I checked the latest version of the
Ramzi,
This is possible, but tricky with the current code.
We're in the process of upgrading Lift to work with Scala 2.7.2 Once the
switch-over happens (sometime this week), I'll code up some stuff in SiteMap
to give you a complete menu.
Thanks,
David
On Sat, Nov 15, 2008 at 1:36 PM, Ramzi
On Mon, Nov 17, 2008 at 10:33 AM, tacobandit [EMAIL PROTECTED] wrote:
I noticed mvn pulled a new lift today and it seems it's still not
working with scala 2.7.2? I'm not worried about it or anything just
wondering if I'm doing something wrong since I think David Pollack
remarked that once
On Mon, Nov 17, 2008 at 10:58 AM, Jorge Ortiz [EMAIL PROTECTED] wrote:
I've just upgraded Lift's trunk to work with the newest release of Scala
(2.7.2), Specs (1.4.0), and Scalacheck (1.5). These changes are available in
the source code immediately, and should be reflected in the binaries
Weird.
I spent a while this morning adding these tests and they do indeed pass on
my machine.
I'm trying a clean build (I just blew away my Maven repository) to see if I
can reproduce the issue.
On Mon, Nov 17, 2008 at 1:43 PM, Sebastien Bocq [EMAIL PROTECTED]wrote:
Hello,
I could not
Try blowing away your Maven repository.
On Mon, Nov 17, 2008 at 2:22 PM, Tim Perrett [EMAIL PROTECTED] wrote:
Hey guys,
Just did:
mvn clean package install scala:doc
and then cd'd into sites/example and did:
mvn jetty:run
Upon hitting http://127.0.0.1:8080 I got:
On Mon, Nov 17, 2008 at 3:41 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
Added:
http://liftweb.net/index.php/FAQ#How_do_I_add_attributes_to_form_fields_created_with_SHtml_methods.3F
Awesome! Thanks!
Chas.
Jorge Ortiz wrote:
Oops, it might be:
SHtml.text(user.name
.
Derek
On Mon, Nov 17, 2008 at 5:01 PM, Oscar Picasso [EMAIL PROTECTED]wrote:
Two book? Wow!
Any idea when they are expected?
Oscar
On Mon, Nov 17, 2008 at 1:51 PM, David Pollak
[EMAIL PROTECTED] wrote:
On Mon, Nov 17, 2008 at 10:33 AM, tacobandit [EMAIL PROTECTED]wrote:
I noticed
Matt,
I've got a fair number of production sites running Lift-based apps and I
haven't experienced this particular issue. However, if the heap size in my
container starts off small (256M), then I do see out of memory issues.
How big is the heap size in your app?
How many sessions do you have
the same result.
On Nov 17, 1:58 pm, David Pollak [EMAIL PROTECTED]
wrote:
Weird.
I spent a while this morning adding these tests and they do indeed pass
on
my machine.
I'm trying a clean build (I just blew away my Maven repository) to see if
I
can reproduce the issue.
On Mon
I'm using NetBeans 6.5 release with the plugin.
It rocks the known universe.
Caoyuan, awesome work!
On Tue, Nov 18, 2008 at 11:03 AM, Caoyuan [EMAIL PROTECTED] wrote:
I'm pleased to announce the availability of Scala plugin for coming
NetBeans 6.5 official release.
* Much better
Tim,
I'm added !! to Can, so you can write:
Can !! String // Full(String)
It'll be in the repo soon.
Thanks for the suggestion.
David
On Wed, Nov 19, 2008 at 2:25 PM, Tim Perrett [EMAIL PROTECTED] wrote:
Hi guys,
Just been chasing around for a little while on something here because
of
So... where should I be getting stuff?
On Wed, Nov 19, 2008 at 8:33 PM, Caoyuan [EMAIL PROTECTED] wrote:
On Thu, Nov 20, 2008 at 4:05 AM, David Pollak
[EMAIL PROTECTED] wrote:
I'm using NetBeans 6.5 release with the plugin.
It rocks the known universe.
Hi David,
Thanks for your
, Nov 20, 2008 at 12:37 PM, David Pollak
[EMAIL PROTECTED] wrote:
So... where should I be getting stuff?
On Wed, Nov 19, 2008 at 8:33 PM, Caoyuan [EMAIL PROTECTED] wrote:
On Thu, Nov 20, 2008 at 4:05 AM, David Pollak
[EMAIL PROTECTED] wrote:
I'm using NetBeans 6.5 release
On Thu, Nov 20, 2008 at 6:26 AM, Paul Butcher [EMAIL PROTECTED] wrote:
On Nov 20, 2:00 pm, David Pollak [EMAIL PROTECTED]
wrote:
When you run out of memory, that's the end of a given job. How much RAM
is
in your machine?
As much as will physically fit (3G).
Linux (what distro
On Thu, Nov 20, 2008 at 6:44 AM, Paul Butcher [EMAIL PROTECTED] wrote:
On Nov 20, 2:31 pm, David Pollak [EMAIL PROTECTED]
wrote:
I just did a successful build on my Linux machine with 3GB of RAM (I got
the
bcel format warning)
Ah - so the error is the out of memory error? The format
I'll try to add the feature this weekend.
On Fri, Nov 21, 2008 at 7:19 AM, Joachim A. [EMAIL PROTECTED]wrote:
Hi,
I'm using 0.10-SNAPSHOT and it's mapper classes.
Im wondering how I can do something like select * from Test t where
t.name LIKE '%test%.
I've found the classes QueryParam,
Excellent
It would be great to having a collection of REST response for xml, json, etc
based on success failure etc
On Nov 22, 2008 11:21 AM, Tim Perrett [EMAIL PROTECTED] wrote:
Ok - i've done the re-factor and committed.
On Nov 22, 7:03 pm, Marius [EMAIL PROTECTED] wrote: As long as
On Mon, Nov 24, 2008 at 2:48 PM, David Stein [EMAIL PROTECTED] wrote:
On Mon, Nov 24, 2008 at 9:05 AM, David Pollak
[EMAIL PROTECTED] wrote:
snip
Does that help?
Thanks,
David
You make it look easy! Yes, that's just what I wanted. I was looking
in net.liftweb.sitemap for some
The return type is JsCmd because 80% of the time the Ajax command causes
some update top be sent to the browser. So, the special case is a Noop
(sometimes I do an implicit Unit - Noop) and the default case is returning
the code to be rendered in the browser.
On Nov 25, 2008 5:04 AM, Jorge
Shtml.ajaxCheckbox(thing.isChecked, b = {thing.setChecked(b); JsCmds.Noop})
On Nov 25, 2008 4:12 AM, Charles F. Munat [EMAIL PROTECTED] wrote:
I want to update an attribute on a model object in the database via AJAX
when a checkbox is clicked on a page. I presume that ajaxCheckbox is for
this
On Tue, Nov 25, 2008 at 5:44 PM, Erick Fleming [EMAIL PROTECTED]wrote:
I second Kris's suggestion. I'm new to Lift and Scala, but know Java. If
first started converting a Wicket application to Scala. It's pretty easy to
write a Java applications using Scala, but you really don't learn
On Wed, Nov 26, 2008 at 7:34 AM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
I'm in the process of playing with the Record code so I have some examples
for the book. I've run into two small issues:
1. I'm writing a custom Field type (DecimalField) and it seems like the
On Wed, Nov 26, 2008 at 10:28 AM, Marius [EMAIL PROTECTED] wrote:
I believe so. Record/Field currently provide necessary abstraction and
server side validation structure. JDBC implementation for Record stuff
it's on its way ... and of course one could write a DB4O
implementation for it.
I
think this can be accomplished with the Maven infrastructure. We're
hosting a fair and growing number of Maven repositorie at scala-tools.org I
would love to see lots of project hosted at GitHub and built and served via
ScalaTools.
Cheers
Tim
On 26 Nov 2008, at 18:32, David Pollak wrote
probably far in the
future.
It's likely that Mapper will be the official ORM tool for Lift 1.0 and the
Record stuff will mature and be the recommended ORM tool for Lift 1.1+
// Juha
On Nov 24, 7:08 pm, David Pollak [EMAIL PROTECTED]
wrote:
Juha,
Yep... Lift doesn't do a lot of automagic
Folks,
One of the things that came out of the Lift Workshop was the need for
tracing of rewrites, sitemaps, etc.
Most of the rewrite, etc. logic is buried in PartialFunctions that are
composed together.
In order to accommodate the need to trace what code is changing requests,
matching stuff for
Tim,
Please remember that Lift's Snippet processing is recursive. Thus, you
don't really need to hook into the templating system in order to be able to
using Lift's templates. For example, if your snippet returned:
spanlift:comet type=Dog/lift:comet type=Cat//span
Lift would then interpret
On Sun, Nov 30, 2008 at 3:46 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
OK, I have a maven-lift plugin done with an i18ngen target that you can
use to parse all of your Scala and xhtml sources for i18n keys (lift:loc,
etc). The question now is, where should I put it? Should I put it in the
, DbgPartialFunction, DebugPf, DbgPf,
TracePartialFunction, TracePf
(Sort of took the shotgun approach :)
On Nov 26, 4:19 pm, Marius [EMAIL PROTECTED] wrote:
TrackPf ?
On Nov 26, 10:21 pm, David Pollak [EMAIL PROTECTED]
wrote:
Folks,
One of the things that came out of the Lift Workshop
I've added def dmap[B](dflt: = B)(f: A = B): B to Cans:
S.param(foo).dmap(5)(toInt)
On Fri, Nov 28, 2008 at 6:53 AM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
I have to say, I love this Can-map-openOr idiom. I use it all of the
time in my code for parameter handling, etc.
Derek
On Fri,
On Fri, Nov 28, 2008 at 4:39 AM, Acciaio [EMAIL PROTECTED] wrote:
Thanx for the advice,
Now I'm writing code into eclipse with a project setted up without
source files to compile
and after I run jetty I also run a scala:cc on the same project...
Don't works perfectly but in this way I
My 2 cents:
- I'm strongly opposed to any compiler plugins as they (1) mean that IDEs
will work less well and (2) they require some sort of installation (if they
can be rolled into the Maven building stuff, it makes this objection go
away)
- I'm strongly opposed to mixing
On Mon, Dec 1, 2008 at 10:24 AM, Alex Boisvert [EMAIL PROTECTED] wrote:
Isn't this similar to Option.mapOrElse that you opposed on the scala
mailing list? :)
In fact it is. :-)
Polluting Scala is bad. Polluting Lift is less bad.
alex
On Mon, Dec 1, 2008 at 9:55 AM, David Pollak
Marius,
Back when I wrote the mapper stuff, there were a bunch of limitations of
using vals:
- Because of uniform access rules, the difference between val foo = new
Thing ; def bar = foo was not possible to calculate. It looks like the
compiler now stores things in a named field, so
On Sun, Nov 30, 2008 at 6:07 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi ... new to Scala and Lift. I'm having trouble understanding how to
think about a project with a horizontally scaled database. I guess
people call this sharding these days? My existing app uses PHP, no
Charles,
If you're planning to deploy this app in IE, you may have an issue. My
experience with IE is that adding/removing tr doesn't always work well.
:-(
What is most likely happening is that your button is inside a form. It
turns out that there's a race condition where sometimes the
On Thu, Oct 9, 2008 at 9:46 AM, Charles F. Munat [EMAIL PROTECTED] wrote:
Is it possible to do joins in Lift Mapper?
For example, I have a Category class that has a name and position (an
int). I have a Document class that has a name, a URI, and a Category.
I want to query the database and
Charles,
I use NetBeans and a whole lot of printlns. In general, if you've got a
case class or Scala collections, the toString methods are pretty descriptive
of what's going on.
I have heard tell that it's possible to hook the NetBeans debugger up to a
running Jetty instance and do breakpoints
On Mon, Dec 1, 2008 at 1:44 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
Hi,
I'm writing the chapter on Mapper/Record right now and I was wondering
why there have been small name changes between the two frameworks. Things
like
1. MappedField.validations vs. Field.validators
2.
On Mon, Nov 17, 2008 at 4:54 PM, David Pollak
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
On Mon, Nov 17, 2008 at 3:41 PM, Charles F. Munat [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Added:
http://liftweb.net/index.php/FAQ
The exception is an out of memory exception.
What OS and RAM size are you running?
On Mon, Dec 1, 2008 at 1:44 PM, Juha L [EMAIL PROTECTED] wrote:
I'm not sure whether it is just me, but I seem to be stumbling on the
Scala compiler exceptions whatever I do. First there was one when
creating
Derek,
I've made the default behavior to not pass requests to the container (you
can change the default in LiftRules.)
That will address the raw template being displayed.
Now... I have no idea why you need an index and a List(index) always
matches for me.
Are you using 0.10-SNAPSHOT?
some variable
differently? I tried enlarging the heap space and things just got worse.
I don't seem to have a plethora of other choices.
Chas.
David Pollak wrote:
Charles,
I use NetBeans and a whole lot of printlns. In general, if you've got a
case class or Scala collections
I just pushed a change... change the line to:
class Entry extends KeyedRecord[Entry,Long]
and see if it works.
On Mon, Dec 1, 2008 at 3:39 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
I'm writing up some sample code for the book (Record chapter) and I got
this when trying to do a keyed
You certainly can. The easiest way is with the JsonFunc:
val (jsonCall: JsonCall, jsCmd: JsCmd) = S.buildJsonFunc {
case JsonCmd(DoSomething, _, s, _) =
println(Got +s)
Alert(You entered: +s)
case _ = Noop
}
In your page, include:
span
{
Script(jsCmd) // emit the JSON call
}
{
Please make sure that you've got specs 1.4.0 and scalacheck 1.5
Also, please do an mvn clean test
Thanks,
David
On Sat, Nov 29, 2008 at 3:45 AM, Juha L [EMAIL PROTECTED] wrote:
I managed after all to find specs test example from the example
webapp. Now that I try to start creating some
happens. But I had the same experience a couple of months ago when I
tried it for the first time. I'd really like it to work, though. That
would be great, and it would be consistent with my Linux box.
Chas.
David Pollak wrote:
There was a defect in the plugin. Cauyuon posted a fix to this list
that converts CR/LF pairs into LF. Please see if it works
now.
2008/11/19 David Pollak [EMAIL PROTECTED]:
On Tue, Nov 18, 2008 at 4:59 PM, David Pollak
[EMAIL PROTECTED] wrote:
On Tue, Nov 18, 2008 at 1:17 PM, Dano [EMAIL PROTECTED] wrote:
This is a really curious error. Using
-SNAPSHOT.
// Juha
On Tue, Dec 2, 2008 at 2:42 AM, David Pollak
[EMAIL PROTECTED] wrote:
Please make sure that you've got specs 1.4.0 and scalacheck 1.5
Also, please do an mvn clean test
Thanks,
David
On Sat, Nov 29, 2008 at 3:45 AM, Juha L [EMAIL PROTECTED] wrote:
I managed after all
I did some benchmarks. Accessing new methods is 50% slowere vs objects. On
the other hand, accessing existing methods is faster because acessing vals
is faster than accessing objects.
On Dec 2, 2008 10:24 AM, Jorge Ortiz [EMAIL PROTECTED] wrote:
If you add (non-overriden) fields to a val,
:-)
On Dec 2, 2008 11:00 AM, Derek Chen-Becker [EMAIL PROTECTED] wrote:
I just found this email while researching all of the CRUD stuff in mapper.
One word: supercalifragilisticexpialidocious!
On Thu, Nov 20, 2008 at 7:23 PM, David Pollak [EMAIL PROTECTED]
wrote: Folks
Rewrites are recursive... they will keep getting applied until there are
none more rewrites to apply. You could store the retrieved path in a
requestvar. Then you put a guard in your pattern tests the requestvar.
With that being said, I've been thinking about a flag on the rewriteresponse
On Tue, Dec 2, 2008 at 11:07 AM, Jorge Ortiz [EMAIL PROTECTED] wrote:
I agree. Fields should be perfectly functional by just overriding members.
But it should be mentioned in docs, etc as Lift best practices to not add
methods or fields inside of Fields.
I'm not sure I would call this a best
document.category.obj already
preloaded.
Can this become a viable approach?
Great suggestion. I'll add it to my to-do list.
On Mon, Dec 1, 2008 at 11:42 PM, David Pollak
[EMAIL PROTECTED] wrote:
On Thu, Oct 9, 2008 at 9:46 AM, Charles F. Munat [EMAIL PROTECTED] wrote
]
[ERROR] BUILD FAILURE
[INFO]
[INFO] command line returned non-zero value:1
2008/12/2 David Pollak [EMAIL PROTECTED]:
On Wed, Nov 19, 2008 at 11:59 AM, Sebastien Bocq
[EMAIL PROTECTED
On Tue, Dec 2, 2008 at 2:31 PM, Marc Weber [EMAIL PROTECTED] wrote:
Hi David,
On Tue, Dec 02, 2008 at 02:14:51PM -0800, David Pollak wrote:
Nice mentions of Scala and Lift.
I have attached a copy of the article on ESME which just appeared in
SAP
that's nice to tell others about
Cool. Thanks for taking the time to help.
On Dec 3, 2008 5:31 AM, Sebastien Bocq [EMAIL PROTECTED] wrote:
It's ok now. Thanks.
2008/12/2 David Pollak [EMAIL PROTECTED]: Sorry. THe build
should be fixed (Thanks...
--~--~-~--~~~---~--~~
You received this message
On Tue, Dec 2, 2008 at 11:56 PM, philip [EMAIL PROTECTED] wrote:
Hi,
Don't get excited, its not very good - I started on a cheatsheet for
liftweb, but at the moment don't have time to continue doing it.
Hopefully it inspires someone to continue? In particular I want to
know more about
On Wed, Dec 3, 2008 at 2:05 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
Will this support preload for HasManyThrough?
No. Sorry.
Derek
On Tue, Dec 2, 2008 at 6:27 PM, David Pollak
[EMAIL PROTECTED] wrote:
On Tue, Dec 2, 2008 at 10:48 AM, Sasha Kazachonak [EMAIL PROTECTED]wrote
On Wed, Dec 3, 2008 at 2:30 PM, Tim Perrett [EMAIL PROTECTED] wrote:
Awesome - this works!
Cool
The only slight issue i have now is that calls for:
/ajax_request/liftAjax.js
/classpath/jquery.js
etc etc (the default lift stuff) is not being processed. I guess i
need to create a
On Wed, Dec 3, 2008 at 2:27 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
I was just wondering why the BySql QueryParam doesn't require the
IHaveValidatedThisSql case class. Looking at the source it seems that it
could be just as vulnerable to some shenanigans, although admittedly I'm not
an
101 - 200 of 2809 matches
Mail list logo