[Lift] Re: [Lift committers] Lift 2.0-M3 code slush

2010-03-02 Thread Jonathan Hoffman
Hi Dave, Udorse isn't quite ready to turn on foreign key constraints in postgres. Is there an easy way to disable that? - Jon On Mar 1, 2010, at 12:31 PM, David Pollak wrote: Folks, The Lift master branch is now in code slush in anticipation of a late Wednesday March 3rd PST release of

Re: [Lift] Re: Converting a rails application to lift

2010-03-02 Thread Jonathan Hoffman
I'm sure you've got this covered, but I've also had this requirement and used something like this: http://gist.github.com/320200 On Mar 2, 2010, at 4:01 PM, Achint Sandhu wrote: Ticket created -

Re: [Lift] Re: LiftRules.jQueryVersion ... :(

2010-02-23 Thread Jonathan Hoffman
I originally added LiftRules.jQueryVersion, but I agree that this is a much better solution. thanks, - Jon On Feb 23, 2010, at 6:00 AM, Marius wrote: I opened this ticket: http://www.assembla.com/spaces/liftweb/tickets/363-liftrules-jqueryversion-should-not-be-there- I realize that this

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

2010-02-21 Thread Jonathan Hoffman
Does MappedDateTime do what you want? Also look at MappedEnum for the status On Feb 21, 2010, at 6:07 AM, Hannes wrote: Hi Lifters, I'm using Mapper with Lift 1.1-M7 and I need to have some information about time. Especially I wanna store a time-stamp for a status field that can

Re: [Lift] Re: Facebook Application

2010-02-10 Thread Jonathan Hoffman
. - That token is sent to the Lift server which uses it to create a new client (val client = FacebookClient.fromAuthToken(authToken).get) - When the user shares a photo through our API that fb client is used to upload the photo to Facebook On Feb 9, 6:06 am, Jonathan Hoffman jonhoff

Re: [Lift] **Important** Code Slush

2010-02-08 Thread Jonathan Hoffman
Thanks David, I have no new needs for M2. I've been putting the SNAPSHOT builds through the paces and everything checks out ok so far. - Jon On Feb 8, 2010, at 12:28 PM, David Pollak wrote: Folks, We're planning to do 2.0-M2 release on Wednesday. We're officially on code slush to give

Re: [Lift] Re: Facebook Application

2010-02-08 Thread Jonathan Hoffman
Hi All, I just created issue #336 to provide a Facebook Connect helper and example application. You can take a look at what I've got here: http://github.com/dpp/liftweb/commit/3b6686201e3b7f22100e52a04734fd4ccf67910b Leo, if you're trying to use fb connect, hopefully this will help you out (I

[Lift] liftAjax jQuery 1.4.1 problem

2010-02-03 Thread Jonathan Hoffman
Hi, There is a problem with making jsonCalls which return JSON with anonymous functions. I've created a very simple reproducible example, but have not been able to track down the root cause. Take a look at jsonCallBug in:

[Lift] Re: liftAjax jQuery 1.4.1 problem

2010-02-03 Thread Jonathan Hoffman
, Jonathan Hoffman wrote: Hi, There is a problem with making jsonCalls which return JSON with anonymous functions. I've created a very simple reproducible example, but have not been able to track down the root cause. Take a look at jsonCallBug in: http://github.com/hoffrocket

Re: [Lift] Re: is there way to set multipart in ajaxform?

2010-01-28 Thread Jonathan Hoffman
You might also want to look at http://swfupload.org/ On Jan 28, 2010, at 10:51 AM, James Harman wrote: Yeah - you can't do file submit via ajax. The browsers don't support it. James On Thu, Jan 28, 2010 at 2:17 AM, Marius marius.dan...@gmail.com wrote: I don't think it's possible to

Re: [Lift] Re: Image resize code

2010-01-28 Thread Jonathan Hoffman
glanced at the ImageHelper and resizer code. Strom On Jan 28, 8:46 am, Jonathan Hoffman jonhoff...@gmail.com wrote: I'm also working on adding some additional functionality and merging it with the function in ImageHelpers. Let me know if there's anything you want to see. Here's what

Re: [Lift] Re: jQuery 1.4

2010-01-27 Thread Jonathan Hoffman
Hi Indrajit, I think you're right. I didn't notice at first, but there are documented breaking changes in jQuery 1.4 which are outlined here: http://jquery14.com/day-01/jquery-14#backwards Marius, there's also a backward compatibility plugin(see above link) that might address the jstree

Re: [Lift] Re: jQuery 1.4

2010-01-27 Thread Jonathan Hoffman
, David Pollak wrote: Do we want to include both and have a switch in LiftRules or somesuch? On Wed, Jan 27, 2010 at 7:19 AM, Jonathan Hoffman jonhoff...@gmail.com wrote: Hi Indrajit, I think you're right. I didn't notice at first, but there are documented breaking changes in jQuery 1.4

Re: [Lift] Re: jQuery 1.4

2010-01-27 Thread Jonathan Hoffman
: JQueryVersions.Value = JQueryVersions.v132 On Jan 27, 2010, at 11:39 AM, David Pollak wrote: Do we want to include both and have a switch in LiftRules or somesuch? On Wed, Jan 27, 2010 at 7:19 AM, Jonathan Hoffman jonhoff...@gmail.com wrote: Hi Indrajit, I think you're right. I didn't

[Lift] jQuery 1.4

2010-01-26 Thread Jonathan Hoffman
Hi, Has anyone done extensive lift testing with jQuery 1.4.1? My very brief test seems to indicate that things still work as expected, but I'm not doing anything with comet. http://jquery14.com/day-01/jquery-14 Should lift 2.0 upgrade? - Jon -- You received this message because you are

Re: [Lift] jQuery 1.4

2010-01-26 Thread Jonathan Hoffman
wrote: I'm all for making the change. Now is a good time... it will give us a week+ of testing before M2. On Tue, Jan 26, 2010 at 11:03 AM, Jonathan Hoffman jonhoff...@gmail.com wrote: Hi, Has anyone done extensive lift testing with jQuery 1.4.1? My very brief test seems to indicate

Re: [Lift] Re: [Lift committers] Re: Image resize code

2010-01-15 Thread Jonathan Hoffman
Hi Ross, That looks good. It seems you're doing a much better job of handling gif than I would have. Maybe we should move this discussion to the main list to get everyone's input on what features would be useful. Tim, If you've already created a branch, let me know and I'll get my stuff in

Re: [Lift] cookie vs url sessionId precedence

2010-01-04 Thread Jonathan Hoffman
now. Please open a ticket for it. I think this is Marius' department and he'll likely have good ideas. If it's a high priority issue for you, please put your timeframe in the ticket and post a link to the ticket in reply to this message. On Thu, Dec 31, 2009 at 12:03 PM, Jonathan Hoffman

[Lift] cookie vs url sessionId precedence

2009-12-31 Thread Jonathan Hoffman
Hi, I'm using a flash upload widget to post to a Lift mapped function (/ajax_request/name/;jsessionid=x). That works fine, but there is a bug in flash on windows where it decides to send over cookies which were created in IE regardless of what browser you are now using. This causes the

[Lift] Generalized jQuery function missing?

2009-12-17 Thread Jonathan Hoffman
Does something like this exist? I didn't see it, but maybe it was in my blind spot case class JqFunc(function:String, params:JsExp*) extends JsExp with JQueryRight with JQueryLeft { override val toJsCmd = function + ( + params.map(_.toJsCmd).mkString(,) + ) } If not, i'll put in a ticket

Re: [Lift] Re: Newbie on Lift Scala: Build in class source code?

2009-12-07 Thread Jonathan Hoffman
Hi, I've you're running against an h2 database, you can add the following to the end of your Boot.boot to launch the h2 web console when every you start up jetty. It's a very simple web interface to the database, but super convenient (it will even launch your browser for you): if

Re: [Lift] Re: Impossible to use Mapper on GAE?

2009-12-05 Thread Jonathan Hoffman
Have you taken a look a SBT? It's well suited to Lift projects and allows you to manage dependencies from maven repos or with a full path to download location: http://code.google.com/p/simple-build-tool/wiki/LibraryManagement#Inline_Declarations

Re: [Lift] Having trouble figuring out how to get a form to submit without submitting the page, using ajaxForm

2009-12-05 Thread Jonathan Hoffman
Hi, This is a tricky bit. It turns out that the javascript that's used to serialize (jQuery.serialize) the form does not include the submit button. The best way to get the functionality you want is to add a hidden field: SHtml.ajaxForm(bind(...) ++ SHtml.hidden(saveContactMechanismToParty))