[Lift] Re: Serious widget action

2010-03-10 Thread Marius
Please see here http://groups.google.com/group/liftweb/browse_thread/thread/5e4f5e424d33db40/32cfb6752954?lnk=gstq=ExtJs#32cfb6752954 I'd strongly encourage you to integrate ExtJs with Lift and potentially other frameworks. Depending on JS library licence we'd be happy to have

[Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread Marius
Is this currentClient(Full (c)), Text (Ajouter Facture)) called on page X and ViewClient.add snippet on page Y? If you want to preserve state between pages than you should use SessionVars. I don't know what Destination Post snippet means. On Mar 9, 8:13 am, hexa hex...@gmail.com wrote: Hi,  

[Lift] Re: How to use lazy-load?

2010-03-09 Thread Marius
I assume you are using Lift from master ... lazy-load should be able to wrap anything. I'll try to put in some ajaxSelects to see if I can repro. On Mar 8, 10:54 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Mon, Mar 8, 2010 at 5:42 PM, Marius marius.dan...@gmail.com wrote: Can you

[Lift] Re: Issue, The URL params can't contains ? ****

2010-03-09 Thread Marius
You need to do URL encoding first. Helpers.urlEcnode(str) does this. On Mar 9, 3:47 pm, Neil.Lv anim...@gmail.com wrote: Hi all,   I have a silly question about the URL rewrite .   How to let the URL params can contains the character.   Here is the code: ###  The url rewrite.          

[Lift] Re: More dynamic Lift

2010-03-09 Thread Marius
, 9:37 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Tue, Mar 9, 2010 at 9:33 AM, Timothy Perrett   timo...@getintheloop.eu wrote: I'm afraid I agree with Marius... I'm just not sure on the benefit   here over JRebel? My main pain point was changes to Sitemap. JRebel doesn't help

[Lift] Re: How to use lazy-load?

2010-03-09 Thread Marius
on it first. I'll open a ticket for this. Br's, Marius On Mar 9, 1:21 pm, Marius marius.dan...@gmail.com wrote: I assume you are using Lift from master ... lazy-load should be able to wrap anything. I'll try to put in some ajaxSelects to see if I can repro. On Mar 8, 10:54 pm, Jeppe Nejsum Madsen je

[Lift] Re: Issue, The URL params can't contains ? ****

2010-03-09 Thread Marius
Your request needs to be like: http://localhost:8080/download.html?link=http%3A%2F%2Ftest.com%2Ffile.zip%2612345678 and on the server side you can get the link from parameter with S.param(link) On Mar 9, 4:38 pm, Neil.Lv anim...@gmail.com wrote:  I want get the these strings

[Lift] Re: How to use lazy-load?

2010-03-09 Thread Marius
I opened defect 412 and this is now on the review board: http://reviewboard.liftweb.net/r/263/diff/#index_header On Mar 9, 6:08 pm, Marius marius.dan...@gmail.com wrote: Dear Jeppe, I spent some time today in looking to your issue. I was able to reproduce. The problem was that a NPE

[Lift] Re: London Lift talk

2010-03-09 Thread Marius
Really nice talk Richard. Great stuff !!! On Mar 9, 9:05 pm, Richard Dallaway dalla...@gmail.com wrote: On Sat, Feb 20, 2010 at 8:22 PM, andy andy1...@gmail.com wrote: The London Scala User Group (LSUG) will be presenting a talk by Richard Dallaway on 'Getting started with Lift' at

[Lift] Re: Javascript Dependencies

2010-03-08 Thread Marius
On Mar 8, 11:02 am, Peter Robinett pe...@bubblefoundry.com wrote: Marius, I love the simplicity of your proposal but I think that's also its problem. Let's say I have something with several dependencies: lift:MySnipet.work   lift:dependencies     script src=dep1.js/     script src=dep2

[Lift] Re: How to use lazy-load?

2010-03-08 Thread Marius
Can you please send me a minimalistic example ? .. The comet actor shutdown looks correct to me as after the lazy content is rendered that comet is not needed anymore. Can you check with firebug if you get any asynchronous javascript back from the comet request? On Mar 8, 4:31 pm, Jeppe Nejsum

[Lift] Re: 2.0-M3 JQuery 1.4

2010-03-08 Thread Marius
the fact that I certainly did hit refresh before... I am now seeing 1.4.2 JQuery. Regarding lift:with-resource-id, I just added that too.  This is definitely a nice feature because caching has been an issue for me. Thanks Marius! -- You received this message because you

[Lift] Js normalizations

2010-03-07 Thread Marius
that this would lead to some breaking changes but I believe they are necessary. If you think that this makes sense I'll add a ticket and put it in my backlog. Thoughts? Br's, Marius -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email

[Lift] Re: Js normalizations

2010-03-07 Thread Marius
I'm not sure about the fastness as I also have other things and a 4 days baby boy ;) ... but I think this is fairly important and I'll try to prioritize. On Mar 7, 8:52 pm, Mads Hartmann Jensen mads...@gmail.com wrote: Marius, I think this sounds like a great idea - but I only have 2 Lift

[Lift] Re: Js normalizations

2010-03-07 Thread Marius
? - Mariusmarius.dan...@gmail.com wrote: I'm not sure about the fastness as I also have other things and a 4 days baby boy ;) ... but I think this is fairly important and I'll try to prioritize. On Mar 7, 8:52 pm, Mads Hartmann Jensen mads...@gmail.com wrote: Marius, I think this sounds

[Lift] Re: Js normalizations

2010-03-07 Thread Marius
...@gmail.com wrote: Marius, I think this sounds like a great idea - but I only have 2 Lift projects under development so it would be quite fast for me to make any changes Mads On 07/03/2010, at 19.37, Marius wrote: Dear all, Looking at Js api and specifically JsCmds

[Lift] Re: superficial first impressions from a rails junkie

2010-03-06 Thread Marius
On 6 mar., 06:43, cageface milese...@gmail.com wrote: Like many other web developers, I abandoned some heavyweight Java web frameworks about 6 years ago for Rails and have been working pretty much exclusively in Rails ever since. However, I've always had a secret lust for functional

[Lift] Re: 2.0-M3 JQuery 1.4

2010-03-06 Thread Marius
? Did you refresh the browser to make sure that the resources is fetched? If you don't want to bother we resource refresh you can try this: lift:with-resource-id // put your script tags here /lift:with-resource-id I just re-tested and it is working just fine for me JQuery14Artifacts points

[Lift] Re: Problem with FocusOnLoad and passing attributes through bind

2010-03-06 Thread Marius
attributes. On Mar 6, 6:45 pm, Luke Nezda lne...@gmail.com wrote: Thanks for responding Marius.  You're right, my doSearch method doesn't need the msg parameter -- that was just an artifact of transforming an example (removed now).  As far as my specific issue, I guess you're saying

[Lift] Re: superficial first impressions from a rails junkie

2010-03-06 Thread Marius
A few notes from my behalf. I understand Tim's perspective and I fully agree with, but this is a perspective of a guy coming from Lift side which is likely to differ from the perspective of a new comer. 1. I definitely do not agree with something like here is why you should use A and not B thus

[Lift] Re: Javascript Dependencies

2010-03-06 Thread Marius
them per snippet or CometActor. The last (and only) commit on my pr1001_issue_branch shows my first stab at managing and registering the dependencies:http://github.com/dpp/liftweb/tree/pr1001_issue_281. I think it is quite similar to what has been mentioned (compare JsScript to Marius

[Lift] Re: Problem with FocusOnLoad and passing attributes through bind

2010-03-06 Thread Marius
. On Mar 6, 10:10 pm, Marius marius.dan...@gmail.com wrote: Ahh sorry for not posting this earlier. Assume you know the id of your text box (say myfield) and you're using JQuery. import net.liftweb.http.js.jquery._    bind(ajax, xhtml,            searchBox -% SHtml.ajaxText(, q = SetHtml

[Lift] Re: Problem with FocusOnLoad and passing attributes through bind

2010-03-06 Thread Marius
= SetHtml(resultz, Yawni.query(q))) ) and in your template script type=text/javascript $(document).ready(function() { $(#myfield).focus(); }); /script On 6 mar., 23:56, Luke Nezda lne...@gmail.com wrote: Hi, Marius - Ok, I think I catch the drift of your solution.  You said

[Lift] Re: Customizing generated form elements without touching scala code

2010-03-05 Thread Marius
I disagree with the unglyness you are talking about just because Snipets are UI elements. However you can preserve the attributes from the markup such as: def doit(xhtml: NodeSeq): NodeSeq = { bind(f, xhtml, text -% SHtml.text(name, println _) ) } and in the markup

[Lift] Re: Wow... Lift has some amazing stats

2010-03-05 Thread Marius
I'm sooo proud being a little part of it ;) On 5 mar., 19:46, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I just looked at Lift's stats on ohloh.  (http://www.ohloh.net/p/liftweb) A couple of key items: Very large, active development team Over the past twelve months, 33

[Lift] Re: Problem with FocusOnLoad and passing attributes through bind

2010-03-05 Thread Marius
On 22 feb., 04:12, Luke Nezda lne...@gmail.com wrote: Hello, I am new to Scala and Lift.  I am having a problem using 2 features together which seem to work fine individually.  Here's a simplified piece of the code: class Ajax {   def someResult(q:String) = spansome results for query

[Lift] Re: superficial first impressions from a rails junkie

2010-03-05 Thread Marius
Yes we know ... we are working to change the Lift website but it's going slower than I expected to. On 6 mar., 08:34, ngocdaothanh ngocdaoth...@gmail.com wrote: I think with its power and number of developers, Lift can have a better home page. At least better than this because it only has one

[Lift] Re: File Download

2010-03-04 Thread Marius
If you want to download through Lift than yes you can use StreamingResponse, or simply any other LiftResponse (depending on your mime-type) and use LiftRules.dispatch mechanism. But you could also let the container to serve the file. By default Lift is trying to serve .html, .xhtml, .htm, .xml

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

2010-03-03 Thread Marius
and IMHO these should point to the minified versions. Br's, Marius On 3 mar., 20:39, Peter Robinett pe...@bubblefoundry.com wrote: 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

[Lift] Re: Javascript Dependencies

2010-03-01 Thread Marius
that people can easily re-use. Br's, Marius On Mar 1, 1:54 am, Peter Robinett pe...@bubblefoundry.com wrote: 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

[Lift] Re: Javascript Dependencies

2010-03-01 Thread Marius
On Mar 1, 1:50 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Marius marius.dan...@gmail.com writes: Yes I believe this needs a bit more thinking. I didn;t spend too much time into this but perhaps add a LiftRules function to describe the dependency tree per page: i.e. var

[Lift] Re: Javascript Dependencies

2010-03-01 Thread Marius
dig could make this happen? Br's, Marius On Mar 1, 2:45 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Marius marius.dan...@gmail.com writes: [...] I'm not sure that doing this per snippet is the right approach. Maybe we differ in our thinking then :-) I'm thinking more in a component

[Lift] Re: How do I add sitemap.xml and robots.txt

2010-02-28 Thread Marius
To served back an xml file you'd probably want to use proper mimetype text/xml, or application/xml. Id' recommend using DispatchPf. In Boot: val dispatcher: LiftRules.DispatchPF = { case Req(sitemap :: Nil, xml, _) = () = Full(new XmlResponse(cities city name=Boston/ city name=New

[Lift] Re: serving images from a directory

2010-02-27 Thread Marius
If you want Lift to serve images you should put them in /resources/ toserve folder and reference them as /classpath/{image file} If you want to put images say in /img folder at the same level with / WEB-INF for example, you just reference tham /img/{image file} ... these will not be served by

[Lift] Re: The role of LiftRules

2010-02-26 Thread Marius
Well you summarized pretty well what I feel about this. Essentially the way I see it startup configuration things could exists in other classes/objects but should be accessible through LiftRules. A little off-topic ... I'm not at all a FactoryMaker-s fan :p Br's, Marius On Feb 26, 5:01 am

[Lift] Re: Direct access to response.outputStream?

2010-02-26 Thread Marius
On Feb 26, 11:50 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Hi, I need to create a response that downloads a file. The file is generated by a 3rd party api that takes an output stream as the target for the file. As the file can be rather large, I would like to stream this file

[Lift] Re: Direct access to response.outputStream?

2010-02-26 Thread Marius
On Feb 26, 1:29 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Fri, Feb 26, 2010 at 12:06 PM, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: So the thread creation/scheduling and the two times file copying could be avoided by writing directly to the output stream. But I agree this would

[Lift] Re: Reasoning Behind Box

2010-02-26 Thread Marius
been using Option? Are the methods naming differences so dramatic that induces such confusion ? - I do not feel this in practice. It sometimes seems to me that people are view-ing Option as an absolute term - a complete Maybe monad that everyone should obey. Br's, Marius On Feb 26, 4:30 pm

[Lift] Re: How to execute JsCmd after submit

2010-02-26 Thread Marius
Well it looks like you are submitting a non ajax form. You can easily use ajax forms. something like: def calcForm(xhtml:NodeSeq):NodeSeq = { SHtml.ajaxForm(Helpers.bind(f, xhtml, age - SHtml.text(ageVar.is.toString, v = ageVar(v.toInt)), male - SHtml.text(maleVar.is.toString,

[Lift] Re: Logging, part 2

2010-02-25 Thread Marius
I'd opt in for something like: LiftRules.logger = Log4J or LiftRule.logger = MyOwnLogger Br's, Marius On Feb 25, 11:23 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Hi, I'm about to start sprinkling the new logging code over some of Lift's internals. But first, the logging backend

[Lift] Re: Logging, part 2

2010-02-25 Thread Marius
Then perhaps: LiftRules.initLogger(Log4J) On Feb 25, 12:16 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Thu, Feb 25, 2010 at 10:32 AM, Marius marius.dan...@gmail.com wrote: I'd opt in for something like: LiftRules.logger = Log4J Agree this fits the current idioms, but how should

[Lift] Re: Advice for maintaining application state

2010-02-25 Thread Marius
Why SessionVars are almost always a bad idea IMHO ? On Feb 24, 9:54 pm, tiro tim.romb...@googlemail.com wrote: Hi, I had a similar discussion on this list a while ago. http://groups.google.com/group/liftweb/browse_thread/thread/69898fb51... I haven't found THE idiomatic answer in Lift. For

[Lift] Re: bind(): suppress automatic attribute mixin

2010-02-25 Thread Marius
1. what Lift version are you using? 2. Can you try with other attribute name or with multiple attributes? On Feb 25, 6:53 pm, jasper jasper.raedi...@gmail.com wrote: val xml = t:node attr=some/t:node with val processed = bind(t,xml, node - a /) becomes a attr=some/a How do I suppress

[Lift] Re: Logging, part 2

2010-02-25 Thread Marius
(Log4J) On Feb 25, 12:16 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Thu, Feb 25, 2010 at 10:32 AM, Marius marius.dan...@gmail.com wrote: I'd opt in for something like: LiftRules.logger = Log4J Agree this fits the current idioms, but how should this be triggered? The new

[Lift] This is the style of SQL persistence that I like ...

2010-02-24 Thread Marius
Maybe most of you have seen it: http://max-l.github.com/Squeryl/ Br's, Marius -- 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

[Lift] *Minor breaking change* - issue #363

2010-02-24 Thread Marius
Folks, The ability to specify the JQuery version was changed from: LiftRules.jQueryVersion = ... to LiftRules.jsArtifacts = JQuery14Artifacts // this points to JQuery 1.4.2. By default this points to JQuery13Artifacts which points to jQuery 1.3.2 Br's, Marius -- You received this message

[Lift] LiftRules.jQueryVersion ... :(

2010-02-23 Thread Marius
then in ResourceServer we can easily make the version selection. In this way LiftRules has no idea about JQuery, YUI etc and it doesn't need to. it is only about feeding different implementations of JsArtifact. Thoughts? Br's, Marius -- You received this message because you are subscribed

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

2010-02-23 Thread Marius
(yeah forgive me :) ...) On Feb 23, 10:18 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: +1 (and we might as well add 1.4.2 as well/instead :-) On Tue, Feb 23, 2010 at 9:11 AM, Marius marius.dan...@gmail.com wrote: Guys, This has been added not so long ago, and I am aware that I should

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

2010-02-23 Thread Marius
I opened this ticket: http://www.assembla.com/spaces/liftweb/tickets/363-liftrules-jqueryversion-should-not-be-there- I realize that this would bring a slight breaking change but I believe it is worth it. Folks please speak up if you think otherwise. Br's, Marius On Feb 23, 10:25 am, Marius

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-23 Thread Marius
On Feb 22, 8:12 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Sun, Feb 21, 2010 at 9:49 AM, Marius marius.dan...@gmail.com wrote: Guys, I'm starting to have second thoughts about having css or js combine (concatenation of multiple files into a single response) on lift side. I'm

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

2010-02-23 Thread Marius
is on the review board now. Essentially the JsArtifacts implementation owns the path rewriting rules now for its own domain. Br's, Marius On 23 feb., 22:04, Timothy Perrett timo...@getintheloop.eu wrote: Jon, did it go through a discussion on the mailing list? I dont remember seeing it? (and I cant find

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-21 Thread Marius
content js/css etc. Thus combining multiple js/css with simple tools seems more practical. Thoughts? Br's, Marius -- 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: Has anyone gotten the uservoice javascript to work?

2010-02-20 Thread Marius
In boot try setting LiftRules.useXhtmlMimeType = false; If that doesn't work please try to set up a minimalistic lift app that you can share so we can try it really quick and diagnose. Br's, Marius On 20 feb., 19:43, Jim Barrows jim.barr...@gmail.com wrote: I'm trying to get the uservoice

[Lift] Re: London Lift talk

2010-02-20 Thread Marius
Neat ! ... will there be any video ? Br's, Marius On 20 feb., 22:22, andy andy1...@gmail.com wrote: Hi all The London Scala User Group (LSUG) will be presenting a talk by Richard Dallaway on 'Getting started with Lift' at SkillsMatter on the March 8th 2010 at 6:30. This will be a general

[Lift] Re: how to put UTF string into the redirect URL?

2010-02-20 Thread Marius
I think you need to URL encode it. On 21 feb., 04:33, wm min...@gmail.com wrote: I need put some UTF string into the URL to be redirected, e.g.: str = 'some-UTF-str' S.redirectTo(/foo?bar=+str) But after the redirection, in the browser address bar it

[Lift] Re: Comet issue for Lift-2.0-scala280-SNAPSHOT

2010-02-19 Thread Marius
Can you also try with Scala 2.7.7 ? On Feb 19, 2:26 pm, tbje trond.bjerkestr...@gmail.com wrote: Hi, I've been testing out the Lift-2.0-scala280-SNAPSHOT a little bit and found a issue with Comet actor, setHtml and ajaxInvoke. When trying to invoke the following partial update nothing seems

[Lift] Re: Comet issue for Lift-2.0-scala280-SNAPSHOT

2010-02-19 Thread Marius
Yeah AFAIK Scala 2.8 integration is not 100% done and fully tested. Br's, Marius On Feb 19, 3:52 pm, tbje trond.bjerkestr...@gmail.com wrote: Hi Marius, I discovered the issue while porting a working application from 2.7.7 to lift 2.0-scala280-SNAPSHOT and scala 2.8.0.Beta1. In the example

[Lift] Re: Error processing SHtml functions withing nested NodeSeq/Scala code

2010-02-16 Thread Marius
) } } } But I'm not sure from your code wht you do with the output of your listFilesInDir since that never gets to be rendered. I strongly recommend using CometActor whenever you want to render something asynchronously. It does a lots of good things for you. Br's, Marius On Feb 16

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-16 Thread Marius
on startup. Applications that needs MD5 per file could calculate that and maintain them. Hi Marius, what does the proposed token represent? It looks to me like it represents a given resource (css file) per running instance of Jetty. In my prototype it is a random string generated once

[Lift] Re: Error processing SHtml functions withing nested NodeSeq/Scala code

2010-02-16 Thread Marius
On Feb 16, 11:17 am, soumik soum...@gmail.com wrote: Hi Marius,  Thanks for the quick update. The xhtml returned from the listFilesInDir() is actually sent as a message to a display CometActor which renders the xhtml it receives within a specific div tag. So in essence we have

[Lift] Re: Error processing SHtml functions withing nested NodeSeq/Scala code

2010-02-16 Thread Marius
On Feb 16, 8:11 pm, soumik soum...@gmail.com wrote: Thanks Marius and David for your suggestions. I'll try that out. As to the problem itself, don't you think there should some kind of exception generation to avoid the issue happening? I still don't think there is a hang involved. Can you

[Lift] Re: Error processing SHtml functions withing nested NodeSeq/Scala code

2010-02-15 Thread Marius
I don't think the cause is in SHtml. I tried your code from a snippet and from a Comet actor and there was no lock whatsoever. But I did use lift 2.0-SNAPSHOT. can you try with 2.0-SNAPSHOT ? Br's, Marius On 15 feb., 15:20, soumik soum...@gmail.com wrote: Hi,  I'm using 1.1-SNAPSHOT lift

[Lift] Re: Lift Record

2010-02-15 Thread Marius
def render (person: Person): NodeSeq = ... Option 3 ... there has to be one or more so I'm able to pass a CouchDB record to other layers without explicitly passing the persistence store information. So I don't see much loss ... Br's, Marius On 15 feb., 17:28, Timothy Perrett timo

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-14 Thread Marius
of resource. What about something like lift:uniqueurl path=url / Or something else? Thanks for contributing this! 2010/2/12 Marius marius.dan...@gmail.com On 12 feb., 21:31, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Fri, Feb 12, 2010 at 8:20 PM, Marius marius.dan...@gmail.com wrote

[Lift] Re: New logging code

2010-02-14 Thread Marius
Overall it's looking pretty good, but why do we need both Logging and Loggable ? Br's, Marius On 14 feb., 15:40, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Hi, I've added first shot at the new logging code: http://github.com/dpp/liftweb/blob/e7ed6c6bc013aea768bfe34a6e4eca22d2... I've

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-13 Thread Marius
would expect. If you can dig deeper that would be useful. On Feb 12, 1:28 pm, Marius marius.dan...@gmail.com wrote: Oh yes I did and I hate it. Ironically I was about to propose a solution for this. instead of link rel=stylesheet type=text/css href=mycss.css/ do something like

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-13 Thread Marius
On 12 feb., 23:04, Alex Black a...@alexblack.ca wrote: Yes, that's how it should work if everything was configured correctly (which I think it wasn't for the OP) Heh, I'm the OP. I'll have to dig into why its not working as expected I guess. But what we were discussing (at least I was

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-13 Thread Marius
serve desired resources in one response. To sum up the random string is what I think we should start with. IMO it is a fairly good solution that can evolve in time towards something else. Cheers Tim On 13 Feb 2010, at 08:45, Marius wrote: On 12 feb., 23:04, Alex Black a...@alexblack.ca

[Lift] Re: JsCmds disabled inputs do not submit information

2010-02-13 Thread Marius
I don't think right now that this is a Lift problem. Do you experience this on all browsers? If so can you put together a minimalistic app that reproduces the behavior and send it to us? Br's, Marius On 13 feb., 19:28, Strom strommo...@gmail.com wrote: It seems that when I disable form inputs

[Lift] Re: Simple JQueryUI call

2010-02-13 Thread Marius
Try this: import JE._ import JqJE._ def openDialog:String = { (JqId(dialogpopup) ~ JsFunc(dialog, open)).toJsCmd } or def openDialog:String = { (JqId(dialogpopup) new JsExp with JQueryRight { def toJsCmd = dialog('open') }).toJsCmd } Br's, Marius On 13 feb., 20:42

[Lift] Re: Breaking changes in lift-record 2.0-SNAPSHOT - Optional fields

2010-02-12 Thread Marius
Excellent work Ross ! On Feb 12, 6:49 am, Ross Mellgren dri...@gmail.com wrote: I just committed a change to lift-record in 2.0-SNAPSHOT that will possibly (probably?) break your build if you use it. This change makes it possible to have any record field be optional -- that is,

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-12 Thread Marius
could potentially set your own function that reads this for a config file? Similarly lift:js name=myjs.js/ would do the same. Br's, Marius On 12 feb., 19:25, Alex Black a...@alexblack.ca wrote: I'm wondering if other people have encountered this issue, or if we're doing something wrong

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-12 Thread Marius
rules to alter the behaviour and away we go. Perhaps something like: lift:css href=/whatever.css  / Thoughts? Cheers, Tim On 12 Feb 2010, at 18:53, Jeppe Nejsum Madsen wrote: On Fri, Feb 12, 2010 at 7:28 PM, Marius marius.dan...@gmail.com wrote: Oh yes I did and I hate it. Ironically I

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-12 Thread Marius
name that would contain the mycss.css, some_other.css. /classpath/baz.css concatenated. Same thing for JS. This content could potentially be compressed. I can open a ticket and start looking into this. Br's, Marius On 12 feb., 20:53, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Fri, Feb 12

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-12 Thread Marius
I opened http://www.assembla.com/spaces/liftweb/tickets/346-Solve-CSS-JS-unwanted-caching Br's, Marius On 12 feb., 21:20, Marius marius.dan...@gmail.com wrote: Jeppe probably we can combine the two proposals. Perhaps something like: lift:css name=mycss.css, some_other.css. /classpath

[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-12 Thread Marius
On 12 feb., 21:31, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Fri, Feb 12, 2010 at 8:20 PM, Marius marius.dan...@gmail.com wrote: Jeppe probably we can combine the two proposals. Yes, that would be natural Perhaps something like: lift:css name=mycss.css, some_other.css. /classpath

[Lift] Re: Logging changes

2010-02-11 Thread Marius
Not sure about Jeppe but this sounds really good to me. Br's, Marius On Feb 12, 6:56 am, David Pollak feeder.of.the.be...@gmail.com wrote: Jeppe Co., I've been thinking about the logging changes. How about a different approach?  How about a new logging system in common that takes the best

[Lift] Re: how to combine sequence of JsCmd in SHtml.ajaxCall?

2010-02-10 Thread Marius
    (JsCmds.SetHtml(...)     JsCmds.SetElemById(...)     JE.JsRaw(alert('1'))     JE.JsRaw(alert('2'); alert('3'))).cmd Br's, Marius On Feb 10, 10:22 am, wm min...@gmail.com wrote: Hi, I have the following code:   def jsF(x: String): JsCmd = {     /*     JsCmds.SetHtml

[Lift] Re: Netty integration

2010-02-10 Thread Marius
Nick did you happen to make some progress on this? Are you still working on it ? Br's, Marius On 27 ian., 14:54, nick n...@glynnreeves.plus.com wrote: I'm just about to try and do aNettyintegration, which I might be able to contribute back. Searching the group I deduce that this is possible

[Lift] Re: Welcome javier Goday to the Lift committers

2010-02-10 Thread Marius
WELCOME ! On 9 feb., 18:09, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Please join me in welcoming Javier Goday to the Lift committers.  Javier wrote the Lift LDAP module and now that he's a committer, he can make the LDAP module part of the official Lift distribution (and the

[Lift] Re: HTTP Reason Phrase

2010-02-08 Thread Marius
/spaces/ liftweb/tickets) and assign it to me ? Br's, Marius On 8 feb., 21:08, David Pollak feeder.of.the.be...@gmail.com wrote: I think this issue rests with Marius.  He's done most of the interface between Lift and the servlet containers.  Let's see what he has to say. On Sun, Feb 7, 2010

[Lift] Re: Forcing Authentication not working

2010-02-07 Thread Marius
Please open a defect here http://www.assembla.com/spaces/liftweb/tickets Br's, Marius On Feb 7, 10:44 pm, aw anth...@whitford.com wrote: OK, I think I found the source code that is the culprit.  From LiftServlet.scala: http://github.com/dpp/liftweb/blob/master/framework/lift-base/lift-we

[Lift] Re: Error messages are not displayed - 2.0-M1

2010-02-06 Thread Marius
Are you using in your html page lift:msgs/ ? Br's, Marius On Feb 6, 10:45 am, wibblecp wibbl...@gmail.com wrote: Hi all, I'm newbie with lifts and I am having a little problem. I am using Lift2.0-M1. I have a snippet that runs the rescue of a model. The method is called when the submit

[Lift] Re: Error messages are not displayed - 2.0-M1

2010-02-06 Thread Marius
that are not associated with any ID. Br's, Marius On Feb 6, 3:51 pm, wibblecp wibbl...@gmail.com wrote: hi Adam, thank you. It is exactly what I done def validateAndSave (): Unit = currentEntry.validate match {       case Nil = currentEntry.save ; S.notice(currentEntry.title + SAVED!)       case x = { x

[Lift] Re: LiftRules inconsistencies (including FactoryMaker grump)

2010-02-05 Thread Marius
Yeah it is not clear to me why not just using function like: LiftRules.stripComments: () = Boolean Maybe I missed previous talks, or just not remember it it doesn't look that API simplified or became more intuitive by adding FactoryMakers ... Br's, Marius On Feb 5, 5:35 pm, Timothy Perrett

[Lift] Re: CometActor.fixedRender always below render?

2010-02-03 Thread Marius
to allow this ... Br's, Marius On Feb 3, 5:15 pm, Heiko Seeberger heiko.seeber...@googlemail.com wrote: Hi, It looks like the output from fixedRender is always placed below the one from render. Is there a way to change this? Heiko -- Heiko Seeberger Work: weiglewilczek.com Blog

[Lift] Re: liftAjax jQuery 1.4.1 problem

2010-02-03 Thread Marius
a function which I don't think it is correct. So why do you need the jsonCall stuff with AjaxContext.json ? Br's, Marius On 3 feb., 22:08, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Feb 3, 2010 at 11:55 AM, Jonathan Hoffman jonhoff...@gmail.comwrote: I was able to find the root

[Lift] Re: Snippet attribute pass through

2010-02-01 Thread Marius
Replace your bind with: bind (ledger, content, time -% span{(new java.util.Date).toString}/span) ledger:id is not anymore preserved as after the was out this was considered a not intended feature and got moved. -% should do what you want. Br's, Marius On Feb 1, 5:57 pm, ced docpom

[Lift] Re: Snippet attribute pass through

2010-02-01 Thread Marius
Well the book reflects Lift at that point in time. Since then there were quite a few updates. I know Derek at some point tried to keep it up to date but I'm not sure now. This is not about fixing the book. Br's, Marius On 1 feb., 18:39, Naftoli Gugenheim naftoli...@gmail.com wrote: Anyone want

[Lift] Re: Question on Javascript calls

2010-01-31 Thread Marius
that when serving the primordial lift-ajax/comet script. You can also use them for js events just to do some client stuff without invoking ajax. This is pretty handy as where you compute your button content from a snippet you can easily attach JS behavior as well. Br's, Marius On Feb 1, 2:27 am

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

2010-01-28 Thread Marius
I don't think it's possible to do files upload via Ajax. There are workarounds but not directly with Ajax. If it would be possible Lift would have expose it already. Please look into widgets project on the upload widget. It does a fiel upload ajax-like including progress bar. Br's, Marius On Jan

[Lift] Re: Lift logging improvements

2010-01-28 Thread Marius
+1 On Jan 27, 11:59 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Hi, I was thinking about some improvements to Lift's logging code: 1) Make the slf4j logging configurable in the same way as log4j (ie with dev, prod logback files) 2) Add support for MDC to Lift's logging interface (and

[Lift] Re: Exception notification?

2010-01-28 Thread Marius
See LiftRules.exceptionHandler On Jan 29, 12:33 am, Yu-Shan Fung ambivale...@gmail.com wrote: Hi All, A bit of a shot in the dark, but is there an easy way to setup email notification on an lift app whenever an uncaught exception occurs? Seems like a common enough use-case, just wonder if

[Lift] Re: jQuery 1.4

2010-01-27 Thread Marius
This broke my app ... with flying colors :D But it's not really Lift or jquery's fault. I'm using jstree plugin http://www.jstree.com/ and it doesn't seem to work properly with jquery 1.4. No biggies as I reverted to jquery 1.3.2. but others may hit this as well. Br's, Marius On Jan 26, 9:03

[Lift] Re: Netty integration

2010-01-27 Thread Marius
I'd strongly encourage you to do it. I was planning to work on it but I never seem to find slots for it :( If you run into some problems especially related with provider API please let me know. Br's, Marius On Jan 27, 2:54 pm, nick n...@glynnreeves.plus.com wrote: I'm just about to try and do

[Lift] Re: jQuery 1.4

2010-01-27 Thread Marius
Thanks Jon. On Jan 27, 5:19 pm, 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 which are outlined here:http://jquery14.com/day-01/jquery-14#backwards Marius, there's also

[Lift] Re: New ticketing system

2010-01-26 Thread Marius
pretty good. So you got my vote. Br's, Marius On Jan 26, 7:46 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, We switched to GitHub's ticketing system a bunch of months ago and, well, it's not making the grade.  It's slow.  It's limited (no unclosing tickets, no attachments, weak

[Lift] Re: Welcome Jeppe to the Lift committers

2010-01-25 Thread Marius
Welcome Jeppe ! On Jan 25, 9:26 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Fri, Jan 22, 2010 at 5:25 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Please join me in welcoming Jeppe as a Lift Committer.  He's been helping people on the Lift list and contributing

[Lift] Re: FIXME comet type Full(xxx) name Full(yyy) timeout

2010-01-25 Thread Marius
For some reason your comet does not respond in about 26 seconds with a rendering message (AnswerRender) and this is when the Comet snippet wants to render out stuff. Can you send a minimalistic app where you can reproduce this so we can try it ? Br's, Marius On Jan 26, 8:57 am, aw anth

[Lift] Re: Can sessions do this?

2010-01-24 Thread Marius
On Jan 24, 9:29 pm, Nolan Darilek no...@thewordnerd.info wrote: On 01/23/2010 11:32 AM, Marius wrote: Well that just the standard session behavior but if you want JSESSIONID in the URL yu should probbaly turn off cookies in Jetty (or whatever container you have). Thus the URL's from

  1   2   3   4   5   6   7   8   9   10   >