[Lift] Re: Websites and apps that are using Lift?

2008-12-21 Thread Charles F. Munat
I have six sites, four of them that will be public, that are coming online over the next few days/weeks. I'll add them four public ones to your list as they go live. Chas. Daniel Cer wrote: >>> Does anyone here have any public Lift powered webapps? If so, would >>> you mind sharing the URL and

[Lift] Re: Websites and apps that are using Lift?

2008-12-21 Thread Daniel Cer
>> Does anyone here have any public Lift powered webapps? If so, would >> you mind sharing the URL and what other support components you are >> using (e.g. which servlet container Tomcat, Jetty; database; etc.) >> > > I just wanted to add that small personal projects are fine. > I entered all the

[Lift] Bypassing LiftFilter

2008-12-21 Thread Mark Chadwick
Howdy. >From my googling, I'm gathering this is a tall order (due to the servlet spec), but thought I'd ping the list to see if smarter brains than my own had an idea. The idea is that I have particular URL with strict latency requirements that I'd like to run in the same servlet container as my

[Lift] Re: Can or Box or something else

2008-12-21 Thread Josh Suereth
In the spirit of LOLCode, I make the following proposal: Can becomes Bukkit Full becomes BukkitOf (or "Bukkit of" via some DSL like syntax) Empty becomes Noob (or "Bukkit of Noob" via some DSL like syntax) Failure becomes WTF? val x : Bukkit[String] = WTF?(new RuntimeException("O NOES!")) val

[Lift] Re: Revised to-do tutorial

2008-12-21 Thread Mark Chadwick
I'm new to Scala (and consequently Lift), so it's likely an error on my part. But, the snippet for binding user names to the template on page 13 tripped me up a bit. Specifying the return type as NodeSeq property flatMapped the list to a single NodeSeq. The function as it was written was returni

[Lift] Re: Can or Box or something else

2008-12-21 Thread Tim Perrett
IMO, and echo'ing jorge's comments, I *really* dont think using ? is a good idea. The rational of this being: - Code that's littered with Can[MyType] is readable, compared with ? [MyType] which would be confusing and non-obvious for new-commers. - Using operands for such common operations / idi

[Lift] Re: Can or Box or something else

2008-12-21 Thread Charles F. Munat
I, too, like ?, but I agree that others may not. Could mean too many things. But what about ??? instead? Or just two (??)? Or why not steal Haskell's thunder and use Maybe? Chas. Marius wrote: > Personally I kind of like ? name ... although I feel many people will > not. Going further having F

[Lift] Re: Can or Box or something else

2008-12-21 Thread Jorge Ortiz
If you want to use ? in your own code, you can always do: type ?[T] = Can[T] var s: ?[String] = Empty s = Full("Hello, world!") You can put it somewhere and import it anywhere you want to use it. That said, I think it'd be a really bad idea to do this in Lift's source. Scala gets enough c

[Lift] Re: JQuery UI Tabs : JqJE.JqTabs ?

2008-12-21 Thread Marius
Hi, JqTabs just abstract JQuery's tabs(..) function. Basically you can build expressions such us JqId("mytabid") >> JsTabs(...) In the JQuery tabs widget I don't really see tabsClick and tabsSelected function ... maybe these were removed? Is it me or http://docs.jquery.com/UI/Tabs#Example doesn

[Lift] Re: url handling

2008-12-21 Thread Marius
It really does ... In fact redirectTo from StatefulSnippet calls S.redirectTo and passes a function which sets this current snippet on S when redirect happens. Br's, Marius On Dec 20, 8:44 pm, Oliver Lambert wrote: > No, but as Derek suggests, it sounds a bit like the stateful snippet   > is do

[Lift] Re: Can or Box or something else

2008-12-21 Thread Marius
Personally I kind of like ? name ... although I feel many people will not. Going further having Full and Empty extending ? may "lift"quite a few eyebrows :) BTW I totally agree that Result is not ok. Br's, Marius On Dec 21, 7:45 pm, "David Bernard" wrote: > current signature : >   def doStuff(

[Lift] Re: Can or Box or something else

2008-12-21 Thread David Bernard
current signature : def doStuff(arg1 : Can[Foo], arg2 : Toto) : Can[Bar] With Result: def doStuff(arg1 : Result[Foo], arg2 : Toto) : Result[Bar] Result could be good but is not, when used for argument and not for "result" more I think about it, more I thought ? was not so wrong/joke. In the N

[Lift] Re: Can or Box or something else

2008-12-21 Thread Mateusz Fiołka
Result +1 Quite short, only one selfexplaining imo and describes the purpose it serves well. The only downsides of this name is +3 characters and the fact that the class could be used also as non result but for other purpose. On Sun, Dec 21, 2008 at 3:32 PM, Derek Chen-Becker wrote: > I think th

[Lift] Re: Can or Box or something else

2008-12-21 Thread Derek Chen-Becker
I think that the previously mentioned "Box" would be the only other thing that has 1. The same semantic meaning of "container". Well, as Tim pointed out this is a US thing for Can... 2. The same brevity. I agree with David that commonly used constructs should be short If it was going

[Lift] Re: LiftRules.logAndReturnExceptionToBrowser doesnt alway work

2008-12-21 Thread Oliver Lambert
Cool, Thanks On 21/12/2008, at 6:20 PM, Marius wrote: > > You already got good advices to your particular problem still an > exception thrown from LoanWrapper-s should be caught by and your > function called. I'll look into it tomorrow. > > > Br's, > Marius > > On 18 Dec, 23:58, Oliver wrote: >