[Lift] JRebel not reloading with new snapshot archetype

2010-02-08 Thread Lukasz Kuczera
Hello. I've encountered strange problem. I had stable lift app compiled against 2.7.7 then i've moved to 2.8.1beta, everything worked perfect. Yesterday i've pulled clean project using -DarchetypeVersion=2.0- scala280-SNAPSHOT and after running mvn jetty:run rebel doesn't see changes made by

[Lift] Re: Forcing Authentication not working

2010-02-08 Thread aw
On Feb 7, 11:31 pm, Marius marius.dan...@gmail.com wrote: Please open a defect herehttp://www.assembla.com/spaces/liftweb/tickets Would love to, but the New Ticket button does not seem to exist... Is this project configured correctly to accept non-teammate submissions? -- You received this

Re: [Lift] **IMPORTANT** HOLD OFF CREATING TICKETS ON ASSEMBLA

2010-02-08 Thread Indrajit Raychaudhuri
On 08/02/10 12:17 AM, Naftoli Gugenheim wrote: Thank you for a great web framework! Thanks tons Indrajit for getting this done! Thanks a ton Naftoli for coming up with an awesome script that helped getting it done! - David

Re: [Lift] Re: Forcing Authentication not working

2010-02-08 Thread Indrajit Raychaudhuri
You have to register yourself as Watcher of the space liftweb to see the New Ticket button :) We have this rule to avoid (Anonymous) spams in the ticket. Cheers, Indrajit On 08/02/10 2:48 PM, aw wrote: On Feb 7, 11:31 pm, Mariusmarius.dan...@gmail.com wrote: Please open a defect

Re: [Lift] Re: Forcing Authentication not working

2010-02-08 Thread Timothy Perrett
You need to be registered on assembla and watching the Lift space - we do that to avoid spam Cheers, Tim On 8 Feb 2010, at 09:18, aw wrote: On Feb 7, 11:31 pm, Marius marius.dan...@gmail.com wrote: Please open a defect herehttp://www.assembla.com/spaces/liftweb/tickets Would love to, but

[Lift] Closing in on Lift logging

2010-02-08 Thread Jeppe Nejsum Madsen
Hi, Trying to tie the knots on #309 (Logging), I've committed my changes to http://github.com/dpp/liftweb/commits/jnm_issue_309 Before updating all the examples and archetypes, I would like to get consensus to the approach chosen now: - Slf4j is the logging facade used internally by the

[Lift] Re: JRebel not reloading with new snapshot archetype

2010-02-08 Thread Lukasz Kuczera
It seems like pom.xml had wrong version of specs. I'm not shure if it is a bug but had to change artifact id from: specs_2.8.0.Beta1 to: specs_2.8.0.Beta1-RC8 -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

Re: [Lift] Closing in on Lift logging

2010-02-08 Thread Indrajit Raychaudhuri
+1 Need to send a **BREAKING CHANGE** notice to lift-announce and liftweb and update the Wiki possibly carrying the rationale behind. Also clearly mentioning how the existing applications would behave without making these changes (and what needs to be done to get the existing behavior

Re: [Lift] Re: JRebel not reloading with new snapshot archetype

2010-02-08 Thread Indrajit Raychaudhuri
Hmm, specs_2.8.0.Beta1 is the appropriate version aligned with Scala 2.8.0Beta1. If you really find the expected behavior with specs_2.8.0.Beta1-RC8 but not with specs_2.8.0.Beta1, we have an interesting behavior at hand. Cheers, Indrajit On 08/02/10 3:41 PM, Lukasz Kuczera wrote: It seems

Re: [Lift] Re: Error messages are not displayed - 2.0-M1

2010-02-08 Thread Adam Warski
Hello, If you are using an Ajax form lift:msgs showAll=true/ did not show the messages associated with ID's ... messages coming from FieldError. This is a defect I fixed about a week ago. Please use the latest lift build. Ah, I didn't realize that this ticket got closed. Anyway, I checked

[Lift] Re: JRebel not reloading with new snapshot archetype

2010-02-08 Thread Lukasz Kuczera
Eclipse was shouting at me that it can't find spec_2.8.0.Beta1 at first glance I didn't see it either. It is ok now. Still jrebel is not reloading those classes. On Feb 8, 11:29 am, Indrajit Raychaudhuri indraj...@gmail.com wrote: Hmm, specs_2.8.0.Beta1 is the appropriate version aligned with

[Lift] Why don't milestone releases include the source archive in the Maven repository ?

2010-02-08 Thread Hugo Palma
They are very handy for debugging but it seems both the 1.1 and the 2.0 milestones don't include them. Is there any particular reason why that is ? Thanks -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] Re: **IMPORTANT** Lift ticketing system has moved to Assembla

2010-02-08 Thread Erkki Lindpere
I noticed that Assembla sends a lot of spam (seems I get an e-mail for everything anyone does in there, including new users registering) These alerts can be turned off under Stream - Change alert settings if anyone has trouble finding it. -- You received this message because you are subscribed

Re: [Lift] Re: **IMPORTANT** Lift ticketing system has moved to Assembla

2010-02-08 Thread Indrajit Raychaudhuri
I digg this :) Assembla docs has this to say on email alerts: http://www.assembla.com/wiki/show/breakoutdocs/FAQ#EmailsAlerts FWIW, I couldn't find admin settings to set this as space level default. Cheers, Indrajit On 08/02/10 5:41 PM, Erkki Lindpere wrote: I noticed that Assembla sends a

[Lift] **IMPORTANT** Lift 2.0 Milestone 2 is coming and it's time to test the SNAPSHOT in master

2010-02-08 Thread Indrajit Raychaudhuri
Folks, Lift 2.0 Milestone 2 release is coming soon! This also means the master would get 'slushy' by end of day today (PST) ! Committers please: - merge all branches for outstanding ticket to master (subject to RB approval) - associate corresponding tickets in Assembla to appropriate milestone

Re: [Lift] Re: **IMPORTANT** Lift ticketing system has moved to Assembla

2010-02-08 Thread Naftoli Gugenheim
Every alert message has at its end the link to change your alert settings. - Erkki Lindperevill...@gmail.com wrote: I noticed that Assembla sends a lot of spam (seems I get an e-mail for everything anyone does in there, including new users registering) These

[Lift] Make MenuBuilder generate link for current page

2010-02-08 Thread Hugo Palma
By default the menubuilder snippet doesn't generate a link for the current page. Can this behavior be changed ? Thanks -- 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

Re: [Lift] Why don't milestone releases include the source archive in the Maven repository ?

2010-02-08 Thread Indrajit Raychaudhuri
Umm, the source jas are actually available in the repository along with the binary jars :) Looks for lift-module-2.0-M1-sources.jar in the same place as lift-module-2.0-M1.jar. See any of the module location in http://scala-tools.org/repo-releases/net/liftweb/lift-module/2.0-M1 for example.

[Lift] A Groovy welcome to James Strachan who has joined the Lift committers

2010-02-08 Thread David Pollak
Folks, I'm wicked pleased that James Strachan has joined the Lift committers. I'm looking forward to the cool stuff that James will add to Lift. Please join me in welcoming James! Thanks, David -- Lift, the simply functional web framework http://liftweb.net Beginning Scala

[Lift] Re: [Lift committers] A Groovy welcome to James Strachan who has joined the Lift committers

2010-02-08 Thread Ross Mellgren
Welcome! On Feb 8, 2010, at 12:16 PM, David Pollak wrote: Folks, I'm wicked pleased that James Strachan has joined the Lift committers. I'm looking forward to the cool stuff that James will add to Lift. Please join me in welcoming James! Thanks, David -- Lift, the simply

[Lift] **Important** Code Slush

2010-02-08 Thread David Pollak
Folks, We're planning to do 2.0-M2 release on Wednesday. We're officially on code slush to give 4[], Udorse and other production sites that run on the milestones to test the existing code. That means no code gets committed to master unless it's a bug fix for something that's reported against

[Lift] Re: **Important** Code Slush

2010-02-08 Thread Joni Freeman
Done. Thanks Joni On Feb 8, 7:46 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Feb 8, 2010 at 9:45 AM, Joni Freeman freeman.j...@gmail.com wrote: David, This bug fix is waiting on RB. Don't know how critical it is but the fix looks trivial. Reviewed.  Merge it on it

[Lift] Re: Why don't milestone releases include the source archive in the Maven repository ?

2010-02-08 Thread Hugo Palma
Your right. For some reason i was only looking into the lift-core module which my application isn't even using. Sorry for the false alarm. Thanks. On Feb 8, 4:41 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: Umm, the source jas are actually available in the repository along with the

[Lift] Re: [Lift committers] A Groovy welcome to James Strachan who has joined the Lift committers

2010-02-08 Thread Jeppe Nejsum Madsen
James Strachan james.strac...@gmail.com writes: On 8 February 2010 17:16, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I'm wicked pleased that James Strachan has joined the Lift committers.  I'm looking forward to the cool stuff that James will add to Lift. Please join me in

Re: [Lift] Re: HTTP Reason Phrase

2010-02-08 Thread David Pollak
I think this issue rests with Marius. He's done most of the interface between Lift and the servlet containers. Let's see what he has to say. On Sun, Feb 7, 2010 at 2:47 PM, Erkki Lindpere vill...@gmail.com wrote: Ok. The feature is not really that important for me, just something that would

[Lift] Re: [Lift committers] A Groovy welcome to James Strachan who has joined the Lift committers

2010-02-08 Thread David Pollak
On Mon, Feb 8, 2010 at 11:08 AM, James Strachan james.strac...@gmail.comwrote: On 8 February 2010 18:58, Naftoli Gugenheim naftoli...@gmail.com wrote: Welcome! Out of curiosity, what are the advantages of this other templating engine? Probably the Haml site describes it quite well (see

Re: [Lift] **Important** Code Slush

2010-02-08 Thread Jonathan Hoffman
Thanks David, I have no new needs for M2. I've been putting the SNAPSHOT builds through the paces and everything checks out ok so far. - Jon On Feb 8, 2010, at 12:28 PM, David Pollak wrote: Folks, We're planning to do 2.0-M2 release on Wednesday. We're officially on code slush to give

[Lift] Re: HTTP Reason Phrase

2010-02-08 Thread Marius
I think it worth to add this support even if servlet API is a little weird sometimes but Lift HTTP API could provide a nicer support. Furthermore such Lift API support would be handy for non JEE containers therefore I'd vote for it. Erkky would you please open a defect

Re: [Lift] Is it possible to use CRUDify snippets on non CRUDified pages?

2010-02-08 Thread David Pollak
On Thu, Feb 4, 2010 at 3:22 PM, Jonathan Ferguson j...@spiralarm.comwrote: Is there are reason one or more correct than the other? If you use the rewrite mechanism, you've got the flexibility to change the rewrite rules so that if you want something else on the /index page, it's simple logic

Re: [Lift] **Important** Code Slush

2010-02-08 Thread David Pollak
On Mon, Feb 8, 2010 at 11:19 AM, Jonathan Hoffman jonhoff...@gmail.comwrote: Thanks David, I have no new needs for M2. I've been putting the SNAPSHOT builds through the paces and everything checks out ok so far. Thanks! - Jon On Feb 8, 2010, at 12:28 PM, David Pollak wrote: Folks,

Re: [Lift] Re: Potential breakage: Choosing the default Lift logging backend

2010-02-08 Thread David Pollak
On Sat, Feb 6, 2010 at 5:42 AM, Timothy Perrett timo...@getintheloop.euwrote: Jeppe, Certainly 2 has to be the way to go. We can add stuff to the archetypes to ease this process for users. Moreover, we could add specific lift modules that carried the right dependencies and boot wire up to

Re: [Lift] liftweb.vim plugin for vim development

2010-02-08 Thread David Pollak
Totally AWESOME! Thank you for your contribution! On Fri, Feb 5, 2010 at 9:55 PM, Antonio Salazar Cardozo savedfastc...@gmail.com wrote: Hello all, To ease my pain in using Lift with vim as my main text editor (getting Eclipse set up correctly with the Scala editor has been an exercise

Re: [Lift] Re: OSGi example, what to do to make it run?

2010-02-08 Thread David Pollak
2010/2/5 philip philip14...@gmail.com Hi, I want to explain my desire for OSGi in Lift, I understand that Lift being split into modules and being able to load different modules is desirable. However what I want to be able to do is to dynamically compile Scala code, load into OSGi and use

Re: [Lift] Make MenuBuilder generate link for current page

2010-02-08 Thread David Pollak
On Mon, Feb 8, 2010 at 6:53 AM, Hugo Palma hugo.m.pa...@gmail.com wrote: By default the menubuilder snippet doesn't generate a link for the current page. Can this behavior be changed ? There's currently no option to override this behavior. What attribute do folks think should be added to

Re: [Lift] Is there any way to set default source encoding in Lift2.0-scala280 ?

2010-02-08 Thread David Pollak
Please open a ticket at https://liftweb.assembla.com/spaces/liftweb/ticketson this issue and assign it to me. On Tue, Feb 2, 2010 at 6:00 PM, pomu0325 pomu0...@gmail.com wrote: Hi, I'm quite a newbie to Lift. I'm now trying to port my first Lift application from Lift1.0.2 to latest

Re: [Lift] Re: URL Rewriting - 'nested' ParsePath?

2010-02-08 Thread David Pollak
Folks, Please keep in mind that RequestMemoize is made for use with extractors... you only need to make RDBMS requests once per request even if the extractor is called multiple times with the same value. Thanks, David On Sat, Feb 6, 2010 at 5:25 PM, philip philip14...@gmail.com wrote: Hi

[Lift] List of MappedField from different mappers?

2010-02-08 Thread Jeppe Nejsum Madsen
Hi, How can I create a List of MappedField from different Mappers: I want to create a function like this: def requiredFields(mfs: List[MappedField[_,Any]]) and call it like this requiredFields(List(Table1.field1, Table2.field2)) How can I specify that the first type parameter to the

Re: [Lift] List of MappedField from different mappers?

2010-02-08 Thread David Pollak
On Mon, Feb 8, 2010 at 12:54 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Hi, How can I create a List of MappedField from different Mappers: I want to create a function like this: def requiredFields(mfs: List[MappedField[_,Any]]) Does this not work? and call it like this

Re: [Lift] Re: Potential breakage: Choosing the default Lift logging backend

2010-02-08 Thread Jeppe Nejsum Madsen
David Pollak feeder.of.the.be...@gmail.com writes: On Sat, Feb 6, 2010 at 5:42 AM, Timothy Perrett timo...@getintheloop.euwrote: Jeppe, Certainly 2 has to be the way to go. We can add stuff to the archetypes to ease this process for users. Moreover, we could add specific lift modules

Re: [Lift] liftweb.vim plugin for vim development

2010-02-08 Thread Marc Weber
and on github at http://github.com/Shadowfiend/liftweb-vim . I've added it to the vim-addon-know-repository repository. You can install the dev version using vim-addon-manager easily now. I'm a little bit interested in lift as well. Don't have much time for it though. Marc Weber -- You

Re: [Lift] List of MappedField from different mappers?

2010-02-08 Thread Jeppe Nejsum Madsen
David Pollak feeder.of.the.be...@gmail.com writes: On Mon, Feb 8, 2010 at 12:54 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Hi, How can I create a List of MappedField from different Mappers: I want to create a function like this: def requiredFields(mfs: List[MappedField[_,Any]])

Re: [Lift] List of MappedField from different mappers?

2010-02-08 Thread David Pollak
On Mon, Feb 8, 2010 at 1:33 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: David Pollak feeder.of.the.be...@gmail.com writes: On Mon, Feb 8, 2010 at 12:54 PM, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Hi, How can I create a List of MappedField from different Mappers: I want to

[Lift] Re: [Lift committers] A Groovy welcome to James Strachan who has joined the Lift committers

2010-02-08 Thread Indrajit Raychaudhuri
+1 Welcome James! Cheers, Indrajit On 08/02/10 11:22 PM, Timothy Perrett wrote: Wow, that was a long time comming!! Welcome to the team James... great to finally have another UK bod! Cheers, Tim On 8 Feb 2010, at 17:16, David Pollak wrote: Folks, I'm wicked pleased that James Strachan

[Lift] Submit form on enter in textarea

2010-02-08 Thread Heiko Seeberger
Hi folks, this time *with* body and hopefully quite understandable: What's the most clever way to submit a (AJAX)form when ENTER is hit in a textarea? Thanks, Heiko -- Heiko Seeberger Work: weiglewilczek.com Blog: heikoseeberger.name Follow me: twitter.com/hseeberger OSGi on Scala:

[Lift] Support for page and snippet level localization

2010-02-08 Thread Hugo Palma
Lift only support global resource bundles, i think it would be very useful if page and snipped level resource bundles were supported. For example, if i have a page index it would automatically have access to the indexlocale.properties_ bundle. Obviously this bundle would not be accessible from any

Re: [Lift] Support for page and snippet level localization

2010-02-08 Thread Timothy Perrett
That wouldn't work for Lift as it assumes a page is scoped to a single snippet. It works with Tapestry because its an MVC framework. Lift is *not* MVC. Have you seen LiftRules.resourceBundleFactories ? Cheers, Tim On 8 Feb 2010, at 22:11, Hugo Palma wrote: Lift only support global

Re: [Lift] Support for page and snippet level localization

2010-02-08 Thread Naftoli Gugenheim
You can just have separate index html files for different locales, and when the user goes to /index (or / I suppose) Lift selects the correct one. - Hugo Palmahugo.m.pa...@gmail.com wrote: Lift only support global resource bundles, i think it would be very

Re: [Lift] Submit form on enter in textarea

2010-02-08 Thread Timothy Perrett
In a textarea?!! Why on earth would you want to do that? I would imagine that you would need to use some kind of JQuery event binding that subsequently triggered an XHR form submit; you'd have to implement this as a JSON form on the server side id imagine though as im not sure how you'd hook

Re: [Lift] Re: HTTP Reason Phrase

2010-02-08 Thread Timothy Perrett
Ah yes - keep forgetting one day we'll have netty et al providers! Interested to see what you come up with Marius Cheers, Tim On 8 Feb 2010, at 19:23, Marius wrote: I think it worth to add this support even if servlet API is a little weird sometimes but Lift HTTP API could provide a nicer

Re: [Lift] Support for page and snippet level localization

2010-02-08 Thread Timothy Perrett
Generally I find that to be only of use when needed specific adjustments to templates. For instance, english vs german... the german language is significantly more verbose so requires different div heights etc sometimes. Its not generally a strategy one adopts for their entire localisation

[Lift] Re: Upgrade to Flot 0.6

2010-02-08 Thread Peter Robinett
Yep, Javascript dependencies can get tricky. Generally, Lift's head merging means that you just include the necessary script tag in your snippet right before the code that will call it. However, this isn't always so easy (for example, when doing AJAX responses). This is of course after the

[Lift] Re: Error messages are not displayed - 2.0-M1

2010-02-08 Thread wibblecp
Thanks Timothy for your advice. On Feb 6, 3:16 pm, Timothy Perrett timo...@getintheloop.eu wrote: wow, thats some ugly code man. Why dont you try something like: def validateAndSave {   currentEntry.validate match {     case Nil =       currentEntry.save       S.notice(currentEntry.title +

[Lift] Re: Error messages are not displayed - 2.0-M1

2010-02-08 Thread wibblecp
Hi Marius, I am using version 2.0-M1. Now it works. This topic could be considered closed for me. Thanks to all for your replies. Regards, wibble. On Feb 6, 6:32 pm, Marius marius.dan...@gmail.com wrote: What Lift version are you using? If you are using an Ajax form lift:msgs showAll=true/

Re: [Lift] Re: [Lift committers] A Groovy welcome to James Strachan who has joined the Lift committers

2010-02-08 Thread Xuefeng Wu
I'm looking forward it. On Tue, Feb 9, 2010 at 1:27 AM, James Strachan james.strac...@gmail.comwrote: On 8 February 2010 17:16, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I'm wicked pleased that James Strachan has joined the Lift committers. I'm looking forward to the

Re: [Lift] Re: Facebook Application

2010-02-08 Thread Jonathan Hoffman
Hi All, I just created issue #336 to provide a Facebook Connect helper and example application. You can take a look at what I've got here: http://github.com/dpp/liftweb/commit/3b6686201e3b7f22100e52a04734fd4ccf67910b Leo, if you're trying to use fb connect, hopefully this will help you out (I

[Lift] Re: lift-json serialization

2010-02-08 Thread Joni Freeman
Hi, Serialization feature is actually a very thin layer on top of decompose and extract functions. So, one way to accomplish that is to use directly those functions and map the field names. So, instead of this: write(x, out) Try this: val json = decompose(x) map { case JField(firstname, x)