[Lift] Re: Binding a snippet in a comet actor?

2009-10-09 Thread Somindra Bhattacharya
Thanks David! On Oct 10, 12:17 am, David Pollak wrote: > This is a defect.  I've opened a > ticket:http://github.com/dpp/liftweb/issues#issue/93 > I'll have a fix checked in later today > > On Fri, Oct 9, 2009 at 1:02 AM, Somindra Bhattacharya > wrote: > > > > > > > David, > > > Thanks for resp

[Lift] Re: PayPal Subscriptions

2009-10-09 Thread Timothy Perrett
Ryan, Ignore my last email please - i've just tested the change using the IPN simulator and it now handles the Cancel message properly by passing Empty. The change is on my branch here: http://github.com/dpp/liftweb/commit/451dd3cb97e562a063da5cfe046badf1f9d8ad4c Cheers, Tim On Oct 10, 1:05 a

[Lift] Re: PayPal Subscriptions

2009-10-09 Thread Timothy Perrett
Ryan, Looking at it, the strange thing is actually why it compiles now, not why it doesn't compile with the change you suggested. Given: for (info <- buildInfo(resp, r); // stat is going to be a Box[PaypalTransactionStatus.Value] anyway // because of L489. stat <- info.paymentStatus) yie

[Lift] Re: Started integrating lift in a scala+spring project. Feedback?

2009-10-09 Thread Randinn
I'm sorry for the late question but have you looked at Scalaffinity? http://sourceforge.net/projects/scalaffinity/ It might give you an idea or two... On Oct 1, 8:14 pm, rintcius wrote: > Hi, > > I have started integrating Lift in a Scala +Springexample project > (seehttp://code.google.com/p/s

[Lift] Re: Question about the Getting Started Guide

2009-10-09 Thread oatkinson
I was getting the same problem last week. Now this week i am getting something similar that i am wondering if it is because of a proxy: 17:26:40 atkinso...@atkinsonos-laptop:~/personal/hg/lift-experiment2$ mvn jetty:run [INFO] Scanning for projects... Downloading: http://mvn.onemodel.org:8082/ne

[Lift] Dynamic SiteMap

2009-10-09 Thread Markus Kolb
Hi, I'm something new to Scala and Lift is freshmeat for me. At the moment I am trying to find a best practice possibility to setSiteMap with a SiteMap which includes Menus and Locs which might change during application runtime. Let me say... each user should get his own, unique SiteMap after log

[Lift] Re: Having trouble with form submission when using JavaScript to fetch the template

2009-10-09 Thread David Pollak
Can you put together a simple reproduceable case for this? On Wed, Oct 7, 2009 at 9:12 AM, glenn wrote: > > My JavaScript/JQuery programming is weak and I'm not sure how to > explain the issue I'm having, but here goes... > > I have a simple template for editing and saving changes to a Mapper >

[Lift] Re: Using plain usernames for authentication

2009-10-09 Thread David Pollak
I suggest copying/pasting the MegaProtoUser stuff and then changing what you want. Sorry that this is less than perfectly OO. On Thu, Oct 1, 2009 at 8:27 PM, tommycli wrote: > > Looking through the book and source for MegaProtoUser, it looks like > the email address is used as the primary identi

[Lift] Re: Binding a snippet in a comet actor?

2009-10-09 Thread David Pollak
This is a defect. I've opened a ticket: http://github.com/dpp/liftweb/issues#issue/93 I'll have a fix checked in later today On Fri, Oct 9, 2009 at 1:02 AM, Somindra Bhattacharya wrote: > > David, > > Thanks for responding. > > I have hosted the example at http://174.129.214.150:8080/ > > The co

[Lift] Re: PayPal Subscriptions

2009-10-09 Thread Ryan Donahue
Here's a diff showing the changes I made. Notice I added a case to the SimplePaypal.actions method that I'd think would fail compilation but does not. On Fri, Oct 9, 2009 at 1:08 PM, Ryan Donahue wrote: > Well, I am a scala newb, but I know maven all too well. I ran "mvn clean > install" from

[Lift] Re: PayPal Subscriptions

2009-10-09 Thread Ryan Donahue
Well, I am a scala newb, but I know maven all too well. I ran "mvn clean install" from the lift-paypal dir to install lift-paypal-1.1-SNAPSHOT.jar to my local repo. To be sure, I changed the signature as follows which does cause errors: def actions: PartialFunction[(PayPalInfo, Req), Unit] Chang

[Lift] Re: java.lang.OutOfMemoryError: PermGen space, Could't start SessionMaster ping

2009-10-09 Thread Rob Saul
A colleague of mine found these interesting articles regarding PerGen issues : http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java http://blogs.sun.com/fkieviet/entry/how_to_fix_the_dreaded ~Rob --~--~-~--~~~---~--~~ You received this messag

[Lift] Re: PayPal Subscriptions

2009-10-09 Thread Timothy Perrett
Hey Ryan, How *exactly* did you locally do the build? If you had done the install of your altered lift-paypal then you would certainly get a compile error because the signature has changed. The new syntax should be: object MyIPN extends PaypalIPN { def actions = { case (Full(CompletedPayme

[Lift] Re: Getting error -Access denied after deploying on Apps Engine

2009-10-09 Thread David Pollak
Did you set the in.gae.j System Property to "true"? On Thu, Oct 8, 2009 at 11:29 PM, technut wrote: > > Hi , > Its appreciate, If someone look into the issue ,while deploying on > Google Apps Engine. > > Error Log. > java.security.AccessControlException: access denied > (java.lang.RuntimePermiss

[Lift] Re: PayPal Subscriptions

2009-10-09 Thread Ryan Donahue
Tim, I locally changed the PaypalIPN.actions method return type to trait PaypalIPN { def actions: PartialFunction[(Box[PaypalTransactionStatus.Value], PayPalInfo, Req), Unit] } Apparently this does not cause any compilation errors for user implementing their own IPN handler as follows object M

[Lift] Re: Use lift1.0 or 1.1 or 1.x to create a stable and large site(project) ?

2009-10-09 Thread David Pollak
I use Lift 1.1-SNAPSHOT on all the sites I work on (that's currently at 7). There's rarely breakage on SNAPSHOT. On Fri, Oct 9, 2009 at 3:01 AM, Neil.Lv wrote: > > Hi liftweb, > > Is anyone has used lift to create a stable and large site ? If i > want to create this site which version that is

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

2009-10-09 Thread David Pollak
On Fri, Oct 9, 2009 at 1:17 AM, Peter Robinett wrote: > > 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

[Lift] Re: Ext.Direct

2009-10-09 Thread Dirk Louwers
Ok, the ExtJsArtifacts class and the companion script named liftExtJs is finished. I have tested them with the JSON example in the wiki since that seems to use a reasonable amount of functionality. All seems to be working. I would like to write a wiki page detailing how to get Ext support using th

[Lift] Re: Getting error -Access denied after deploying on Apps Engine

2009-10-09 Thread Timothy Perrett
Are you trying to use an actor or such? Thread spawning is not allowed on GAE... Cheers, Tim On 9 Oct 2009, at 07:29, technut wrote: > > Hi , > Its appreciate, If someone look into the issue ,while deploying on > Google Apps Engine. > > Error Log. > java.security.AccessControlException: acces

[Lift] Re: Getting error -Access denied after deploying on Apps Engine

2009-10-09 Thread Stefan Langer
Looks like some part of your program is creating threads or trying to modify them which is prohibited by AppEngine as far as I know. Please correct me if I'm wrong. Regards Stefan 2009/10/9 technut > > Hi , > Its appreciate, If someone look into the issue ,while deploying on > Google Apps Engine

[Lift] Getting error -Access denied after deploying on Apps Engine

2009-10-09 Thread technut
Hi , Its appreciate, If someone look into the issue ,while deploying on Google Apps Engine. Error Log. java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup Thanks Technut --~--~-~--~~~---~--~~ You received this messa

[Lift] Use lift1.0 or 1.1 or 1.x to create a stable and large site(project) ?

2009-10-09 Thread Neil.Lv
Hi liftweb, Is anyone has used lift to create a stable and large site ? If i want to create this site which version that is suit, lift1.0 or higher version. If someone knows the site that develop by lift or has used lift to create a site, could you give me some ideas? Thanks very much

[Lift] Re: Missing i18n in Lift?

2009-10-09 Thread Jeppe Nejsum Madsen
On Thu, Oct 8, 2009 at 6:26 PM, Heiko Seeberger wrote: > Try LiftRules.formatDate and LiftRules.parseDate Yes, I'm aware of these and together with localeCalculator they can be made to work. For numbers, I've created http://github.com/dpp/liftweb/issues/#issue/92 /Jeppe --~--~-~--~---

[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. How

[Lift] Re: YUI Compressor plugin for SBT

2009-10-09 Thread Timothy Perrett
Looks pretty sweet Jon, kudos. Cheers, Tim On Oct 9, 2:21 am, jon wrote: > Hi all, > > I've created a plugin hosted here:http://github.com/hoffrocket/sbt-yui > > Thank you to David Bernard for paving the way with his maven version > and to Mark Harrah for creating sbt and providing guidance. >

[Lift] Re: java.lang.OutOfMemoryError: PermGen space, Could't start SessionMaster ping

2009-10-09 Thread Timothy Perrett
Javarebel will certainly help here, but it wont solve the problem entirely as there are always going to be somethings that it cannot replace dynamically. Regarding the question about goals, this is the maven syntax: mvn ... etc so, install, and jetty:run are goals in maven terminology. Cheers

[Lift] Re: Binding a snippet in a comet actor?

2009-10-09 Thread Somindra Bhattacharya
David, Thanks for responding. I have hosted the example at http://174.129.214.150:8080/ The code is at http://174.129.214.150:8080/dynamicForm.tar.gz Here are the steps to reproduce the issue: 1. Open http://174.129.214.150:8080/ in a browser window. This starts a comet actor which listens fo