[Lift] Re: [ANN] Lift 1.0 is released

2009-02-27 Thread Amarjeet Singh
Fantastic! You people are one hell of a lot :) Regards Amarjeet On Fri, Feb 27, 2009 at 1:10 PM, Bjarte S. Karlsen bjarte.stien.karl...@gmail.com wrote: Congrats to the lift team. This is awesome news! Epic win! Bjartek On Fri, Feb 27, 2009 at 8:17 AM, Charles F. Munat c...@munat.com

[Lift] Re: [ANN] Lift 1.0 is released

2009-02-27 Thread Darren Hague
Stability at last! :-) Seriously, well done to all the committers and all the great people on this group that help newbies like me build awesome Lift-based apps. Major thanks to David, without whom ESME would be merely a poor clone of Skittr with some SAP stuff on top. Cheers! Darren

[Lift] Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread rossputin
Hi. I must admit I have not worked my way through the book yet, but I was wondering if it is possible to remove the xmlns:lift=http:// liftweb.net/ attribute on the html element in the rendered page? Thanks. Ross. --~--~-~--~~~---~--~~ You received this

[Lift] Re: Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread rossputin
Hi. I am using lift 1.0. I was hoping to remove the 'xmlns:lift=http:// liftweb.net/' element from : ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns:lift=http://liftweb.net/;

[Lift] Re: Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread Viktor Klang
May I ask why? Cheers, Viktor On Fri, Feb 27, 2009 at 1:23 PM, rossputin rossaj...@gmail.com wrote: Hi. I am using lift 1.0. I was hoping to remove the 'xmlns:lift=http:// liftweb.net/' element from : ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

[Lift] Re: Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread rossputin
Hi. Sure, its something I do to simplify as much as possible any unnecessary tags or attributes. I suppose it is a practice I picked up while using Cocoon. Ultimately, I just want the purest xhtml output possible, hopefully revealing as little about the platform which produced it as possible.

[Lift] Re: Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread rossputin
Hi. Sure, I understand it is required as the xml is processed, is there a post process operation in the pipeline anywhere ? Thanks, Ross. On Feb 27, 1:59 pm, Timothy Perrett timo...@getintheloop.eu wrote: Ross, You cannot remove this namespace as it is needed to make it valid XHTML -

[Lift] Re: Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread Timothy Perrett
Hi Ross, What kind of post-process did you have in mind? If you can detail what you are trying to achieve then we can help answer your question more effectively. Thanks Tim On 27/02/2009 14:08, rossputin rossaj...@gmail.com wrote: Hi. Sure, I understand it is required as the xml is

Rif: [Lift] Using Traits in complex domain models

2009-02-27 Thread G . Fogliazza
Here is the solution to the complex domain modeling problem with Mapper import net.liftweb.mapper._ trait Position extends BaseLongKeyedMapper { type ContentType : LongKeyedMapper[ContentType] with Positionable def foreign: LongKeyedMetaMapper[ContentType] def isMoving():Boolean =

[Lift] Re: Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread David Pollak
On Fri, Feb 27, 2009 at 6:08 AM, rossputin rossaj...@gmail.com wrote: Hi. Sure, I understand it is required as the xml is processed, is there a post process operation in the pipeline anywhere ? Ross, Lift emits XHTML to the browser that contains tags with lift:xxx attributes to support

[Lift] Re: Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread rossputin
Hi David. No worries, I will leave it in place, thanks for the explanation. Regards, Ross. On Feb 27, 2:54 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Feb 27, 2009 at 6:08 AM, rossputin rossaj...@gmail.com wrote: Hi. Sure, I understand it is required as the xml is

[Lift] Re: Issue with http://liftweb.net site design (IE7 / Opera 9.63)

2009-02-27 Thread Tim Perrett
Jean-Luc, thanks for pointing these out - the site is brand brand new, so were still working out the bugs. Cheers, Tim On Feb 27, 4:15 pm, Jean-Luc jlcane...@gmail.com wrote: Sorry if I sent the message to the wrong list (in this case would you please reply with the right list or email

[Lift] Re: Issue with http://liftweb.net site design (IE7 / Opera 9.63)

2009-02-27 Thread David Bernard
Tim Do you use Blueprint css to create the new site ? On Fri, Feb 27, 2009 at 17:23, Tim Perrett timo...@getintheloop.eu wrote: Jean-Luc, thanks for pointing these out - the site is brand brand new, so were still working out the bugs. Cheers, Tim On Feb 27, 4:15 pm, Jean-Luc

[Lift] Re: Issue with http://liftweb.net site design (IE7 / Opera 9.63)

2009-02-27 Thread Timothy Perrett
Im afraid not David, I just created some bespoke CSS. What makes you ask? Thanks, Tim On 27/02/2009 16:30, David Bernard david.bernard...@gmail.com wrote: Do you use Blueprint css to create the new site ? --~--~-~--~~~---~--~~ You received this message

[Lift] Re: Issue with http://liftweb.net site design (IE7 / Opera 9.63)

2009-02-27 Thread TylerWeir
I'm going to create a branch and play with a conversion to blueprint. I won't have time until Sunday though. On Feb 27, 11:30 am, David Bernard david.bernard...@gmail.com wrote: Tim Do you use Blueprint css to create the new site ? On Fri, Feb 27, 2009 at 17:23, Tim Perrett

[Lift] Re: Adding bundle factory to LiftRules

2009-02-27 Thread Derek Chen-Becker
Take 3. Change the factory application to: LiftRules.resourceBundleFactories.toList.find(_.isDefinedAt(locale)).toList.map(_.apply(locale)) Derek On Fri, Feb 27, 2009 at 11:05 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Tim, I just noticed that the PF type should be: type

[Lift] Re: Adding bundle factory to LiftRules

2009-02-27 Thread Derek Chen-Becker
OK, since we're using a PF, the Box[ResourceBundle] really isn't necessary, either. On Fri, Feb 27, 2009 at 11:12 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Take 3. Change the factory application to:

[Lift] Re: Adding bundle factory to LiftRules

2009-02-27 Thread Tim Perrett
Ok, excellent. I know have a working implementation! Rock. Any objections to submitting this into master? Im guessing the code freeze is now off. Cheers, Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift

[Lift] Re: Adding bundle factory to LiftRules

2009-02-27 Thread marius d.
How would LiftRule.resourceNames work with type ResourceBundleFactoryPF = PartialFunction[Locale,Box [ResourceBundle]] var resourceBundleFactories : RulesSeq[ResourceBundleFactory] ... from usability perspective ? On Feb 27, 7:38 pm, Tim Perrett timo...@getintheloop.eu wrote: Ok,

[Lift] Re: Adding bundle factory to LiftRules

2009-02-27 Thread Timothy Perrett
Don't they achieve different things? resourceNames just defines the base name for which the default java system starts looking for localizations right? Cheers, Tim On 27/02/2009 17:54, marius d. marius.dan...@gmail.com wrote: How would LiftRule.resourceNames work with type

[Lift] Re: Adding bundle factory to LiftRules

2009-02-27 Thread marius d.
Any reason why not use NamedPF.applyBox ? On Feb 27, 7:12 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Take 3. Change the factory application to: LiftRules.resourceBundleFactories.toList.find(_.isDefinedAt(locale)).toList.map(_.apply(locale)) Derek On Fri, Feb 27, 2009 at 11:05 AM,

[Lift] Re: Adding bundle factory to LiftRules

2009-02-27 Thread marius d.
Well yeah but I only havethis code from you: def resourceBundles : List[ResourceBundle] = ... case Nil = _resBundle.set(LiftRules.resourceNames.flatMap(name = tryo { List(ResourceBundle.getBundle(name, locale)) } openOr { // I think this is right...

[Lift] Re: Adding bundle factory to LiftRules

2009-02-27 Thread Tim Perrett
Marius and I have just chatted this over on IM - I've altered the code to use NamedPF... The code now reads: /** * Get the resource bundle for the current locale */ def resourceBundles: List[ResourceBundle] = { _resBundle.value match { case Nil = {

[Lift] Re: Open source password strength analyzer?

2009-02-27 Thread TylerWeir
Looking for a jQuery one: http://phiras.wordpress.com/2007/04/08/password-strength-meter-a-jquery-plugin/ Demo: http://phiras.googlepages.com/PasswordStrengthMeter.html Download: http://phiras.googlepages.com/PasswordStrengthMeter.zip Ty On Feb 27, 1:48 pm, David Pollak

[Lift] Re: Open source password strength analyzer?

2009-02-27 Thread David Pollak
How about server-side... and one that does dictionary word testing? On Fri, Feb 27, 2009 at 10:58 AM, TylerWeir tyler.w...@gmail.com wrote: Looking for a jQuery one: http://phiras.wordpress.com/2007/04/08/password-strength-meter-a-jquery-plugin/ Demo:

[Lift] Re: Open source password strength analyzer?

2009-02-27 Thread TylerWeir
After googling for a while, I found nothing. Sorry. On Feb 27, 2:01 pm, David Pollak feeder.of.the.be...@gmail.com wrote: How about server-side... and one that does dictionary word testing? On Fri, Feb 27, 2009 at 10:58 AM, TylerWeir tyler.w...@gmail.com wrote: Looking for a jQuery

[Lift] Re: Open source password strength analyzer?

2009-02-27 Thread Alex Cruise
On 02/27/2009 10:48 AM, David Pollak wrote: Does anyone know of any open source password strength analyzers? The library most Linux distros use is cracklib. I found a Java port (http://sourceforge.net/projects/solinger/) but it looks pretty old. Somebody Really Oughta write a Scala version,

[Lift] Re: Open source password strength analyzer?

2009-02-27 Thread David Pollak
On Fri, Feb 27, 2009 at 11:30 AM, Alex Cruise acru...@gmail.com wrote: On 02/27/2009 10:48 AM, David Pollak wrote: Does anyone know of any open source password strength analyzers? The library most Linux distros use is cracklib. I found a Java port

[Lift] Re: OS X lift installer

2009-02-27 Thread David Pollak
On Fri, Feb 27, 2009 at 2:03 PM, Jon Hancock shellsha...@gmail.com wrote: thanks. based on your above mention that maven is web aware and some comment I read from David Pollak that his demo didn't go so well when he lacked an internet connection, is it the case that I have to always have a

[Lift] Re: OS X lift installer

2009-02-27 Thread TylerWeir
Jon, You don't need a net connection all the time, but you do need it the first time to pull all the dependencies. After you have it up and compiling, you can issue mvn -o target and use maven in offline mode. On Feb 27, 5:03 pm, Jon Hancock shellsha...@gmail.com wrote: thanks.  based on

[Lift] Re: Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread Marc Boschma
I think what Ross is asking for isn't necessarily a bad thing for a given page which doesn't actually use the lift namespace after all processing has occurred. Think of it in a more general sense: how do I filter any namespace that isn't actually present in the result XML? This is actually

[Lift] Re: OS X lift installer

2009-02-27 Thread Meredith Gregory
Jon, No. There are at least two options -- both of which i use. - once mvn has cached stuff you can run offline with the -o option - you can also deploy jars to a local repo which can be a directory resource or your own cloud resource - i have a little shell script deploy-jar.sh i use

[Lift] Re: Removing xmlns:lift=http://liftweb.net/ in rendered page

2009-02-27 Thread David Pollak
Marc, It's possible that an Ajax transaction could take place subsequent to a page load that would insert XHTML on the page that contains something in the lift namespace. That's why I say that one removes the namespace at one's peril and we are not going to support such a feature. It's fraught

[Lift] Re: Adding bundle factory to LiftRules

2009-02-27 Thread Tim Perrett
Its now committed into 1.1-SNAPSHOT Cheers, Tim On Feb 27, 6:56 pm, marius d. marius.dan...@gmail.com wrote: I am :) ... nice work ! On Feb 27, 8:38 pm, Tim Perrett timo...@getintheloop.eu wrote: Marius and I have just chatted this over on IM - I've altered the code to use NamedPF...

[Lift] Re: Issue with http://liftweb.net site design (IE7 / Opera 9.63)

2009-02-27 Thread Lee Mighdoll
I just ran across this handy windows tool for trying multiple versions of IE: IETester http://www.my-debugbar.com/wiki/IETester/HomePage Lee On Fri, Feb 27, 2009 at 8:53 AM, David Bernard david.bernard...@gmail.comwrote: On Fri, Feb 27, 2009 at 17:37, Timothy Perrett