[Lift] Re: how to serve html fragments

2009-06-04 Thread fatu
Yes it does indeed. Sorry, I was getting confused by the fact that Firefox still doesn't like the fragment but it happens both when using a view and when using a template + snippet. The DOCTYPE is indeed missing in both cases when S.skipDocType is on, I guess what's still causing trouble is the

[Lift] Re: how to serve html fragments

2009-06-04 Thread David Pollak
On Thu, Jun 4, 2009 at 12:10 AM, fatu fab...@gmail.com wrote: Yes it does indeed. Sorry, I was getting confused by the fact that Firefox still doesn't like the fragment but it happens both when using a view and when using a template + snippet. The DOCTYPE is indeed missing in both cases when

[Lift] Re: Comet request exception

2009-06-04 Thread feelgood
How can I share my sources? By the way, I use 1.1-SNAPSHOT version of Lift On 4 июн, 02:15, David Pollak feeder.of.the.be...@gmail.com wrote: I just tested against 6.1.18 and it works just fine. Can you post the source of your failing app and a link to your version of Jetty and I'll track it

[Lift] Re: Comet request exception

2009-06-04 Thread David Pollak
2009/6/4 feelgood asseliva...@gmail.com How can I share my sources? By the way, I use 1.1-SNAPSHOT version of Lift You can mail them to me off-list or post a project on GitHub On 4 июн, 02:15, David Pollak feeder.of.the.be...@gmail.com wrote: I just tested against 6.1.18 and it works

[Lift] Re: Comet request exception

2009-06-04 Thread David Pollak
2009/6/4 feelgood asseliva...@gmail.com How can I share my sources? By the way, I use 1.1-SNAPSHOT version of Lift You can mail them to me off-list or post a project on GitHub On 4 июн, 02:15, David Pollak feeder.of.the.be...@gmail.com wrote: I just tested against 6.1.18 and it works

[Lift] Re: directives versus snippets

2009-06-04 Thread Matt Williams
There's a dispatcher in Lift and it checks for user-supplied snippets before dispatching to the hard-coded snippet names. Is this actually the case? I have tried to replace the buiiltin snippet for Msgs in order to embed a span within the list items, but I needed to use a different name for

[Lift] NULLable MappedForeignKey

2009-06-04 Thread DavidV
What is the proper way to create a MappedForeignKey that is optional? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from

[Lift] Re: NULLable MappedForeignKey

2009-06-04 Thread David Pollak
All MappedForeignKeys are Nullable. If you've got object theUser extends MappedLongForeignKey(this, User) You can set the field to null with: theUser(Empty) Does that help? On Thu, Jun 4, 2009 at 8:21 AM, DavidV david.v.villa...@gmail.com wrote: What is the proper way to create a

[Lift] Re: directives versus snippets

2009-06-04 Thread David Pollak
In order to override a built-in snippet, you must do: LiftRules.snippetDispatch.prepend{ case Msgs | msgs = } in Boot. The LiftRules snippet dispatch table is consulted first, before the by convention reflection-based snippet dispatching is invoked. This enhances performance. On Thu,

[Lift] Re: how to serve html fragments

2009-06-04 Thread David Pollak
Okay... checked in a change that removes the ?...? XML header as well On Thu, Jun 4, 2009 at 6:57 AM, David Pollak feeder.of.the.be...@gmail.comwrote: On Thu, Jun 4, 2009 at 12:10 AM, fatu fab...@gmail.com wrote: Yes it does indeed. Sorry, I was getting confused by the fact that Firefox

[Lift] Re: how to serve html fragments

2009-06-04 Thread Timothy Perrett
Have you pushed this change? Its not showing on github? Cheers, Tim On 04/06/2009 17:33, David Pollak feeder.of.the.be...@gmail.com wrote: Okay... checked in a change that removes the ?...? XML header as well --~--~-~--~~~---~--~~ You received this message

[Lift] Re: how to serve html fragments

2009-06-04 Thread David Pollak
On Thu, Jun 4, 2009 at 10:04 AM, Timothy Perrett timo...@getintheloop.euwrote: Have you pushed this change? Its not showing on github? I pushed, but forgot to commit... :-) That's me, I just can't commit. All committed and pushed. Cheers, Tim On 04/06/2009 17:33, David Pollak

[Lift] Re: Is something up with applying By to a MappedBoolean?

2009-06-04 Thread E. Biggs
here's my derby log: Cannot find the network server class, org.apache.derby.impl.drda.NetworkServerControlImpl. Your class path should contain derbynet.jar. 2009-06-03 02:18:26.023 GMT: Booting Derby version The Apache Software

[Lift] Re: NULLable MappedForeignKey

2009-06-04 Thread Joe Wass
Just to check -- are you familiar with the difference between option types and null references in scala? It's an important distinction and it's very important with Lift. Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Lift] Re: Issue #12

2009-06-04 Thread Derek Chen-Becker
I just checked in some code in the wip-dcb-mapper-datetime branch on e9a2f3f85e99e5e4f53611e6892830b9878d4f9a. I've tested with Derby, H2, MySQL and PostgreSQL, so I'm pretty confident that this is working. I have a little test project that someone could use if they want to test against Oracle or

[Lift] Re: directives versus snippets

2009-06-04 Thread Matt Williams
Thank you David. Hello by the way, and thank you for such a graceful framework. Matt On Jun 4, 5:21 pm, David Pollak feeder.of.the.be...@gmail.com wrote: In order to override a built-in snippet, you must do: LiftRules.snippetDispatch.prepend{   case Msgs | msgs = } in Boot.  The

[Lift] Re: Comet request exception

2009-06-04 Thread David Pollak
Folks, Thanks to Greg Wilkins (Jetty author) who helped out with this, the RunWebApp.scala file should look like: import _root_.org.mortbay.jetty.Connector import _root_.org.mortbay.jetty.Server import _root_.org.mortbay.jetty.webapp.WebAppContext import org.mortbay.jetty.nio._ object RunWebApp