[Lift] Re: Please Welcome Al Thompson to the Lift committers

2008-10-03 Thread Marius
WELCOME Al ! On Oct 3, 3:14 am, "David Pollak" <[EMAIL PROTECTED]> wrote: > Folks, > > I've know Al Thompson for longer than any of the other Lift committers. > Cast you mind back to '97... I was doing crazy things with browser-based, > multi-user spreadsheets. Al was my technical liaison at Sun

[Lift] Re: Todays questions

2008-10-03 Thread Marius
I guess you could disable the submit button on first submit? ... on server side you could get rid of the processing function from the cache that is associated with that specific thing. However this kind of seems unnecessary for your use-case ... maybe. Br's, Marius On Oct 3, 3:55 am, Oliver <[E

[Lift] Re: Please Welcome Al Thompson to the Lift committers

2008-10-03 Thread Tim Perrett
Welcome aboard Al :-) --~--~-~--~~~---~--~~ 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 this group, send email to [EMAIL PROTECTED] For mor

[Lift] Re: error page

2008-10-03 Thread Tim Perrett
Hey Marius, Thats right, the RunModes... If you wanted to specify a different error setup depending on the run mode, how would you do so? Cheers Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To

[Lift] Re: Todays questions

2008-10-03 Thread Tim Perrett
> I guess you could disable the submit button on first submit? ... on > server side you could get rid of the processing function from the > cache that is associated with that specific thing. However this kind > of seems unnecessary for your use-case ... maybe. Its funny you mention that Marius -

[Lift] Why does template localization not use ISO 3166 country codes?

2008-10-03 Thread Tim Perrett
Just a quick one guys Why is it that the template selection localization ignores country code? e.g index.html index_fr.html // works for english index_fr-FR // doesnt register For instance, one might have a situation where they were dealing with the French in France, and say, French can

[Lift] Re: error page

2008-10-03 Thread Marius
The run mode is coming from Props.mode Br's, Marius On Oct 3, 2:16 pm, Tim Perrett <[EMAIL PROTECTED]> wrote: > Hey Marius, > > Thats right, the RunModes... If you wanted to specify a different > error setup depending on the run mode, how would you do so? > > Cheers > > Tim --~--~-~--~--

[Lift] Re: Why does template localization not use ISO 3166 country codes?

2008-10-03 Thread Marius
Shouldn't be index_fr_FR and not index_fr-FR ? lang-country pair suffix should work just fine. Br's, Marius On Oct 3, 4:51 pm, Tim Perrett <[EMAIL PROTECTED]> wrote: > Just a quick one guys > > Why is it that the template selection localization ignores country > code? e.g > > index.html

[Lift] Re: Why does template localization not use ISO 3166 country codes?

2008-10-03 Thread David Pollak
It's all pulled from the Java Locale object: http://java.sun.com/javase/6/docs/api/java/util/Locale.html On Fri, Oct 3, 2008 at 6:51 AM, Tim Perrett <[EMAIL PROTECTED]> wrote: > > Just a quick one guys > > Why is it that the template selection localization ignores country > code? e.g > >

[Lift] Db4o Integration

2008-10-03 Thread efleming969
I'm trying to convert a scala + wicket + db4o application to Lift + db4o. I'm using a standard ServletContextListener to shutdown my database file. What is the recommended method for ContextListener type code in Lift. Should I just configure my ContextListener as normal or is there a special pla

[Lift] Re: Why does template localization not use ISO 3166 country codes?

2008-10-03 Thread Tim Perrett
Ah yes indeed - wow, sorry, just being dumb. I couldnt remember if it was hyphen or underscore! Cheers guys --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@g

[Lift] Re: Todays questions

2008-10-03 Thread Marius
On Oct 3, 2:11 pm, Tim Perrett <[EMAIL PROTECTED]> wrote: > > I guess you could disable the submit button on first submit? ... on > > server side you could get rid of the processing function from the > > cache that is associated with that specific thing. However this kind > > of seems unnecessar

[Lift] Re: Db4o Integration

2008-10-03 Thread David Pollak
def myUnloader(): Unit = { ... run when Lift is being unloaded } LiftRules.unloadHooks += myUnloader _ On Fri, Oct 3, 2008 at 8:56 AM, efleming969 <[EMAIL PROTECTED]> wrote: > > I'm trying to convert a scala + wicket + db4o application to Lift + > db4o. I'm using a standard ServletContextLi

[Lift] Re: Db4o Integration

2008-10-03 Thread Bjarte S. Karlsen
efleming969: > > I'm trying to convert a scala + wicket + db4o application to Lift + > db4o. I'm using a standard ServletContextListener to shutdown my > database file. This sounds really cool. Are you able to share this when you are done? Or blog a tutorial about it? -- With kind regards /

[Lift] Re: Please Welcome Al Thompson to the Lift committers

2008-10-03 Thread TylerWeir
Welcome Al! On Oct 3, 7:12 am, Tim Perrett <[EMAIL PROTECTED]> wrote: > Welcome aboard Al :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.co

[Lift] Re: Db4o Integration

2008-10-03 Thread Charles F. Munat
This is something I've been very interested in, but have been too swamped to get very far with. Please keep us posted. Chas. efleming969 wrote: > I'm trying to convert a scala + wicket + db4o application to Lift + > db4o. I'm using a standard ServletContextListener to shutdown my > database fi

[Lift] Re: Todays questions

2008-10-03 Thread David Pollak
On Thu, Oct 2, 2008 at 5:55 PM, Oliver <[EMAIL PROTECTED]> wrote: > Thanks for the answers > > Another related question - Is there any functionality in lift to prevent > multiple submits (e.g. the browser is slow for whatever reason and the user > presses the submit button multiple times)? > I'll

[Lift] recursive binding

2008-10-03 Thread Kris Nuttycombe
Hi, all, Is there any way to prevent the bind helper from inserting "FIXME failed to bind<...>" and instead simply return the unrecognized node unchanged? I've been attempting to solve the problem of binding parts of an entity graph by creating separate EntityBinder traits corresponding to my var

[Lift] booleans in fieldOrder cause infinite list?

2008-10-03 Thread Charles F. Munat
When I add a boolean to the fieldOrder list, maven runs out of heap space on compile. As far as I can tell, the fieldOrder list becomes infinite. Here is an example: object Thing extends Thing with KeyedMetaMapper[Long, Thing] { override def dbTableName = "things" override def fieldOrder

[Lift] New JPA Demo version

2008-10-03 Thread Derek Chen-Becker
I added in Oliver's UserType support for enums and some utility methods on the Model object (wrapEM). I didn't have time this week to work on getting JNDI and JTA to work in Jetty, but hopefully next week will be slightly less crazy. Derek --~--~-~--~~~---~--~~ You