Such service! Thanks, David.
On Oct 6, 12:10 am, David Pollak
wrote:
> I'm setting up an OpenJDK ubuntu instance to test
>
> On Mon, Oct 5, 2009 at 1:10 PM, Peter Robinett wrote:
>
>
>
>
>
> > Ross, I am using OpenJDK:
> > $ java -version
>
ren wrote:
> I thought someone mentioned this a little while ago and it was due to
> OpenJDK (and only related to the YUI compressor)?
>
> -Ross
>
> On Oct 5, 2009, at 1:25 PM, jon wrote:
>
>
>
> > Is there a syntax problem in one of your javascript files?
>
gt; On Sat, Oct 3, 2009 at 3:00 AM, Peter Robinett wrote:
>
>
>
>
>
> > I have a model, Node, with a string index. I have another model,
> > Packet, which has a MappedStringForeignKey to Node. Unfortunately,
> > Schemifier doesn't seem to respect the MappedStrin
learn!), I'd appreciate any tips on how to get it to work again.
Thanks in advance,
Peter Robinett
PS I thought I already posted a version of this message but I don't
see it on the Groups site. My apologies if this message is a
duplicate.
$ mvn jetty:run
[INFO] Scanning for projects...
[
Glad to help.
Peter
On Oct 5, 11:29 am, donfranciscodequevedo
wrote:
> Thanks Peter, that pretty much answers my question!
>
> On 5 Okt., 01:17, Peter Robinett wrote:
>
> > Hi Gregor,
>
> > For my Mapper model called Packet, my companion object looks like
> >
tring(node)) <- packet
> JField("dt", JInt(dt)) <- packet
> JField("temp", JDouble(temp)) <- packet
>
> } yield // construct Packet here
>
> Cheers Joni
>
> On Oct 5, 2:13 am, Peter Robinett wrote:
>
> > Thanks, Joni.
>
> >
ladocs for
MetaMapper show many before and after events that you can override
like I've done with afterCreate:
http://scala-tools.org/mvnsites-snapshots/liftweb/lift-mapper/scaladocs/net/liftweb/mapper/MetaMapper.html
Peter Robinett
On Oct 4, 10:47 pm, donfranciscodequevedo
wrote:
> Hi Mari
Thanks, Joni.
I've been playing with just that for comprehension syntax over the
weekend. How would I do it if I had multiple packets?
{
"packets": [
{
"node": "00:1D:C9:00:04:9F",
"dt": 1254553581405,
"temp": 27.5
},
{
"node": "00:1D:C9:00:04:9E",
"dt": 1254553582405,
On Oct 3, 12:04 pm, Kevin Wright
wrote:
> On Sat, Oct 3, 2009 at 10:43 AM, Peter Robinett
> wrote:
>
> > Thanks, Kevin. I'm going to poke around with lift-json a bit more but
> > a case class may be the way to go.
>
> case classes definitely get you som
I have a model, Node, with a string index. I have another model,
Packet, which has a MappedStringForeignKey to Node. Unfortunately,
Schemifier doesn't seem to respect the MappedStringForeignKey type and
creates a BIGINT column in the packets table, as you can see from its
output:
INFO - CREATE TAB
ably also want to rethink using ints for datetime (I guess
> this is what dt represents). Take a look at the scala-time library,
> which is a nice wrapper over Java's joda-time.
>
> On Sat, Oct 3, 2009 at 9:46 AM, Peter Robinett
> wrote:
>
> > I guess this is bas
reasonable request. This would make making JSON API
endpoints really easy for me and I hope for other people too.
Peter Robinett
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post t
> Tim
>
> On Fri, Oct 2, 2009 at 11:17 AM, Peter Robinett
> wrote:
>
>
>
> > Thanks, David. Unfortunately, I get errors that net.liftweb.json does
> > not exist. I imagine this is a configuration problem with my pom.xml,
> > which is here:http://gist.github.com
,
Peter
On Oct 2, 2:26 pm, David Pollak wrote:
> Peter,
>
> I'd suggest using the stuff in lift-json. It's a much faster, richer way to
> use JSON.
>
> Thanks,
>
> David
>
> On Thu, Oct 1, 2009 at 4:31 PM, Peter Robinett wrote:
>
>
>
>
>
>
Thanks, that did the trick.
Peter
On Oct 2, 11:15 am, Jeppe Nejsum Madsen wrote:
> Peter Robinett writes:
> > Hi all, I'm getting the following error and I think I'm missing
> > something very simple:
> > error: type mismatch;
> > found : List[net
ing 1.1-M5 but would be willing to
switch to 1.1-SNAPSHOT...
Thanks for your help.
Peter Robinett
[1]
http://groups.google.com/group/liftweb/browse_thread/thread/5ffe64492b0c19f2/c65424467bc99bbb
[2] http://groups.google.com/group/liftweb/msg/c0103375623f788f
--~--~-~--~~~-
, here are my relevant package
imports:
import _root_.net.liftweb.http.js._
import JsCmds._
import JE._
I'm using Lift 1.1-M5 and Scala 2.7.5. Any help is appreciated.
Thanks!
Peter Robinett
--~--~-~--~~~---~--~~
You received this message because you are subscr
t;
> I built the installer - some time ago I already upgraded the installer
> to the latest version of maven and removed java rebel as we are no
> longer bundling it.
>
> Cheers, Tim
>
> Sent from my iPhone
>
> On 14 Sep 2009, at 06:39, Peter Robinett
> wrote:
&g
e is broken.
>
> 2.0.10 should be the minimum version you need to fix that issue.
>
> On Sun, Sep 13, 2009 at 8:33 PM, Peter Robinett
> wrote:
>
>
>
> > Thanks, Kevin. Dropping in the latest version didn't seem to work (mvn
> > --version kept saying I still had 2.0.
I'm afraid I can't really give better advice for OS-X
> though.
> One other idea is to work with 1.1-M5, which should let you go offline on
> the older maven version - assuming you have no other snapshot dependencies.
>
> On Sun, Sep 13, 2009 at 10:51 PM, Peter Robinet
Sun, Sep 13, 2009 at 8:55 PM, Peter Robinett
> wrote:
>
>
>
> > Hi all,
>
> > I'm having problems running mvn -o jetty:run with my version of Lift
> > (1.1-SNAPSHOT) because Maven thinks that net.liftweb:lift-core:jar:1.1-
> > SNAPSHOT is
Hi all,
I'm having problems running mvn -o jetty:run with my version of Lift
(1.1-SNAPSHOT) because Maven thinks that net.liftweb:lift-core:jar:1.1-
SNAPSHOT is missing. How do I fix that? My pom.xml is here:
http://gist.github.com/186293
I've got an international plane flight in 24 hours, so I'
Yes, I'd love that.
Peter
On Sep 11, 12:25 pm, Derek Chen-Becker wrote:
> For that matter, was it a special (e.g. hand-run) build to make the
> "unified" ScalaDocs for 1.0? It would be nice if that were part of the
> normal build so that each new release had it.
>
> Derek
>
> On Thu, Sep 10, 20
Perfect, thanks!
Peter
On Sep 5, 11:18 am, Justin Reardon wrote:
> MetaMapper.bulkDelete_!! and the ByList query parameter should do what
> you want.
>
> On 5-Sep-09, at 13:31 , Peter Robinett wrote:
>
>
>
> > This is very simple question: Is there a way to delete
myModel.delete_!
})
})
Of course there's raw SQL but I'm hopping I can avoid it.
Thanks in advance,
Peter Robinett
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, se
println(updated)
println(r)
}
bind("entry", xhtml,
"users" -> SHtml.multiSelect(possible, current, loadUsers(_)),
"submit" -> SHtml.submit("Update", processUsers)
)
}
Peter
On Sep 4, 4:36 pm, Peter Robinett wrote:
&g
re,
> the for comprehension will only be executed on the initial rendering
> of the snippet, not as part of the execution of your loadUsers or
> processUsers callbacks. So the state of the RequestVar will never be
> reset.
>
> Kris
>
> On Fri, Sep 4, 2009 at 2:01 PM, Peter Robi
is first
-1 and then 2). Unfortunately once I submit the form processUsers is
called and currentRole again has an id of -1. Why is this?
Thanks in advance,
Peter Robinett
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
afaik does not have role level authentication but checking on a
> > role flag in the user table should not be that hard? )
>
> > mvh
> > Bjarte
>
> > On Fri, Sep 4, 2009 at 12:53 AM, Peter Robinett
> > wrote:
> >> Hi all,
>
> >> I haven&
hecking on a
> role flag in the user table should not be that hard? )
>
> mvh
> Bjarte
>
>
>
> On Fri, Sep 4, 2009 at 12:53 AM, Peter Robinett
> wrote:
>
> > Hi all,
>
> > I haven't been able to find many detailed explanations about h
mething else is a View with goes in that directory?
Thanks,
Peter Robinett
--~--~-~--~~~---~--~~
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 un
47 am, David Pollak
wrote:
> On Thu, Jul 30, 2009 at 8:16 AM, Peter Robinett
> wrote:
>
>
>
>
>
> > Oops, you're right, I just glossed over that. Using that I now get an
> > error when I try to use a pre-existing primary key:
> > scala> Cat.creat
Would it be too complicated to let the developer choose (perhaps in
Boot.scala) whether they want a strict mode?
Peter Robinett
On Aug 26, 8:20 am, David Pollak
wrote:
> Folks,
> I've been working on the XHTML validation stuff for Lift. Basically, you
> can, in dev mode, turn
You need to set the mapper id field as editable.
Here is what I had to do to use a MappedStringIndex as a primary key
that I can set manually:
/* MAC address as primary key */
def primaryKeyField = mac
object mac extends MappedStringIndex(this, 17) with IndexedField
[String] {
override
gt;
>
>
>
> On Sun, Aug 23, 2009 at 3:48 PM, Peter Robinett
> wrote:
>
>
>
>
>
> > Hi Derek,
>
> > I hadn't tried deleting my .m2 directory but unfortunately that didn't
> > help:http://gist.github.com/173501
>
> >
repository? Sometimes Maven gets stuck. If you do
> that and you still get the issue, could you post the full output from "mvn
> -e clean install"?
>
> Derek
>
> On Fri, Aug 21, 2009 at 6:42 PM, Peter Robinett
> wrote:
>
>
>
> > Hi all,
>
> > I
Hi all,
I think I have a problem with my pom.xml file, as when I run 'mvn
install' I get an error saying that Lift Core is missing. 'mvn
jetty:run' works fine. My pom.xml is here: http://gist.github.com/172540
I'd appreciate any tips
;
> Thank You, and thanks to everyone who worked with you on it.
>
> Grant
>
> On Aug 19, 10:02 am, Peter Robinett wrote:
>
> > Hi Grant,
>
> > I'm afraid I don't have the answer for you, but perhaps my attempt at
> > making a MappedTimestamp will
Hi Grant,
I'm afraid I don't have the answer for you, but perhaps my attempt at
making a MappedTimestamp will prove useful to you:
http://groups.google.com/group/liftweb/msg/84b1612953fe9ac0.
Peter Robinett
On Aug 18, 6:02 pm, Grant Wood wrote:
> Hello,
>
> I've ex
e page on Nginx wiki on
> this:http://wiki.nginx.org/NginxJavaServers.
>
> Cheers,
> Indrajit
>
> On Aug 18, 6:14 am, Peter Robinett wrote:
>
> > Timothy,
>
> > I'm just starting to learn how to use Nginx and would love to some
> > pointers. How did yo
eam.
>
> On 17/08/2009 18:55, "Peter Robinett" wrote:
>
> > I know David likes running Nginx in front of Jetty
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group
l.FileResource.checkAliases=False
>
> Derek
>
> On Fri, Aug 14, 2009 at 1:28 PM, Peter Robinett
> wrote:
>
>
>
> > It is not in my site map. I did try the ResourceServer with the
> > symlinked script in the 'js' subdir.
>
> > Peter
>
> &
I know David likes running Nginx in front of Jetty
On Aug 17, 12:00 am, Jeppe Nejsum Madsen wrote:
> Naftoli Gugenheim writes:
> > What's the best way to get a lift app running on a Ubuntu web server I can
> > SSH into with full permissions? It came with almost nothing installed.
> > Thank
ed on this
list, I'm quite new to Lift and Scala. So, we'd love more help,
particularly someone who knows more Scala than me! If you're
interesting in crunching lots of data and helping with things like
building out our API with oAuth, XMPP (or perhaps AMQP?) and SNMP
support, please
;ve tried means that the script should be
> under a "js" subdir.
>
> Derek
>
> On Thu, Aug 13, 2009 at 7:57 PM, Peter Robinett
> wrote:
>
>
>
> > My Lift project is in a git repository and to the repository I've
> > added a submodule. Since righ
ffect. So, how can I get my symlinked
javascript to be server? Or should I just give up on symlinks
altogether (I'm not a git master, so perhaps that was the wrong
approach anyway).
Peter Robinett
PS I'm on 1.1-SNAPSHOT.
PPS The YUI Compressor works well. Very cool.
--~--~-~--~~
1_sample/commit/d744a7cffe7d929ddbc531e8d8afea864a6fdc72
Peter
On Aug 8, 6:30 am, David Pollak wrote:
> On Sat, Aug 8, 2009 at 2:05 AM, Peter Robinett wrote:
>
>
>
> > I thought Naftoli's suggestion to make it a mixin so that it could be
> > added to MappedDates or MappedDateTimes was a reasonable
create a
> MappedTimestamp field?
>
> On Tue, Aug 4, 2009 at 2:27 PM, Peter Robinett wrote:
>
>
>
>
>
> > Ahh, good idea. The compile errors all had to do with the the type
> > parameters. I don't know much about Scala's type system yet, so I was
> > def
Just to give this thread a little bump, could someone give me some
tips on what's wrong with the types of the MappedTimestamp trait?
Thanks,
Peter
On Aug 4, 2:27 pm, Peter Robinett wrote:
> Ahh, good idea. The compile errors all had to do with the the type
> parameters. I don't
> Aren't you writing a lot of functionality that is in MappedDate(Time)? Define
> your mixin as a delta to MappedDate(Time); it should only have the aspects
> that differentiate it.
>
> -
>
> Peter Robinett wrote:
>
> Not at al
olName:
String): String = colName + " " + dbType.longColumnType
}
On Aug 3, 6:59 pm, Naftoli Gugenheim wrote:
> Do you mind pasting it to the list?
>
> -
>
> Peter Robinett wrote:
>
> Naftoli, that's a great suggestion. I
ime)? Or better yet, provide a trait to mix in with either
> of the above?
>
> -----
>
> Peter Robinett wrote:
>
> Hi all,
>
> As some of you may have noticed, I have been playing around with
> timestamps[1] and mac addresses[2] in my mo
Nolan, I like the idea, especially using JSON as the serialization
format. Do you have any code you could share?
Peter
On Jul 30, 6:49 pm, "Nolan Darilek" wrote:
> On 07/30/2009 07:53 PM, Peter Robinett wrote:
>
> > Are there any other mapped fields you'd like to
r the database in the
interest of saving space.
Are there any other mapped fields you'd like to see? I'll add that I
think using the units compiler plugin[3] looks cool[4] but probably
would be considered to create an unacceptable dependency.
Peter Robinett
[1]:
http://groups.google.co
he column as UNIQUE NOT NULL.
>
> On Wed, Jul 29, 2009 at 5:24 PM, Peter Robinett
> wrote:
>
>
>
> > Ahh, here we go:
> > INFO - CREATE TABLE users (id BIGINT NOT NULL GENERATED ALWAYS AS
> > IDENTITY , firstname VARCHAR(32) , lastname VARCHAR(32) , ema
lak
wrote:
> On Wed, Jul 29, 2009 at 4:35 PM, Peter Robinett
> wrote:
>
>
>
> > Thanks, David, I am now able to save the mac address. I am, however,
> > able to create multiple rows in the database with the same mac
> > address, suggesting that that the uniquene
o build the new code) version.
>
> On Wed, Jul 29, 2009 at 1:26 PM, Peter Robinett
> wrote:
>
>
>
>
>
> > Hi all,
>
> > My sample code is here:
> >http://github.com/pr1001/lift_1_1_sample/tree/master
>
> > I hadn't been overriding def dirty_
t;
> I think that that should work.
>
> Derek
>
> On Wed, Jul 29, 2009 at 1:42 PM, Naftoli Gugenheim
> wrote:
>
>
>
> > Did you try to override def dirty_? and def dirty_?(b: Boolean), and in the
> > latter set your own private variable and read it in dirty_? (th
), and in the
> latter set your own private variable and read it in dirty_? (the getter)?
>
> -----
>
> Peter Robinett wrote:
>
> Hi Derek,
>
> I'm afraid I'm not sure how to do this, since _dirty_? is a private
> va
created in the
database.
What do you suggest?
David, I'll have some sample code soon.
Peter
On Jul 28, 4:19 pm, Derek Chen-Becker wrote:
> Did you override the dirty_? def?
>
> Derek
>
> On Tue, Jul 28, 2009 at 3:09 PM, Peter Robinett
> wrote:
>
>
>
> > So
props/peter.props:
db.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql://localhost/mydb
db.user=myusername
db.password=mypassword
Peter Robinett
On Jul 29, 3:30 am, Timothy Perrett wrote:
> pravin,
>
> As this is a common thing, I've added a code sample to my lift-
> examples rep
> If it's a left-to-right sawtooth (e.g. increasing linearly over time
> and then sharply dropping) then that's probably garbage accumulating
> then the GC running.
>
> -Ross
>
> On Jul 28, 2009, at 6:23 PM, Peter Robinett wrote:
>
>
>
> > Nope, hav
:run and you changed files in
> the webapp.
> Do the increases correspond to (specific) requests?
>
> -----
>
> Peter Robinett wrote:
>
> Thanks, Naftoli. After running for an hour the app is using 45-60% of
> my (very little) memory. It app
http://www.bubblefoundry.com/lift/jconsole-overview.jpg
On Jul 28, 2:15 pm, Naftoli Gugenheim wrote:
> You can monitor it with jconsole.
> Is the memory building up gradually and not being garbage collected? Is it
> being redeployed without restarting jetty?
>
> ----
Sorry to bump this, but does anyone have any idea why my mac column is
not being saved to the database, despite the save method returning
true?
On Jul 22, 9:19 am, Peter Robinett wrote:
> Because it's unique across systems and maps directly to hardware I'm
> tracking. Bu
Thanks all for the comments and suggestions. I'm totally new to the
Java world, so thanks for mentioning all these various options.
First, my system: MySQL is the database I'm using with my Lift app
(and some other very low traffic apps) and is tuned pretty
aggressively to use little memory. It s
I would do the first option, which I don't see as 'unLifty', but
perhaps someone who knows Lift better than I do can comment on your
options.
Peter Robinett
On Jul 28, 10:57 am, "Nolan Darilek" wrote:
> I have a project that will use the geolocation API in Firefox 3
some stack traces about Comet requests,
doContinuation, and Bail.
Does this suggest that I'm using Actors incorrectly? Do I have too
long a session timeout? Or do I just need more memory? Assuming the
latter, how would you suggest figuring out a reasonable amount?
Thanks for your help,
Peter R
the creation in the
Comet listener's localSetup method to its use later in the
highPriority method.
Peter
On Jul 22, 4:43 pm, Peter Robinett wrote:
> Hi all,
>
> I'm trying to use the flot widget and some Comet code to have a
> regularly updating chart like in the flot
en many updates). Where
did I go wrong in my understanding? Given the requirement, how should
my data be formatted to be passed to JsFlotAppendData correctly?
Thanks,
Peter Robinett
[1]:
http://scala-tools.org/scaladocs/liftweb/1.0/net/liftweb/widgets/flot/Flot
ites/skittr/src/main/scala/com/skittr/actor/UserList.scala
[4]:
http://github.com/dpp/liftweb/blob/617f752f3824005768e255089f847720b5e67f2a/sites/skittr/src/main/scala/com/skittr/comet/WatchUser.scala
On Jul 22, 9:30 am, David Pollak
wrote:
> On Tue, Jul 21, 2009 at 2:04 PM, Peter Robinett
>
Hi Ken,
I can't speak for David or any of the other committers, but it sounds
like you could contribute to fleshing out Record.
Peter Robinett
On Jul 22, 9:38 am, Ken Egervari wrote:
> Hi David!
>
> I definitely agree with you. I am not working on any projects right now,
> a
g) = (0 to 5).reverse.map( i => (mac & ((0xff)
> << (i * 8).asInstanceOf[Long])) >> (i * 8)).
> map( l => String.format("%02x",l.asInstanceOf[Object])).mkString
> (":")
>
> println( longToMac(macToLong("00:1d:c9:00:04:9f")))
ponding it would like to update Flot charts and various other
components using Comet.
Thanks for your advice,
Peter Robinett
On Jul 9, 2:36 pm, David Pollak wrote:
> On Mon, Jul 6, 2009 at 7:56 AM, Tobias Daub wrote:
>
> > Hi List,
>
> > I wanna send a message to an Actor e
I should add that I believe this is because the field isn't being
marked as dirty and so isn't saved. This is in MappedField:
def dirty_? = !dbPrimaryKey_? && _dirty_?
How would I overload it in my object mac definition?
Thanks,
Peter
On Jul 21, 12:30 pm, Peter Robinett wro
override def dbDisplay_? = true
> }
>
> }
>
> Note that primaryKey_? is already set to true in MappedStringIndex.
> writePermission_? is set to false by default...
>
> Derek
>
> On Mon, Jul 20, 2009 at 7:30 PM, Peter Robinett
> wrote:
>
>
>
> > Hi a
(MappedString.scala:121)
at net.liftweb.util.Full.f...
How do I go about creating a new Node with the mac address – the
primary key – of my choosing?
Thanks,
Peter Robinett
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
1
> Host:
> User-Agent:
> Accept:
> Accept-Language:
> Accept-Encoding:
> Accept-Charset:
> Keep-Alive:
> Connection:
> Referer:
> Cookie:
>
> are sent over.
>
> Lift and Scala are fun!
>
> On Jul 15, 12:30 pm, Peter Robinett wrote:
>
> > As othe
and to contribute
to Lift.
What do you think? I look forward to your thoughts!
Peter Robinett
[1]:
http://groups.google.com/group/liftweb/browse_thread/thread/a3755d82f28356ea/26111ea9748c0ffc
--~--~-~--~~~---~--~~
You received this message because you are subscr
Thanks so much. How would I handle optional parameters? My knowledge
of for comprehensions is quite limited...
Peter
On Jul 14, 10:25 am, David Pollak
wrote:
> On Mon, Jul 13, 2009 at 5:31 PM, Peter Robinett
> wrote:
>
>
>
>
>
> > Thanks, David. Here is its cl
making a REST API (perhaps this could even
become a trait like CRUDify?).
Please let me know how I can help.
Peter Robinett
On Jul 13, 7:10 pm, Naftoli Gugenhem wrote:
> Not speaking for anyone else, but currently what I would like most is
> information on lift'
:
> On Mon, Jul 13, 2009 at 5:12 PM, Peter Robinett
> wrote:
>
>
>
>
>
> > Hello,
>
> > I'd appreciate any tips on how to take POSTed data and use it to save
> > a new object. Using previous threads here I've figured out how to do
> > the basic
:: Nil, "", PostRequest) => () =>
addPacket(r)
}
def addPacket(req: Req): LiftResponse = {
val packet = Packet.create
/* I want to assign the contents of req.params - Map("node" ->
List("44"), "temp" -> List(&
Thanks, 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 group, send email to
liftweb+unsubscr...@googlegroup
Thanks guys, I happened to be looking for this right now.
For those looking to output single Boxed result from findAll, I think
you would do something like this:
JsonResponse(JsObj("results" -> Node.find(By(Content.id,
yourIdQuery)).openOr(Content).asJs))
The problem is that if the Content row i
Hi Derek,
Just a quick note on the book because I'm going over it right now: the
code in Listing 13.3 (p. 210) seems to be missing a parenthesis after
"expense" in the case that matches to PUT requests.
Peter
On Jul 10, 9:32 am, Derek Chen-Becker wrote:
> Just a quick note: thanks to some work
I think I got the same thing once before when referring to the
companion object (singleton) instead of my specific instance. Perhaps
you're doing the same thing?
Peter Robinett
On Jul 4, 2:14 am, Spencer Uresk wrote:
> I'm having a bit of trouble with a mapper class I
the question, what _should_ happen if it's Empty after
> all? :)
> -----
>
> Peter Robinett wrote:
>
> Everyone, I apologize for monopolizing the list but this has been very
> helpful for me. I've learned a bunch from similar, old en
Everyone, I apologize for monopolizing the list but this has been very
helpful for me. I've learned a bunch from similar, old entries in the
list and hope this thread will help future Lift beginners.
On to my reply to David:
On Jul 1, 4:19 pm, David Pollak wrote:
> Yes, the reference contained
On Jul 1, 3:38 pm, David Pollak
wrote:
> Are you coming from Java/C# or Ruby/Python?
PHP, Python and Javascript
> I don't think you have to pull the value out of the for comprehension... do
> all the work inside the for comprehension.
>
> When you're doing your design, think about transformatio
Wed, Jul 1, 2009 at 2:02 PM, Peter Robinett wrote:
>
>
>
> > Thanks, David. Unfortunately I'm having a hard time figuring out how
> > to get the foundParam.
>
> > Using your code, I have:
> > val loc = for {req <- S.request; loc <- req.location} yield l
10:05 am, David Pollak
wrote:
> On Fri, Jun 26, 2009 at 6:39 PM, Peter Robinett
> wrote:
>
>
>
> > Thanks, Derek and Jeppe, your responses were very helpful. I
> > implemented Jeppe's solution and added my own snippet tag within
> > _viewTemplate. Unfortunate
gt; >> Hey Peter,
>
> >> That is odd! I'll speak with the folk at javarebel and get them to
> >> give us a new license file for the comunity.
>
> >> Cheers
>
> >> Tim
>
> >> Sent from my iP
address this licensing issue and continue developing?
Thanks!
Peter Robinett
--~--~-~--~~~---~--~~
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 u
)
Any idea what's wrong here? The database tables are correctly
configured (I'm using MySQL) and I'm running 1.1-SNAPSHOT. Thanks in
advance for your help.
Peter Robinett
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
wrote:
> On 24 Jun 2009, Peter Robinett wrote:
>
> > Hi all,
>
> > I'm using CRUDify on one of my models and I'd like to display some
> > additional data on the view template. I believe that I need to
> > override one of the model definitions with
Thanks, Jeppe, that was it. So 'is' will give you the native type of
any MappedType? Good to know!
Peter
On Jun 26, 3:47 am, Jeppe Nejsum Madsen wrote:
> Peter Robinett writes:
> > Thanks, Jeppe, that's what I was missing.
>
> > To continue to hijack this
trying it anyway (with "m.temperature.toDouble _"), I got an new
error saying that List[(Double, (Any) => Double)] is an incompatible
type.
Any suggestions? I'm sure it's a REALLY simple fix.
Thanks,
Peter
On Jun 26, 12:53 am, Jeppe Nejsum Madsen wrote:
> On 26 Jun 2009, Pete
Hi flot users,
I am trying to copy the basic Flot example into my own code. I have no
compile errors but the graph isn't rendered because /classpath/flot/
jquery.flot.js isn't found. Since I get no errors with the flot
methods in my snippet, I assume lift-widgets is loading correctly. Am
I missin
01 PM, Jeppe Nejsum Madsen wrote:
>
>
>
> > On 24 Jun 2009, Peter Robinett wrote:
>
> > > Hi all,
>
> > > I'm using CRUDify on one of my models and I'd like to display some
> > > additional data on the view template. I believe that I need to
>
101 - 200 of 208 matches
Mail list logo