[Lift] Re: Js normalizations

2010-03-08 Thread Peter Robinett
+! On Mar 7, 11:11 pm, Heiko Seeberger heiko.seeber...@googlemail.com wrote: On 7 March 2010 19:37, Marius marius.dan...@gmail.com wrote: If you think that this makes sense I'll add a ticket and put it in my backlog. Makes a lot of sense for me. Go for it! Heiko Company:

[Lift] Re: Javascript Dependencies

2010-03-08 Thread Peter Robinett
, and I'd like to complement them and continue in that vein. Oh, and I definitely want to be able to have conditional snippets like you mention, that's a great feature. What do you think? Peter On Mar 6, 11:33 am, Marius marius.dan...@gmail.com wrote: On Mar 6, 9:14 pm, Peter Robinett pe

[Lift] Re: Js normalizations

2010-03-08 Thread Peter Robinett
Like Heiko, I vote for Marius to do what he proposes. ;-) On Mar 8, 9:47 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Mar 8, 2010 at 12:36 AM, Peter Robinett pe...@bubblefoundry.comwrote: +! Does this translate to I vote you must do this? ;-) +1 On Mar 7, 11:11

[Lift] Re: Javascript Dependencies

2010-03-06 Thread Peter Robinett
Hi guys, Sorry I'm only coming back to this discussion now. I think what you're both proposing are the two parts of what should be the complete use- case. Yes, dependencies _exist_ per page and, yes, you want to _declare_ them per snippet or CometActor. The last (and only) commit on my

[Lift] Re: Lift or Scala first?

2010-03-05 Thread Peter Robinett
Yes, yes, yes! David's book was a fantastic guide for me as I learned Scala and Lift at the same time. Going back to the original question, I've learned a language and a framework at the same time twice (Lift and Scala, Pylons and Python) and I'm torn. On one hand having lots of high quality

[Lift] Re: minified js artifacts (was Re: Re-opened #363)

2010-03-03 Thread Peter Robinett
I like Jeppe's option: Or 2.5: use 1. for the js artifacts included with Lift and let the user decide how to handle their own js files. I would hate to be forced into using the yui compressor for my own files that I put in toserve (not that it isn't a good idea :-) This lets us keep plain js

[Lift] Re: Is CometActor the right tool for this job?

2010-03-02 Thread Peter Robinett
I agree with David and think a simpler AJAX approach would be better. From my work with lift-flot I know it's definitely possible (see the lift-flot AJAX example). You can even do your plotting entirely in Javascript and only use Lift to return data requested via AJAX, which I've done for updating

[Lift] Re: Lift 2.0M2 LiftMerge order?

2010-03-02 Thread Peter Robinett
If you want to send data to a CometActor when it initializes from Scala code (e.g. a snippet), try this: for (session - S.session) { session.setupComet(myCometActor, Empty, myMessage) } Peter On Mar 2, 3:36 pm, Rick R rick.richard...@gmail.com wrote: They are not being rendered in reverse.  

[Lift] Re: Javascript Dependencies

2010-02-28 Thread Peter Robinett
Issue 281 is not going to make it into M3. The specific issue that needs to be solved first is how to manage dependencies across multiple snippets on one page. See the Assembla page for more information: http://www.assembla.com/spaces/liftweb/tickets/281 Peter On Feb 26, 5:14 pm, Peter Robinett

[Lift] Re: scala-time and Lift pom.xml

2010-02-26 Thread Peter Robinett
, Peter Robinett -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com

[Lift] Re: Javascript Dependencies

2010-02-26 Thread Peter Robinett
, 1:14 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Peter Robinett pe...@bubblefoundry.com writes: Hi all, [...] // Usage in boot.scala val myJsScript = new JsScript(flot :: jquery.flot.selectable.js :: Nil) ResourceServer.allow(myJsScript.allowResource) // Usage in a normal

[Lift] Re: Liftweb and javascript

2010-02-24 Thread Peter Robinett
I believe you just need to turn off a garbage collection setting in boot.scala but if it's there I assume it's an app-wide setting... Peter On Feb 24, 1:46 pm, Cliff Zhao zha...@gmail.com wrote: I am new to the Lift framework and currently trying to evaluate it. Canada Government web sites

[Lift] Javascript Dependencies

2010-02-24 Thread Peter Robinett
Hi all, Following up on a previous thread about upgrading to Flot 0.6[1], I'd like to discuss how (or even whether) we handle Javascript dependencies within Lift. It'd be great to get this in as part of #322[2] for M3 next week but I acknowledge I've been slow pushing forward the discussion and

[Lift] Re: What is the current working pattern for storing timestamps?

2010-02-22 Thread Peter Robinett
Hi Hannes, Jonathan's suggestion of MappedDateTime is a good one and one that I have used. However, I haven't been super happy about how time is handled by, in my case, MappedDateTime + java.util.Date + MySQL Datetime. I played around a little with making a MappedField that holds a ScalaTime (ie

[Lift] Re: Versions: Netbeans, Scala and Lift

2010-02-22 Thread Peter Robinett
I'm running Netbeans 6.7.1 with the Maven and Scala 2.7 plugins quite happily on OS X. Peter On Feb 21, 10:34 pm, Caoyuan dcaoy...@gmail.com wrote: Yes, Scala plugin for NetBeans 6.8 needs Scala 2.8, thus lift's 280 branches. For Maven project, there is no need to set Scala home and dependent

[Lift] Re: What is the current working pattern for storing timestamps?

2010-02-22 Thread Peter Robinett
Yep, the consensus seems to be that you should use JodaTime (and scala- time). You can use scala-time with Maven (URL: http://scala-tools.org/repo-releases/org/scala-tools/time/) but it was compiled with Scala 2.7.4. However, I didn't have any noticeable problems running it on 2.7.7. Peter On

[Lift] Re: Back in the (Goat) Saddle

2010-02-15 Thread Peter Robinett
Hi David, Goat Rodeo sounds cool and your blog post was very interesting. Just to ask, do you see Goat Rodeo relating to Lift at all (sharing ideas? code?) or do you see it as something that will take on a life of its own completely divorced from Lift? Peter On Feb 14, 1:15 am, David Pollak

[Lift] Re: Upgrade to Flot 0.6

2010-02-08 Thread Peter Robinett
. Would that make sense? Peter On Feb 5, 11:51 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Peter Robinett pe...@bubblefoundry.com writes: Hi Aaron, I just added hoverable to my branch. Please let me know if you have any issues with it. As for plugins, I think it might take a little

[Lift] Re: Lift Google Summer of Code?

2010-02-07 Thread Peter Robinett
Hey Justin, That sounds like a very cool idea. Do you know what the organization has to do? On Feb 6, 7:23 pm, Justin Reardon justin.rear...@gmail.com wrote: Hi folks, I'm a Computer Science student at the University of Waterloo, looking to participate in Google Summer of Code program this

[Lift] Re: Flot 0.6 Upgrade Breaking Change Question

2010-02-05 Thread Peter Robinett
, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Feb 4, 2010 at 4:07 PM, Peter Robinett pe...@bubblefoundry.comwrote: Hello all, Please tell me if you are using the lift-flot module. I am working on upgrading it to Flot 0.6 and as Aaron noted[1], Flot has switched to a slightly new

[Lift] Re: Upgrade to Flot 0.6

2010-02-05 Thread Peter Robinett
class don't work without the selecting plugin. - A On Thu, Feb 4, 2010 at 7:56 PM, Peter Robinett pe...@bubblefoundry.com wrote: Hi Aaron, I've pushed the simplest update possible to my branch here: http://github.com/dpp/liftweb/tree/pr1001_issue_322. I will make the series options

[Lift] Re: Map to JsObj

2010-02-05 Thread Peter Robinett
I know there was something simple. Thanks, now I just need to make sure I have the right implicits imported and I'm good to go. On Feb 5, 12:54 pm, Ross Mellgren dri...@gmail.com wrote: JsObj(map.toSeq: _*) ? -Ross On Feb 5, 2010, at 3:53 PM, Peter Robinett wrote: I thought it would

[Lift] Re: Out of Memory Errors Building Lift

2010-02-04 Thread Peter Robinett
; 2009-08-07 05:16:01+1000) Java version: 1.6.0_17 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home Default locale: en_US, platform encoding: utf8 OS name: mac os x version: 10.6.2 arch: x86_64 Family: mac j...@192-168-1-69:~ $ On 4 February 2010 13:09, Peter Robinett

[Lift] Re: Out of Memory Errors Building Lift

2010-02-04 Thread Peter Robinett
:19 am, Peter Robinett pe...@bubblefoundry.com wrote: Thanks Jono, but unfortunately that didn't help. Peter On Feb 3, 6:53 pm, Jonathan Ferguson j...@spiralarm.com wrote: Try upgrading to the latest version of maven (2.2.1 or later ). I was having a simliar issue. Cheers Jono j

[Lift] Re: Out of Memory Errors Building Lift

2010-02-04 Thread Peter Robinett
Thanks, Jeppe, that did the trick. I swear, JVM options are such a dark art! Peter On Feb 4, 12:49 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Peter Robinett pe...@bubblefoundry.com writes: Hmm, I see that it's always when running YUI Compressor on lift- webkit. I actually had issues

[Lift] Flot 0.6 Upgrade Breaking Change Question

2010-02-04 Thread Peter Robinett
Hello all, Please tell me if you are using the lift-flot module. I am working on upgrading it to Flot 0.6 and as Aaron noted[1], Flot has switched to a slightly new format of specifying options. However, they have kept backwards compatibility, meaning that we could upgrade to the latest version

[Lift] Re: Suggestion to extend Comet (ListenerManager) to selectively update subscribers

2010-02-04 Thread Peter Robinett
Heiko, I would love this and would use it often, but I'm not sure it's such a general use case that it should be part of Lift. What do other people think? Peter On Feb 4, 4:05 pm, Heiko Seeberger heiko.seeber...@googlemail.com wrote: Hi, In the current state the ListenerManager will always

[Lift] Re: Upgrade to Flot 0.6

2010-02-04 Thread Peter Robinett
, Peter Robinett pe...@bubblefoundry.com wrote: You're welcome. I'm happy to look into adding Flot plugin support, but please open a ticket on GitHub (http://github.com/dpp/liftweb/issues). Peter On Feb 1, 10:22 am, Aaron Valade a...@alum.mit.edu wrote: Thanks Peter! One of the other

[Lift] Re: jquery.flot.css breaks the chart in IE8

2010-02-03 Thread Peter Robinett
Flot just draw the backgroup, labels, but no line, point(still good in firefox and chrome). Now, I switch back to the /static copy to make it work. On Feb 3, 11:14 am, Peter Robinett pe...@bubblefoundry.com wrote: Hi Jarod, I'm afraid I don't understand your problem. Are you staying

[Lift] Out of Memory Errors Building Lift

2010-02-03 Thread Peter Robinett
Hi all, I seem to be to doing something wrong, as I keep getting out of memory errors when trying to build Lift from source. My command is: mvn -DXmx1024m -U clean install Am I missing something obvious? I've tried with 1024 and 2048 megabytes of memory. I'm running Java 1.6.0_17 and Maven 2.2.0

[Lift] Re: Upgrade to Flot 0.6

2010-02-02 Thread Peter Robinett
eager to provide additional testing of any capabilities that you make available or any other help that I can provide within the guidelines of the Lift project. Thanks, - A On Mon, Feb 1, 2010 at 12:28 PM, Peter Robinett pe...@bubblefoundry.com wrote: Ok guys, I'll work

[Lift] Re: [flot] jquery.flot.css breaks the chart in IE8

2010-02-02 Thread Peter Robinett
Hi Jarod, I'm afraid I don't understand your problem. Are you staying that the combination of the blueprint and flot CSS files leads to incorrect charts in IE8 but the charts are rendered correctly when the blueprint file is not included? If so, is this a problem with how Lift includes the files

[Lift] Re: Upgrade to Flot 0.6

2010-02-01 Thread Peter Robinett
the Lift IP policy.  We don't pull from other   repositories nor do we accept patches.  We'll have to do the Flot   0.6 ourselves. Thanks, David On Fri, Jan 29, 2010 at 4:44 PM, Peter Robinett pe...@bubblefoundry.com wrote: Aaron, thanks so much for taking the initiative to upgrade

[Lift] Re: Upgrade to Flot 0.6

2010-01-29 Thread Peter Robinett
Aaron, thanks so much for taking the initiative to upgrade Flot, it's something that I've been meaning to do. Just skimming over your changes, everything looks good. As for not using the packed excanvas file, that should be ok since Lift runs the YUI compressor by default on all Javascript files

[Lift] Re: Lift on Stack Overflow

2010-01-12 Thread Peter Robinett
I'm a huge SO fan and have used it to ask a lot of my stupid Scala questions but I've been asking my Lift questions here. Perhaps the reason there are so few Lift questions is because others are doing the same? Note that Scala has a respectable 698 questions. Peter On Jan 12, 2:28 pm, joseph b.

[Lift] Re: Lift with MS Access database

2009-12-27 Thread Peter Robinett
Hi Gang, I believe that Schemefier is failing to find a database driver named Access and cannot default to a generic SQL one since DriverType is an abstract class. Supported databases are: PostgreSQL, Derby (included if you use one of the Maven archetypes, easy to add if you did not), MaxDb, H2,

[Lift] Re: The future of lift-core

2009-12-23 Thread Peter Robinett
you should see the list of dependencies useless and used throught transitive path and to list directly in your pom.xml (may be in place of lift-core). /davidB On Wed, Dec 23, 2009 at 02:31, Peter Robinett pe...@bubblefoundry.com mailto:pe...@bubblefoundry.com wrote:     Indrajit

[Lift] WebSockets are Coming

2009-12-22 Thread Peter Robinett
Since Lift is so great at handling Comet updates, we might want to take a look at supporting WebSockets which will (hopefully) be part of HTML5. Here are a few links I just found: - http://dev.w3.org/html5/websockets/ -

[Lift] Re: WebSockets are Coming

2009-12-22 Thread Peter Robinett
That would be very elegant. On Dec 22, 4:42 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Dec 22, 2009 at 3:47 PM, Peter Robinett pe...@bubblefoundry.comwrote: Since Lift is so great at handling Comet updates, we might want to take a look at supporting WebSockets which

[Lift] Re: The future of lift-core

2009-12-22 Thread Peter Robinett
Indrajit, your post made me realize that I've been using lift-core without realizing it. Thanks. Unfortunately switching to something simpler is giving me some trouble. I believe that I should be able to add lift-base, but while its sub-modules get downloaded (lift-common, lift-util, etc), Maven

[Lift] Ajax Forms and Binding

2009-12-18 Thread Peter Robinett
Hi all, I think there is a simple answer to this, but I'm a little confused. I want to update a bound element when my Ajax form is submitted. Here's a simple version based upon what I gleaned from the wiki and the mailing list: lift:Test.form pDisplay: test:display //p pInput1: test:input1

[Lift] Re: Duplicate Keys Created by Schemefier

2009-12-18 Thread Peter Robinett
On Dec 16, 12:55 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Dec 16, 2009 at 11:07 AM, Peter Robinett pe...@bubblefoundry.comwrote: Fair enough, but isn't this still a non-optimal situation with the MySQL database driver? What is your proposed change? Peter

[Lift] Re: Ajax Forms and Binding

2009-12-18 Thread Peter Robinett
Unfortunately there is no change. Firebug shows that the POST reply was empty. Peter On Dec 18, 3:26 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Dec 18, 2009 at 3:22 PM, Peter Robinett pe...@bubblefoundry.comwrote: Hi all, I think there is a simple answer

[Lift] Re: Ajax Forms and Binding

2009-12-18 Thread Peter Robinett
Sorry, spoke to soon. I got it, thanks. On Dec 18, 4:27 pm, Peter Robinett pe...@bubblefoundry.com wrote: Unfortunately there is no change. Firebug shows that the POST reply was empty. Peter On Dec 18, 3:26 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Dec 18, 2009

[Lift] Re: mysql database password

2009-12-17 Thread Peter Robinett
Use a properties file and don't include that in your source code commits. Here's another thread on it: http://groups.google.com/group/liftweb/browse_thread/thread/c156b9de99f3bce/ On Dec 17, 8:22 am, itsjar its...@gmail.com wrote: Hi, I've added the following code to change the database to

[Lift] Re: use S and templating without state?

2009-12-17 Thread Peter Robinett
Harry, isn't it just the same as if you were serving, say, a REST api request? Add your Req case to the statelessDispatchTable and have it call a method of your choosing like so: case r @ Req(iphone :: achievements :: Nil, , GetRequest) = () = showAchievements(r). r is a Req instance and

[Lift] Re: use S and templating without state?

2009-12-17 Thread Peter Robinett
you'd do, to be honest. Peter On Dec 17, 2:59 pm, Peter Robinett pe...@bubblefoundry.com wrote: Harry, isn't it just the same as if you were serving, say, a REST api request? Add your Req case to the statelessDispatchTable and have it call a method of your choosing like so: case r @ Req(iphone

[Lift] Re: AWS related Lift modules

2009-12-17 Thread Peter Robinett
I'd love to see that. While I'm throwing out wishes, it's be great to have a generic file store frontend and an S3 specific backend just like how Mapper and Record have different datastore drivers. But I have no need for this, it'd just be cool. Peter On Dec 17, 4:17 pm, David Pollak

[Lift] Re: Duplicate Keys Created by Schemefier

2009-12-16 Thread Peter Robinett
Fair enough, but isn't this still a non-optimal situation with the MySQL database driver? Peter On Dec 15, 7:23 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Dec 15, 2009 at 5:46 PM, Peter Robinett pe...@bubblefoundry.comwrote: My tables created by Schemefier have

[Lift] partialUpdate and bind

2009-12-15 Thread Peter Robinett
It's not clear to me whether I can use bind with partialUpdate in a CometActor. I believe I can but bind returns a NodeSeq, while partialUpdate takes a JsCmd. There is an implicit called xmlToXmlOrJsCmd but it returns a RenderOut and I don't know of anything that converts that to a JsCmd. I'm

[Lift] Duplicate Keys Created by Schemefier

2009-12-15 Thread Peter Robinett
My tables created by Schemefier have multiple keys for the primary key when my Mapper model is declared like so: class myModel extends LongKeyedMapper[myModel] with IdPK. There is naturally the primary key but there is also a unique key on the column that simply duplicates the functionality of the

[Lift] Re: partialUpdate and bind

2009-12-15 Thread Peter Robinett
, 2009 at 4:50 PM, Peter Robinett pe...@bubblefoundry.comwrote: It's not clear to me whether I can use bind with partialUpdate in a CometActor. I believe I can but bind returns a NodeSeq, while partialUpdate takes a JsCmd. There is an implicit called xmlToXmlOrJsCmd but it returns

[Lift] Re: MappedField Callback(s)

2009-12-14 Thread Peter Robinett
there? On Fri, Dec 11, 2009 at 3:02 PM, Timothy Perrett timo...@getintheloop.euwrote: Peter, Have you any code on a branch or similar? I think this conversation will progress best with code samples. Cheers, Tim On Dec 11, 7:18 pm, Peter Robinett pe...@bubblefoundry.com wrote: MetaMapper

[Lift] Re: MappedField Callback(s)

2009-12-12 Thread Peter Robinett
Not yet, I was planning on working on it next week. Peter On Dec 11, 3:02 pm, Timothy Perrett timo...@getintheloop.eu wrote: Peter, Have you any code on a branch or similar? I think this conversation will progress best with code samples. Cheers, Tim On Dec 11, 7:18 pm, Peter Robinett pe

[Lift] JsCmd to Actual Javascript

2009-12-11 Thread Peter Robinett
I'm trying to do a partial update in my CometActor with several Javascript commands and I'm trying to figure out how to do it. It looks like I can do partialUpdate(CmdPair(jsCmd1, jsCmd2)) but I'd like to see the raw Javascript that CmdPair represents. Bar actually running the code and looking in

[Lift] MappedField Callback(s)

2009-12-11 Thread Peter Robinett
MetaMapper has a bunch of nice callback methods (afterCreate, beforeValidation, etc) that you can hook into. Recently I've found myself wanting one on MappedField so I can do something when its value changes. I could call a method myself right next to every time I update a value but a callback is

[Lift] Re: JsCmd to Actual Javascript

2009-12-11 Thread Peter Robinett
, ar.displayAll) toJavaScript is a method of the internal XmlOrJsCmd class which you can find in CometActor.scala. Besides that, you don't need to explicitly use CmdPair as you can just say partialUpdate(jsCmd1 jsCmd2 ...) Br's, Marius On Dec 11, 8:38 pm, Peter Robinett pe...@bubblefoundry.com

[Lift] Re: Multi-Ćolumn MappedField

2009-12-10 Thread Peter Robinett
I believe David has said that having MappedPassword represent two columns is one of his great regrets, so watch out! ;-) Peter On Dec 10, 9:17 am, Derek Chen-Becker dchenbec...@gmail.com wrote: IMHO this doesn't sound like an ideal way to do this. At a high level what are you trying to do? Is

[Lift] Re: Welcome Peter Robinett to the Lift committers

2009-12-10 Thread Peter Robinett
bag of trick ;-) Cheers, Indrajit On 10/12/09 3:38 AM, David Pollak wrote: Folks, Please join me in welcoming Peter Robinett to the Lift committers. Peter's been active on the Lift list helping people and asking questions (a great combo.)  As Peter's project has progressed, he's

[Lift] Re: Multi-Ćolumn MappedField

2009-12-10 Thread Peter Robinett
Joern, are you using MegaProtoUser? If so, I dramatically simplified our access control code by using the superUser property it provides, though I can't say whether that'd be useful for you. Also, what you describe kind of reminds me of App Engine's Expando models (http://

[Lift] Re: Fwd: Watch Foursquare Lift talk live from NY

2009-12-08 Thread Peter Robinett
On Dec 7, 7:36 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Dec 7, 2009 at 6:59 PM, Peter Robinett pe...@bubblefoundry.comwrote: One thing mentioned briefly in the talk that I'd like to know more about is oAuth Server code. Is anyone working on that? It's on my to-do list

[Lift] Re: UTF-8 Characters

2009-12-08 Thread Peter Robinett
at 7:14 PM, Peter Robinett pe...@bubblefoundry.comwrote: Hi all, I just discovered that XHTML pages do not support all the character entity references HTML does[1]. In my case that means switching from deg; to ° in my Javascript file. This is fine except that I am now getting a garbled

[Lift] Re: Sharing a RequestVar Across CometActors

2009-12-08 Thread Peter Robinett
...@gmail.com wrote: On Mon, Oct 12, 2009 at 7:04 AM, Peter Robinett pe...@bubblefoundry.comwrote: Hi all, I have a question about whether it's possible to access RequestVars in CometActors (specifically, to access them in localSetup). I believe it is, based upon a recent thread about

[Lift] Re: Sharing a RequestVar Across CometActors

2009-12-08 Thread Peter Robinett
the script contents are being evaluated (I would think it shouldn't, since there should only be 1 head tag in an HTML document) and, even if they are, whether anything happens since they are all wrapped in a jQuery(document).ready() call. Peter On Dec 8, 7:05 pm, Peter Robinett pe...@bubblefoundry.com

[Lift] Re: Fwd: Watch Foursquare Lift talk live from NY

2009-12-07 Thread Peter Robinett
If you missed the talk you can download it from the same link. It's a good one. One thing mentioned briefly in the talk that I'd like to know more about is oAuth Server code. Is anyone working on that? How can I help? Peter On Dec 7, 3:16 pm, David Pollak feeder.of.the.be...@gmail.com wrote:

[Lift] UTF-8 Characters

2009-12-07 Thread Peter Robinett
Hi all, I just discovered that XHTML pages do not support all the character entity references HTML does[1]. In my case that means switching from deg; to ° in my Javascript file. This is fine except that I am now getting a garbled character. My file is encoded in UTF-8 and Maven is using UTF-8[2],

[Lift] Re: Newbie question on the Scala Todo sample application.

2009-12-03 Thread Peter Robinett
Hey itsjar, The user account stuff was created for you because you used the lift- archetype-base archetype. Use lift-archetype-blank to get a truly blank setup. Peter On Dec 3, 3:47 pm, itsjar its...@gmail.com wrote: Hi, when I was working on the tutorial I got to the point where it tells

[Lift] Re: Image upload and serving example

2009-12-02 Thread Peter Robinett
Jon, that sounds very interesting and I'd love to see it. S3 support in general would be a great module for Lift, in my opinion. Peter On Dec 2, 10:24 am, jon jonhoff...@gmail.com wrote: For those that are using s3, I created a MappedS3Image MappedField for automating the storage of image

[Lift] Re: lift-json escaping bug

2009-11-30 Thread Peter Robinett
/New_York Peter Robinett On Nov 30, 2:16 pm, harryh har...@gmail.com wrote: scala import net.liftweb.json._ scala val s2 = { \id\: \America\\/New_York\ } s2: java.lang.String = { id: America\/New_York } scala JsonParser.parse(s2) res1: net.liftweb.json.JsonAST.JValue = JObject(List(JField(id

[Lift] Re: fsc and Lift

2009-11-27 Thread Peter Robinett
that editing actor classes tends to require a true shutdown of Jetty and restart. Peter Robinett On Nov 27, 9:03 pm, jack jack.wid...@gmail.com wrote: Does anybody use fsc instead of scalac? I find scalac slow. Are there any known issues with using fsc with Lift? -- You received this message

[Lift] Re: Feature Request: deleteMenuLocParams in CRUDify

2009-11-24 Thread Peter Robinett
I had this exact need for deleteMenuLocParams the other day. I'd love to see this added! Peter Robinett On Nov 24, 5:40 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Nov 24, 2009 at 1:03 AM, tommycli tommy...@ucla.edu wrote: Amazing - great. For future reference - what's

[Lift] Re: Feature Request: deleteMenuLocParams in CRUDify

2009-11-24 Thread Peter Robinett
CRUDOps trait that takes a different approach to permissions and menus, so I'm trying to figure out the use cases besides my own. Thanks, Derek On Tue, Nov 24, 2009 at 11:01 AM, Peter Robinett pe...@bubblefoundry.comwrote: I had this exact need for deleteMenuLocParams the other day. I'd

[Lift] Re: Improving lift-flot

2009-11-24 Thread Peter Robinett
Thanks, Jeppe, it's interesting to see how you've approached it. Peter On Nov 24, 12:57 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Peter Robinett pe...@bubblefoundry.com writes: I've been working with lift-flot a lot recently and I'd like to share some thoughts and suggest some

[Lift] Does a Mapper MappedStringForeignKey check for existence when set?

2009-11-24 Thread Peter Robinett
, Peter Robinett [1]: http://groups.google.com/group/liftweb/browse_thread/thread/41894ec33fc538/104ab87f1213ea7b -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group

[Lift] Re: Improving lift-flot

2009-11-24 Thread Peter Robinett
...@ingolfs.dkwrote: Peter Robinett pe...@bubblefoundry.com writes: I've been working with lift-flot a lot recently and I'd like to share some thoughts and suggest some improvements. It's a very useful interface to a great Javascript plotting library, so consider these as small

[Lift] Re: Does a Mapper MappedStringForeignKey check for existence when set?

2009-11-24 Thread Peter Robinett
Ok, thanks, that makes sense. On Nov 24, 2:54 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Nov 24, 2009 at 2:47 PM, Peter Robinett pe...@bubblefoundry.comwrote: I having some memory problems that I suspect are caused, at the end of the day, by creating many Mapper

[Lift] Improving lift-flot

2009-11-23 Thread Peter Robinett
? Peter Robinett PS I've been working with 1.1-M5 and 1.1-M6, but I don't think there have been any changes to lift-flot since then, let alone any that would invalidate my comments. -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group

[Lift] Re: Best practices for objects that refer to their own type?

2009-11-16 Thread Peter Robinett
Based how I think MappedLongForeignKey works, I would expect Comment.parentComment to already have the parent instance, but I haven't tested this. Peter On Nov 16, 8:57 am, Trevor Austin traus...@gmail.com wrote: I have an object type representing a threaded comment that I want to organize

[Lift] Wizard at BASE

2009-11-10 Thread Peter Robinett
the addresses and payment details I entered in the intermediate screens. Am I describing Wizard correctly, and if so, why did you chose the first method of operation over the second? Can the second mode be added? Thanks for all the great work and I'm really looking forward to using Wizard! Peter Robinett

[Lift] Re: Wizard at BASE

2009-11-10 Thread Peter Robinett
, such as a page number. - David Pollakfeeder.of.the.be...@gmail.com wrote: On Tue, Nov 10, 2009 at 9:52 AM, Peter Robinett pe...@bubblefoundry.comwrote: Hi David, Thanks for presenting your latest work on Wizard last night at the Bay Area Scala

[Lift] Re: Pretty Printed Output?

2009-11-09 Thread Peter Robinett
How hard would this be to implement? I'm a big fan of pretty HTML output, so I'd be interested in implementing this if it's not too hard. Peter Robinett On Nov 7, 7:06 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Sat, Nov 7, 2009 at 1:01 AM, aw anth...@whitford.com wrote

[Lift] Re: CometActor fixedRender vs. render

2009-10-26 Thread Peter Robinett
fixedRender sounds very useful and was something I didn't know about. How do you use it? Do you call render from within fixedRender? Peter Robinett On Oct 26, 9:40 am, David Pollak feeder.of.the.be...@gmail.com wrote: There are parts of a comet component that may not change on every render

[Lift] Re: CometActor fixedRender vs. render

2009-10-26 Thread Peter Robinett
/example/src/m... On Mon, Oct 26, 2009 at 11:43 AM, Peter Robinett pe...@bubblefoundry.comwrote: fixedRender sounds very useful and was something I didn't know about. How do you use it? Do you call render from within fixedRender? Peter Robinett On Oct 26, 9:40 am, David Pollak

[Lift] Flot Demo Broken

2009-10-26 Thread Peter Robinett
required: scala.actors.Actor Sensor.acum ! RemoveListener(this) ^ two errors found I assume this is related to the switch of CometActor to LiftActor. Is there any way I can easily help fix this? Should I file a bug? Peter Robinett

[Lift] Re: Flot Demo Broken

2009-10-26 Thread Peter Robinett
That's a start but I'm sure we don't want broken code in the repository! =) Peter On Oct 26, 12:48 pm, Java1Guy mark.cha...@gmail.com wrote: I got it to run pretty easily by locally back porting to 1.1m4. Just change back the one package name change, IIRC. Otherwise it was becoming a big rat

[Lift] Re: Flot Demo Broken

2009-10-26 Thread Peter Robinett
for lift-examples). Would have been trapped by now otherwise. Cheers, Indrajit On 27/10/09 12:54 AM, Peter Robinett wrote: The flot demo in lift-examples/flotDemo on github.com/dpp/liftweb won't compile because of the following errors: lift/lift-examples/flotDemo/src/main/scala/net/liftweb

[Lift] Re: What is going to be in Lift 1.1

2009-10-15 Thread Peter Robinett
Hi David, That sounds like a great list, especially (in my case) the Record, lift-json, OAuth, and REST support. Peter Robinett On Oct 14, 11:27 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I'd like to get everyone's input on what Lift 1.1 will contain.  Here's my list

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread Peter Robinett
David's Beginning Scala book is fantastic: it's perfectly paced, gets straight to the point, and is written in a nice voice. Peter Robinett On Oct 15, 4:41 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Oct 15, 2009 at 4:18 AM, Viktor Klang viktor.kl...@gmail.comwrote: I

[Lift] Re: Complex primary key

2009-10-14 Thread Peter Robinett
http://scala-tools.org/mvnsites-snapshots/liftweb/lift-mapper/scaladocs/net/liftweb/mapper/ManyToMany.html If you look back in the group there is a thread announcing the addition of the trait and how to use it. Peter Robinett On Oct 14, 10:57 am, GA my_li...@me.com wrote: I need a many

[Lift] Re: Complex primary key

2009-10-13 Thread Peter Robinett
GA, so you want a composite primary key? I'm not sure that's possible in most SQL databases, though a unique composite key definitely is... Peter Robinett On Oct 12, 4:30 pm, my_li...@me.com wrote: Hello guys, How can I create a mapper with two or more fields as primary key? For instance

[Lift] Re: Extend the tables that like the migration in the Rails ?

2009-10-12 Thread Peter Robinett
Is User added to Schemefier in Boot.scala? It should look something like: Schemifier.schemify(true, Log.infoF _, User) Peter Robinett On Oct 12, 11:22 am, Neil.Lv anim...@gmail.com wrote: Hi all,    I don't know whether there is a mechanism that like the migration of the Rails

[Lift] Re: Props file example

2009-10-12 Thread Peter Robinett
db.url=jdbc:mysql://localhost/myDB db.user=myUser db.password=myPassword isPeter=true Notice that you can define your own properties. Peter Robinett On Oct 12, 2:42 pm, Guillermo Acilu my_li...@me.com wrote: Hello guys, I am starting to learn Lift and I have a very silly question. I am using

[Lift] Re: LongKeyedMapper object where I can set the id

2009-10-09 Thread Peter Robinett
Hi Harry, I think you also need to set override def dbAutogenerated_? = false I've used dbAutogenerated_? and writePermission_? with MappedStringIndex but I also had to redefine dirty_?, which hopefully you won't have to do. If you do a search through this group you can find my thread on it.

[Lift] Re: YUI Compressor Fatal Error

2009-10-08 Thread Peter Robinett
Hi all, I just switched to the Sun JVM and everything works now, so it definitely was OpenJDK. Oh well. Peter On Oct 6, 7:10 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Oct 6, 2009 at 1:39 AM, Peter Robinett pe...@bubblefoundry.comwrote: Thanks, all. While David

[Lift] Re: YUI Compressor Fatal Error

2009-10-06 Thread Peter Robinett
Lift's comet stuff.  However, Lift Actors do work. I'm not seeing any explicit issues with other libraries. What OS are you running under your OpenJDK installation? On Mon, Oct 5, 2009 at 1:10 PM, Peter Robinett pe...@bubblefoundry.com wrote: Ross, I am using OpenJDK: $ java

[Lift] Re: lift-json's extract and Mapper

2009-10-05 Thread Peter Robinett
  JField(dt, JInt(dt)) - packet   JField(temp, JDouble(temp)) - packet } yield // construct Packet here Cheers Joni On Oct 5, 2:13 am, Peter Robinett pe...@bubblefoundry.com wrote: Thanks, Joni. I've been playing with just that for comprehension syntax over the weekend. How would I do

[Lift] Re: Model Events

2009-10-05 Thread Peter Robinett
Glad to help. Peter On Oct 5, 11:29 am, donfranciscodequevedo donfranciscodequev...@gmail.com wrote: Thanks Peter, that pretty much answers my question! On 5 Okt., 01:17, Peter Robinett pe...@bubblefoundry.com wrote: Hi Gregor, For my Mapper model called Packet, my companion object

[Lift] YUI Compressor Fatal Error

2009-10-05 Thread Peter Robinett
!), 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... [INFO] Searching

[Lift] Re: MappedStringForeignKey and Schemifier

2009-10-05 Thread Peter Robinett
closed. On Sat, Oct 3, 2009 at 3:00 AM, Peter Robinett pe...@bubblefoundry.comwrote: 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

[Lift] Re: YUI Compressor Fatal Error

2009-10-05 Thread Peter Robinett
...@gmail.com 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? On Oct 5, 1:23 pm, Peter Robinett pe

  1   2   >