[Lift] How do I add unique id to radio inputs for labels?

2010-03-10 Thread Strom
;, /*I want a unique id here...preferably the key or hashcode*/) ) Thanks, Strom -- 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

Re: [Lift] Not Sure How to Arrange Mapper Classes or QueryParams to Handle My Data Model.

2010-03-10 Thread Naftoli Gugenheim
By(ProgrammerProject.relationshipType, RelationshipType.Develops But it doesnt. Any advice would be most appreciated -- 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

[Lift] Re: Multiple stateful snippets in a page , keeping the common state?

2010-03-10 Thread hexa
You've been very helpful really! I need to make my part now and read both the scala & lift book , properly And experiment but at least now I have solution tails to follow :) Thanks again hexa On Mar 10, 12:22 pm, David Pollak wrote: > The simplest answer is to use traits to defi

[Lift] Not Sure How to Arrange Mapper Classes or QueryParams to Handle My Data Model.

2010-03-10 Thread Matyjas
elationshipType.Develops But it doesnt. Any advice would be most appreciated -- 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 l

[Lift] Re: BSON support in lift-json

2010-03-10 Thread Joni Freeman
hat > > ADT (map, etc.) and maybe a function which can encode BSON as JSON > > (bvalue.toJson). Encoding BSON as JSON would give some features for > > free, for instance toXml. Anyway, this approach would probably cause > > some code duplication between lift-json and lift-bson

Re: [Lift] Re: Multiple stateful snippets in a page , keeping the common state?

2010-03-10 Thread David Pollak
persists after a submit on the AddInvoice... > > > the client persists > > > > > But for the other snippet .. the state is lost... > > > > > So is there a way to manage the common states of multiple snippets in > > > a page ? Should I use a SessionVar

[Lift] Re: non-Lazy evaluation of bind FuncBindParam functions?

2010-03-10 Thread Stuart Roebuck
ction BindParams, all the functions are > > > evaluated regardless of whether a match is found. > > > > So, for example, if you bind to an empty NodeSeq and have a BindParam > > > which will never match like: > > >       "you won't find me here" -&g

Re: [Lift] Re: Serious widget action

2010-03-10 Thread David Pollak
> deep dive into ExtJS, but wanted to float the idea in case someone was > > aware of a red flag before I wasted too much time. > > > > It doesn't sound like anybody is using ZK [1], eh? > > > > [1]http://zkoss.org/ > > -- > You received this

Re: [Lift] Re: Serious widget action

2010-03-10 Thread David Pollak
On Wed, Mar 10, 2010 at 1:51 AM, Timothy Perrett wrote: > The only possible thing that one could do would need two aspects: > > 1. The lift side to produce particular JSON > 2. The capp side to consume said JSON > > Without a full "package", there aren't really an

Re: [Lift] Re: Serious widget action

2010-03-10 Thread David Pollak
ld be a heck of an amazing GSoC project (although I'm not sure it's more important than the SBT stuff.) But, if you need any help from the 280 North guys, they have an ongoing interest in Lift integration. We hang out once a quarter or so and always walk away intending to do something

Re: [Lift] Re: Serious widget action

2010-03-10 Thread David Pollak
a little thinking to get things right, but I have a high degree of confidence that it can be made right. > > It doesn't sound like anybody is using ZK [1], eh? > > [1] http://zkoss.org/ > > -- > You received this message because you are subscribed to the Google Group

Re: [Lift] Re: non-Lazy evaluation of bind FuncBindParam functions?

2010-03-10 Thread David Pollak
are > > evaluated regardless of whether a match is found. > > > > So, for example, if you bind to an empty NodeSeq and have a BindParam > > which will never match like: > > "you won't find me here" -> { print("Got here!"); > > NodeS

Re: [Lift] Re: non-Lazy evaluation of bind FuncBindParam functions?

2010-03-10 Thread Ross Mellgren
n't find me here" -> { print("Got here!"); >> NodeSeq.Empty } >> …you find that the print statement is called. >> >> This really surprised me. Is this intentional behaviour as it seems >> to be a potential source of significant redundant processing?

[Lift] Re: Serious widget action

2010-03-10 Thread Timothy Perrett
to ExtJS, but wanted to float the idea in case someone was > aware of a red flag before I wasted too much time. > > It doesn't sound like anybody is using ZK [1], eh? > > [1]http://zkoss.org/ -- You received this message because you are subscribed to the Google Groups &q

[Lift] Re: Multiple stateful snippets in a page , keeping the common state?

2010-03-10 Thread hexa
he other snippet .. the state is lost... > > > So is there a way to manage the common states of multiple snippets in > > a page ? Should I use a SessionVar ?  I kinda would prefer not to > > since It's really not a var that should be persistent over the > > session.

[Lift] Re: Serious widget action

2010-03-10 Thread aw
anybody is using ZK [1], eh? [1] http://zkoss.org/ -- 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.

[Lift] Re: non-Lazy evaluation of bind FuncBindParam functions?

2010-03-10 Thread Stuart Roebuck
ally surprised me.  Is this intentional behaviour as it seems > to be a potential source of significant redundant processing? > > Stuart. -- 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.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

Re: [Lift] Multiple stateful snippets in a page , keeping the common state?

2010-03-10 Thread David Pollak
e persistent over the > session > > The best would be that they both keep their state .. as an action is > performed on one of them... > > Thanks a lot > > hexa > > -- > You received this message because you are subscribed to the Google Groups > "Lif

Re: [Lift] Enable -Xcheckinit in 2.8 port?

2010-03-10 Thread Indrajit Raychaudhuri
with the deprecation flag (Indrajit, can you do this?) Use the profile -Dlift-debug for the purpose. It has the deprecation flag, I'll add the checkinit flag. - Indrajit /Jeppe -- You received this message because you are subscribed to the Google Groups "Lift&quo

[Lift] non-Lazy evaluation of bind FuncBindParam functions?

2010-03-10 Thread Stuart Roebuck
ce of significant redundant processing? Stuart. -- 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.

[Lift] lift-core would be removed from repository shortly

2010-03-10 Thread Indrajit Raychaudhuri
Folks, As discussed earlier, lift-core would be removed from repository sometime soon. For the deprecation notice and the rationale, please take a look at the announcement posted earlier [1]. If your application is still using lift-core, make the changes NOW! Soon it would stop working with

Re: [Lift] Re: Serious widget action

2010-03-10 Thread Indrajit Raychaudhuri
On 10/03/10 3:21 PM, Timothy Perrett wrote: The only possible thing that one could do would need two aspects: 1. The lift side to produce particular JSON 2. The capp side to consume said JSON Without a full "package", there aren't really any integration points as we have al

Re: [Lift] Re: Serious widget action

2010-03-10 Thread Timothy Perrett
The only possible thing that one could do would need two aspects: 1. The lift side to produce particular JSON 2. The capp side to consume said JSON Without a full "package", there aren't really any integration points as we have already got comet working with capp so the only thi

Re: [Lift] Serious widget action

2010-03-10 Thread Indrajit Raychaudhuri
Most certainly, yes! Quite like what Anthony is looking for. But (a) this is different from JSArtifacts implementation for ExtCore that we talked about couple of times and (b) Cappuccino isn't license compatible either (for the purpose of integration within Lift). Anthony, fwiw, David did

Re: [Lift] Re: Serious widget action

2010-03-10 Thread Mads Hartmann Jensen
ttp://www.extjs.com/products/floss-exception.php > > > On Wed, Mar 10, 2010 at 1:55 PM, Marius wrote: >> >> Please see here >> http://groups.google.com/group/liftweb/browse_thread/thread/5e4f5e424d33db40/32cfb6752954?lnk=gst&q=ExtJs#32cfb6752954 >> >

Re: [Lift] Re: Serious widget action

2010-03-10 Thread Indrajit Raychaudhuri
ucts/floss-exception.php On Wed, Mar 10, 2010 at 1:55 PM, Marius wrote: > > Please see here > http://groups.google.com/group/liftweb/browse_thread/thread/5e4f5e424d33db40/32cfb6752954?lnk=gst&q=ExtJs#32cfb6752954 > > I'd strongly encourage you to integrate ExtJs with Lift

Re: [Lift] Serious widget action

2010-03-10 Thread Timothy Perrett
Personally, I would say forget ExtJS, compared to Cappuccino its streets behind: http://cappuccino.org/ Easily the most exciting UI framework out there right now Cheers, Tim On 10 Mar 2010, at 03:45, aw wrote: > It is time for me to add some serious widgets to my lift app. > > So

[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=gst&q=ExtJs#32cfb6752954 I'd strongly encourage you to integrate ExtJs with Lift and potentially other frameworks. Depending on JS library licence we'd be

Re: [Lift] Serious widget action

2010-03-09 Thread Jim Barrows
On Tue, Mar 9, 2010 at 8:45 PM, aw wrote: > It is time for me to add some serious widgets to my lift app. > > So far, I am most enamored by ExtJS. > Another alternative could possibly be ZK. > > Does anybody have any experience with these frameworks? Can you > comment on

[Lift] Multiple stateful snippets in a page , keeping the common state?

2010-03-09 Thread hexa
an action is performed on one of them... Thanks a lot hexa -- 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...@google

Re: [Lift] Serious widget action

2010-03-09 Thread Naftoli Gugenheim
You want to use it yourself or contribute it to Lift? - aw wrote: It is time for me to add some serious widgets to my lift app. So far, I am most enamored by ExtJS. Another alternative could possibly be ZK. Does anybody have any experience with these

[Lift] Snippet javascript function which makes ajax/json call

2010-03-09 Thread Paddy
Hi All, I'm attempting to write a simple game with lift and I'm really liking the way a snippet can maintain state for a request and any ajax calls it makes. This is quite simply brilliant. I'm running into trouble with one area though. As part of my snippet I'd like to crea

[Lift] Serious widget action

2010-03-09 Thread aw
It is time for me to add some serious widgets to my lift app. So far, I am most enamored by ExtJS. Another alternative could possibly be ZK. Does anybody have any experience with these frameworks? Can you comment on why integrating them with Scala/Lift would be a bad idea (or not work)? I

[Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread hexa
tice ("Entre : Description " + inInvoice.description + " > Montant : " + inInvoice.amount) >     } > >     bind ("e", inhtml, >           "description" -> inInvoice.description.toForm, >           "amount" -> inInvoice.amount.

[Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread hexa
"amount" -> inInvoice.amount.toForm, "submit" -> SHtml.submit ("Ajouter Facture", processEntry)) } } This yeilds an empty box exception... The method suggested by Naftoli Gugenheim does the same .. it seems the is does not "copy" the value e

[Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
; > On the face of it, as a newby, this JavaScript DSL adds another layer > > of complexity to using Lift with JavaScript.  Is there an option to > > use mostly raw JavaScript?  What are the advantages / disadvantages? > > JsRaw("my JavaScript Here") > > The disad

Re: [Lift] Re: File Download

2010-03-09 Thread David Pollak
ist("Content-Type" -> "image/gif"), Nil, 200) } If you put other GIF files in resources, the server will find and serve them. > Thanks > > On Mar 5, 2:56 pm, DavidV wrote: > > I have recreated a number of StreamingResponse methods from both the > > L

Re: [Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread David Pollak
On Tue, Mar 9, 2010 at 1:11 PM, Stuart Roebuck wrote: > Once again, thanks for all of this. I will now go away and > contemplate it all. > > On the face of it, as a newby, this JavaScript DSL adds another layer > of complexity to using Lift with JavaScript. Is there an option

Re: [Lift] Re: More dynamic Lift

2010-03-09 Thread Francois
classloader that can be dismissed used for class that could be reload) with some more logic to handle when reloads happen I'm not sure into what extends the comparison may be followed (T5 internal is quite different than Lift, there is pools of already instantiated component/pages waiting

Re: [Lift] Re: File Download

2010-03-09 Thread Timothy Perrett
hods from both the >> Loop link above and the Lift book and I still can't seem to get the >> desired effect. I have been able to get a PlainTextResponse to work >> by using LiftRules.dispatch in the Boot, like so: >> >> LiftRules.dispatch.prepend

[Lift] Re: File Download

2010-03-09 Thread DavidV
Any thoughts on this? Still trying to get it to work. Thanks On Mar 5, 2:56 pm, DavidV wrote: > I have recreated a number of StreamingResponse methods from both the > Loop link above and the Lift book and I still can't seem to get the > desired effect.  I have been

[Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
Once again, thanks for all of this. I will now go away and contemplate it all. On the face of it, as a newby, this JavaScript DSL adds another layer of complexity to using Lift with JavaScript. Is there an option to use mostly raw JavaScript? What are the advantages / disadvantages? Sorry, I

Re: [Lift] Re: field without mapper and Form validation

2010-03-09 Thread Francois Armand
Le 09/03/2010 21:27, David Pollak a écrit : [...] Does this help? Yes, clearly, it seems to be what I was looking for. I missed at first in lift example, until Jeppe point it to me. With your explanation, it really looks like it's what I need :) One of my open tickets is to pr

Re: [Lift] Re: field without mapper and Form validation

2010-03-09 Thread David Pollak
and Wizard (Wizard is a multi-page collection of Screens). If you can give me a idea of a good example for you, I'll work on it. Thanks, David > > Relevant threads: > - http://old.nabble.com/Multipage-wizards-td26504293.html (especially > Jeppe answer) > - > http://old.na

Re: [Lift] Re: London Lift talk

2010-03-09 Thread David Pollak
UG) will be presenting a talk by > > > Richard Dallaway on 'Getting started with Lift' at SkillsMatter > > > > It is done:http://icanhaz.com/gswl... where you will find a link to > > the Skillsmatter video. > > > > Richard > > -- > You received this

[Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread hexa
ecuted in the next request, to bridge requests > you have to store the *value* of the RequestVar outside of it > (requestVar.is), then at the beginning of the next request set the RequestVar > from that val. > This is a common pattern in Lift: one request specifies a function to be

Re: [Lift] RequestVar copy /clone ?

2010-03-09 Thread David Pollak
Howdy, Lift does rendering most basically with Snippets. Snippets are functions NodeSeq => NodeSeq... they take a NodeSeq and return a NodeSeq. Snippets are generally independent entities. They do not know about each other. They can ask about the state of the session and the state of

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

2010-03-09 Thread Jeppe Nejsum Madsen
Marius writes: > I opened defect 412 and this is now on the review board: > http://reviewboard.liftweb.net/r/263/diff/#index_header Wow, that was fast :-) Thanks for looking into this! /Jeppe -- You received this message because you are subscribed to the Google Groups "Lift"

[Lift] Re: London Lift talk

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

[Lift] Re: More dynamic Lift

2010-03-09 Thread Lukasz Kuczera
ssue, have not > completely eliminated it. > > There's a further issue... JRebel doesn't work automatically with Lift. > Technically, it's costless, but you have to register it with ZeroTurnaround, > etc.  This means you start using JRebel after you've made a commitme

Re: [Lift] Re: Converting a null String to an empty String

2010-03-09 Thread Timothy Perrett
e 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.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

Re: [Lift] London Lift talk

2010-03-09 Thread Richard Dallaway
On Sat, Feb 20, 2010 at 8:22 PM, andy wrote: > The London Scala User Group (LSUG) will be presenting a talk by > Richard Dallaway on 'Getting started with Lift' at SkillsMatter It is done: http://icanhaz.com/gswl ... where you will find a link to the Skillsmatter video.

Re: [Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread Naftoli Gugenheim
ction will be executed in the next request, to bridge requests you have to store the *value* of the RequestVar outside of it (requestVar.is), then at the beginning of the next request set the RequestVar from that val. This is a common pattern in Lift: one request specifies a function to be execu

[Lift] Re: Converting a null String to an empty String

2010-03-09 Thread Heiko Seeberger
ingHelpers) I would use it from there. > Heiko > Company: weiglewilczek.com <http://weiglewilczek.com/> > Blog: heikoseeberger.name <http://heikoseeberger.name/> > Follow me: twitter.com/hseeberger > OSGi on Scala: scalamodules.org <http://scalamodules.org/> > Lift, the simpl

[Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread hexa
tVar I got in the AddInvoice from the ViewClient > > > snippet > > > > But a SessionVar is out it's way overkill and a statefull snippet > > > might be an idea ... would the RequestVar persist in the statefull > > > snippet? > > > > Also I

Re: [Lift] Converting a null String to an empty String

2010-03-09 Thread Timothy Perrett
llow me: twitter.com/hseeberger > OSGi on Scala: scalamodules.org > Lift, the simply functional web framework: liftweb.net > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email

Re: [Lift] Converting a null String to an empty String

2010-03-09 Thread David Pollak
method. > > Heiko > > Company: weiglewilczek.com > Blog: heikoseeberger.name > Follow me: twitter.com/hseeberger > OSGi on Scala: scalamodules.org > Lift, the simply functional web framework: liftweb.net > > -- > You received this message because you are subscribed to the Google G

Re: [Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread David Pollak
ce and the bindings. > > > > > > In short, if this was straight jQuery I would have some JavaScript of > > > > the form: > > > > > > $(theFormNodeSeq).dialog() > > > > > > But in my case theFormNodeSeq comes from a NodeSeq that was as

Re: [Lift] Re: More dynamic Lift

2010-03-09 Thread David Pollak
cussions > Jeppe and I have been having, and my non-JRebel-friendly development style, > I thought that there might be a way to address all of these issues at once. > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. >

Re: [Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread Ross Mellgren
expression should have this trait. JQueryLeft is a trait used by the JQuery portion of the JavaScript DSL to indicate that you can chain JQuery calls onto this. HtmlFixer is a trait that provides fixHtml >>>override def toJsCmd = "jQuery(" + JsStr(fixHtml("NodeSeqDialog&quo

[Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
Script of > > > the form: > > > > $(theFormNodeSeq).dialog() > > > > But in my case theFormNodeSeq comes from a NodeSeq that was assembled > > > from part of the XHTML template and the bindings and the end result > > > needs to be a JsCmd.

[Lift] Re: NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
mNodeSeq comes from a NodeSeq that was assembled > >> from part of the XHTML template and the bindings and the end result > >> needs to be a JsCmd. > > >> So I'm trying to do something like: > > >> JsCmds.Run("$(" + theFormNodeSeq.toString + "

Re: [Lift] NodeSeq to JsExp how to?

2010-03-09 Thread Ross Mellgren
om a NodeSeq that was assembled > > from part of the XHTML template and the bindings and the end result > > needs to be a JsCmd. > > > > So I'm trying to do something like: > > > > JsCmds.Run("$(" + theFormNodeSeq.toString + ").dialog()") &g

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

2010-03-09 Thread Marius
own as the S,functionsMap > was not initialized as I was doing a light S init to capture original > request state. I have a fix for it but I need to do some more testing > on it first. > > I'll open a ticket for this. > > Br's, > Marius > > On Mar 9, 1:21 pm, Mariu

Re: [Lift] Converting a null String to an empty String

2010-03-09 Thread Heiko Seeberger
) I would use it from there. Heiko Company: weiglewilczek.com Blog: heikoseeberger.name Follow me: twitter.com/hseeberger OSGi on Scala: scalamodules.org Lift, the simply functional web framework: liftweb.net -- You received this message because you are subscribed to the Google Groups "Lift&qu

Re: [Lift] Re: More dynamic Lift

2010-03-09 Thread Naftoli Gugenheim
Why is compilation running with JRebel? Also, how critical is JRebel to people getting their feet wet? When I was new to Lift, I used the default setting in the POM that caused a jetty hot redeploy when class files were updated. (Possibly earlier on I restarted jetty manually.) While that meant

Re: [Lift] NodeSeq to JsExp how to?

2010-03-09 Thread David Pollak
o something like: > > > > JsCmds.Run("$(" + theFormNodeSeq.toString + ").dialog()") > > > > But I need to address escaping issues with the HTML and I also need to > > pre-process any "" commands in theFormNodeSeq. > > > > Any a

Re: [Lift] Re: More dynamic Lift

2010-03-09 Thread Timothy Perrett
scribed 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.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

Re: [Lift] NodeSeq to JsExp how to?

2010-03-09 Thread Ross Mellgren
+ theFormNodeSeq.toString + ").dialog()") >> >> But I need to address escaping issues with the HTML and I also need to >> pre-process any "" commands in theFormNodeSeq. >> >> Any advice (please)? >> >> -- >> You received this messag

Re: [Lift] NodeSeq to JsExp how to?

2010-03-09 Thread Ross Mellgren
; + theFormNodeSeq.toString + ").dialog()") > > But I need to address escaping issues with the HTML and I also need to > pre-process any "" commands in theFormNodeSeq. > > Any advice (please)? > > -- > You received this message because you are subscrib

Re: [Lift] Re: More dynamic Lift

2010-03-09 Thread David Pollak
than optimal results in JRebel (more incompatible class change issues.) The JRebel folks and Martin have worked to address the former issue, have not completely eliminated it. There's a further issue... JRebel doesn't work automatically with Lift. Technically, it's costless, but you

[Lift] NodeSeq to JsExp how to?

2010-03-09 Thread Stuart Roebuck
essage 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.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

Re: [Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread Naftoli Gugenheim
stVar persist in the statefull > > snippet? > > > Also I'm having trouble understanding how that scoping is done for the > > RequestVar if anyone could shed some light on it... like why a closure > > won't "ref" it... (I'm new to scala) > &

[Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread hexa
tatefull snippet > > might be an idea ... would the RequestVar persist in the statefull > > snippet? > > > Also I'm having trouble understanding how that scoping is done for the > > RequestVar if anyone could shed some light on it... like why a closure > >

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

2010-03-09 Thread Marius
ttp://test.com/file.zip&12345678) > from the >  URL (http://localhost:8080/download.html?link=http://test.com/ > file.zip&12345678) > >  Thanks very much! > > Cheers, >   Neil -- You received this message because you are subscribed to the Google Groups

Re: [Lift] Re: field without mapper and Form validation

2010-03-09 Thread Ross Mellgren
in there own package and only manage the >> domain/client part ?) >> >> Relevant threads: >> - http://old.nabble.com/Multipage-wizards-td26504293.html (especially Jeppe >> answer) >> - >> http://old.nabble.com/Lift-Wizard-Fields-incompatible-with-lift-record-

[Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread hexa
match { >                         case Full(p) => bind("post",in, >                                         "title" -> SHtml.text(p.title, parm > => title=parm, > ("size","55")), >                                         "tags" -> SHtml.text("", parm

[Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread Lukasz Kuczera
ng trouble understanding how that scoping is done for the > RequestVar if anyone could shed some light on it... like why a closure > won't "ref" it... (I'm new to scala) > > Thanks > > hexa > -- You received this message because you are subscribed to the Go

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

2010-03-09 Thread Marius
first. I'll open a ticket for this. Br's, Marius On Mar 9, 1:21 pm, Marius 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 N

Re: [Lift] Re: field without mapper and Form validation

2010-03-09 Thread Jeppe Nejsum Madsen
; Record/Mapper fields integration (or fields that are currently in > Record/Mapper/Wizard may live in there own package and only manage the > domain/client part ?) > > Relevant threads: > - http://old.nabble.com/Multipage-wizards-td26504293.html (especially Jeppe > answer) >

Re: [Lift] Trouble with lift-couchdb

2010-03-09 Thread Craig Blake
ith the new field type works fine, but I'm >> running into a little hitch trying to access the value. Given the test code >> (again this is in the Github test project, >> g...@github.com:craigwblake/lift-couchdb-test.git): >> >> object TestEnum extends E

Re: [Lift] Converting a null String to an empty String

2010-03-09 Thread David Pollak
x27;m trying to understand both how to reproduce the issue and what you expect to happen. Thanks Connected by MOTOBLUR™ on T-Mobile -Original message- From: Heiko Seeberger To: liftweb Sent: Tue, Mar 9, 2010 15:26:53 GMT+00:00 Subject: [Lift] Converting a null String to an empty String H

Re: [Lift] Converting a null String to an empty String

2010-03-09 Thread Naftoli Gugenheim
to an empty String. But I have not found it yet ... Thanks, Heiko Company: weiglewilczek.com Blog: heikoseeberger.name Follow me: twitter.com/hseeberger OSGi on Scala: scalamodules.org Lift, the simply functional web framework: liftweb.net -- You received this message because you are subscribed t

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

2010-03-09 Thread Neil.Lv
ewriteResponse(List("download"), Map("link" -> Helpers.urlEncode(link) )) I add this code in here, but it doesn't work too. S.param("link") => Full(http://test.com/file.zip) Thanks! Cheers, Neil -- You received this

Re: [Lift] Re: More dynamic Lift

2010-03-09 Thread Naftoli Gugenheim
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.com. For more options, visit this group at http://groups.google.com/group/lift

Re: [Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread Naftoli Gugenheim
> SHtml.textarea(p.text, parm => text=parm), "submit" -> SHtml.submit("Save", submit) ) case Empty => S.error("Post to edit not found"); S.redire

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

2010-03-09 Thread Neil.Lv
Thanks for any help! Cheers, Neil -- 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.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

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

2010-03-09 Thread Naftoli Gugenheim
0/download.html?link=http://test.com/file.zip&123... > >   The link param is:  (that doesn't contains the & char  in the param) >   S.param("link") >   =>http://test.com/file.zip > >   So how can i get the "&12345678" value from the link param ? >

[Lift] Re: field without mapper and Form validation

2010-03-09 Thread Francois
ain/client part ?) Relevant threads: - http://old.nabble.com/Multipage-wizards-td26504293.html (especially Jeppe answer) - http://old.nabble.com/Lift-Wizard-Fields-incompatible-with-lift-record-fields-tc27230782.html So, I'm going to see how wizards are working, Thanks, -- Francois ARMAN

[Lift] Converting a null String to an empty String

2010-03-09 Thread Heiko Seeberger
Hi, I am pretty sure there is a method somewhere converting a null String to an empty String. But I have not found it yet ... Thanks, Heiko Company: weiglewilczek.com Blog: heikoseeberger.name Follow me: twitter.com/hseeberger OSGi on Scala: scalamodules.org Lift, the simply functional web

Re: [Lift] Re: More dynamic Lift

2010-03-09 Thread Timothy Perrett
ntly from everybody else, but when > iterating new features, I always end up making lots of changes to > Sitemap. And afaik everyone of those changes requires a restart > > For the rest I agree JRebel fits quite nicely (it does have it's > problems as David points out) > >

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

2010-03-09 Thread Marius
the & char  in the param) >   S.param("link") >   =>http://test.com/file.zip > >   So how can i get the "&12345678" value from the link param ? > >   Maybe the URL rewrite is not correctly ? > >   Thanks for any help! > > Cheers, >   Ne

[Lift] Re: More dynamic Lift

2010-03-09 Thread Marius
e slick without   > javarebel :-) > > Lift is really elegant - some how, this approach feels pretty ugly. I   > haven't looked at it, but no doubt it's using some classloader trickery? Of course this is why one can get into cast failures as ProtectionDomain may change. I haven&#

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

2010-03-09 Thread Neil.Lv
I want get the these strings ( http://test.com/file.zip&12345678 ) from the URL (http://localhost:8080/download.html?link=http://test.com/ file.zip&12345678) Thanks very much! Cheers, Neil -- You received this message because you are subscribed to the Google Groups &quo

[Lift] Re: More dynamic Lift

2010-03-09 Thread Lukasz Kuczera
But on the other hand it happens not too often. I'm personally very very happy with current productiveness using Lift + Jetty + JRebel. But what happens when Zeroturnaround will turn back to Scala ? It is quite possible that Scala will go mainstream. It might be viable solution then. S

Re: [Lift] Re: More dynamic Lift

2010-03-09 Thread Jeppe Nejsum Madsen
restart For the rest I agree JRebel fits quite nicely (it does have it's problems as David points out) /Jeppe -- 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 un

[Lift] Re: RequestVar copy /clone ?

2010-03-09 Thread Lukasz Kuczera
"text" -> SHtml.textarea(p.text, parm => text=parm), "submit" -> SHtml.submit("Save", submit) ) case Empty => S.error("Post to edit

[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 wrote: > On Mon, Mar 8, 2010 at 5:42 PM, Marius wrote: > > Can you please send me a minima

Re: [Lift] Re: More dynamic Lift

2010-03-09 Thread Timothy Perrett
BTW, with SBT, don't forget you can do: jetty-run (make changes to your code) prepare-webapp That will redeploy chnaged files / classses to the running jetty instance so development with SBT can still be slick without javarebel :-) Lift is really elegant - some how, this approach

[Lift] field without mapper and Form validation

2010-03-09 Thread Francois
rm processing request, like onPrepare (init fields), "onValidate" (field cross validation), "onFormSuccess/Error" (clean error, field from session, save), etc, and with something to store validation errors. How does Lift handle that ? Perhaps it's just some convention

  1   2   3   4   5   6   7   8   9   10   >