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

2010-02-13 Thread Marius
On 12 feb., 22:56, Alex Black a...@alexblack.ca wrote: If this was implemented, it should be a unique id once per CSS change, not once per application start. There is no proper API to see when file names are changed unless we poll. I prefer to have LiftRules function that by default takes a

[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] Easy way to use ajax to set select option?

2010-02-13 Thread Strom
Is there an easy way in lift to choose a select option value in a form? I have an ajax check box that's supposed to auto fill a form, but outside of looping, I don't know if there's a more practical way to do it. I was thinking I could assign each select option an id and then do it based on that,

[Lift] Interest in improved OpenId attribute support?

2010-02-13 Thread Jeppe Nejsum Madsen
Hi, As part of a project, I've made some improvements to the OpenId attribute exchange. Together with https://www.assembla.com/spaces/liftweb/tickets/329-Make-OpenID-support-more-extensible this makes it possible to easily get attributes from different providers. Ie you can write stuff like

[Lift] Re: Easy way to use ajax to set select option?

2010-02-13 Thread Strom
Nm, I figured it out. I'm just using the enumeration value's id (index in select field) and running this JsCmds.Run(JE.JsRaw( String.format(document.getElementById('%s').options[%s].selected=true, domId, valueId.toString)).toJsCmd) On Feb 13, 2:05 pm, Strom strommo...@gmail.com wrote: Is there

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

2010-02-13 Thread Marius
On 13 feb., 18:44, Timothy Perrett timo...@getintheloop.eu wrote: Seems like this conversation is diverging somewhat. Can I suggest there are two things in play here, and they address different problems. 1. Stopping the caching of resource files for an application build; the proposed

[Lift] Re: very excited about 2.0

2010-02-13 Thread Zach Cox
I'm also really excited to learn what many of Scala’s benefits, including a development model that looks like Ruby on Rails means exactly. I read through the change reports but nothing looked Rails-y to me. The announcement on scala-lang.org (http://www.scala-lang.org/ node/5236) also mentions

Re: [Lift] Re: very excited about 2.0

2010-02-13 Thread David Pollak
On Sat, Feb 13, 2010 at 9:11 AM, Zach Cox zcox...@gmail.com wrote: I'm also really excited to learn what many of Scala’s benefits, including a development model that looks like Ruby on Rails means exactly. I read through the change reports but nothing looked Rails-y to me. The announcement

[Lift] JsCmds disabled inputs do not submit information

2010-02-13 Thread Strom
It seems that when I disable form inputs and set their values via JsCmds.setValById, the values don't get submitted to Lift in the form. Has anyone else had this problem? -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email

[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] Simple JQueryUI call

2010-02-13 Thread Richard
Can someone post an example of a very simple way to use JQuery UI to open a dialog. I found this code online but it's not well documented and I can't get it to work. I'm assuming that the scala code was in a snippet and that the HTML was in a web page. I've also tried implemententing as a View but

[Lift] Re: Lucene (Full text indexing and searching) and Lift

2010-02-13 Thread donfranciscodequevedo
Hi David, searching for lucene and Liftweb, I found this post from you Neat. Using Lucene and Hadoop was one of the driving factors for me to learn Scala and write lift. So is there some recommended way of how to do this in Lift/Scala? Or is it just as simple as including the Java Lucene package

Re: [Lift] Re: Lucene (Full text indexing and searching) and Lift

2010-02-13 Thread David Pollak
On Sat, Feb 13, 2010 at 12:21 PM, donfranciscodequevedo donfranciscodequev...@gmail.com wrote: Hi David, searching for lucene and Liftweb, I found this post from you Neat. Using Lucene and Hadoop was one of the driving factors for me to learn Scala and write lift. Yeah... that's what

[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,

Re: [Lift] Re: very excited about 2.0

2010-02-13 Thread Timothy Perrett
B - sounds like creative license on the part of the writer It really bugs me when stuff like that goes on; also dont like constantly having lift compared with rails lol! Cheers, Tim On 13 Feb 2010, at 17:17, David Pollak wrote: On Sat, Feb 13, 2010 at 9:11 AM, Zach Cox

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

2010-02-13 Thread ngocdaothanh
I think it is the browsers that don't send values of disabled inputs. On Feb 14, 2:46 am, Marius marius.dan...@gmail.com wrote: 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

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

2010-02-13 Thread Timothy Perrett
Correct - they don't. Sent from my iPhone On 14 Feb 2010, at 00:24, ngocdaothanh ngocdaoth...@gmail.com wrote: I think it is the browsers that don't send values of disabled inputs. On Feb 14, 2:46 am, Marius marius.dan...@gmail.com wrote: I don't think right now that this is a Lift problem.

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

2010-02-13 Thread Naftoli Gugenheim
May I suggest that instead of naming the tag 'css,' it be given a name that's more agnostic of the content it affects and more indicative of what it does? Technically this could be used for any type of resource. What about something like lift:uniqueurl path=url / Or something else? Thanks for