[Lift] Re: Where are the dragons hiding?

2009-11-18 Thread Marius
If I may .. this statement is confusing leading to incorrect interpretation. Lift works with MySQL as ANY Java application. Harry may have referred to Lift's Mapper framework which for MySql may be some problems that I'm not aware of. But if MySQL becomes critical for you I'm sure things can be pri

[Lift] Re: Where are the dragons hiding?

2009-11-18 Thread Marius
On Nov 18, 6:31 pm, Paul Butcher wrote: > I'm seriously considering Lift for a new project. I know what the > benefits of Scala and Lift are (that's why I'm seriously considering > this as a route forwards :-) What I'm wondering is whether there are > any lurking nasties that I should be aware of

[Lift] Re: scala eclipse plugin with lift

2009-11-18 Thread Marius
ently for me in the Eclipse Scala plugin either. Of course I'll come back to eclipse when it is in a better shape. Br's, Marius On Nov 18, 1:54 pm, Miles Sabin wrote: > On Wed, Nov 18, 2009 at 7:25 AM, Francois Armand wrote: > > What plugin version are you using ? There is a 2

[Lift] Re: Possible lift error in tag

2009-11-15 Thread Marius
Pushed a fix to master. Please let me if there are other issues here. On Nov 15, 2:38 pm, Marius wrote: > Pushed a suggested fix on reviewboard > > Br's, > Marius > > On Nov 15, 2:24 pm, Marius wrote: > > > What is the exact JS error? > > > On Nov 15

[Lift] Re: Possible lift error in tag

2009-11-15 Thread Marius
Pushed a suggested fix on reviewboard Br's, Marius On Nov 15, 2:24 pm, Marius wrote: > What is the exact JS error? > > On Nov 15, 2:04 pm, Marius wrote: > > > I don't think my commits may have caused this. > > > Derek ? > > > Br's, > >

[Lift] Re: Possible lift error in tag

2009-11-15 Thread Marius
What is the exact JS error? On Nov 15, 2:04 pm, Marius wrote: > I don't think my commits may have caused this. > > Derek ? > > Br's, > Marius > > On Nov 14, 11:36 pm, David Pollak > wrote: > > > Looks like a bug.  Please open a ticket > >

[Lift] Re: Possible lift error in tag

2009-11-15 Thread Marius
I don't think my commits may have caused this. Derek ? Br's, Marius On Nov 14, 11:36 pm, David Pollak wrote: > Looks like a bug.  Please open a ticket athttp://github.com/dpp/liftweb/issues > > Marius & Derek: could this have anything to do with your recent changes?  I

[Lift] Ajax and custom HTTP headers

2009-11-13 Thread Marius
Hi, Do you think it would worth having a better support for setting HTTP headers for Ajax requests ? I mean some REST API's may use some meta information in the HTTP headers and it migh be handy to set this up from lift code when using Ajax calls. Thoughts? Br'

[Lift] Re: A little emacs help please

2009-11-10 Thread Marius
Many many thanks ! On Nov 10, 9:47 pm, Ross Mellgren wrote: > M-x customize-group RET font-lock-faces RET > > This affects all programming languages, BTW. I don't know offhand of a   > way to modify only Scala-mode without using mode hooks. > > -Ross > > On Nov

[Lift] Re: A little emacs help please

2009-11-10 Thread Marius
Ok one more question ... (sorry for abusing lift list but a lot of people here know emacs) Is there a way to change the color theme for scala syntax highlighting ? Br's, Marius On Nov 8, 5:25 pm, Marius wrote: > Thanks a lot ! ... I just ran into C-SPC :) > > Br's, > Mar

[Lift] Re: Pretty Printed Output?

2009-11-09 Thread Marius
or and XhtmlResponse, take the NodeSeq and run it against the pretty printer above. // and return the new XhtmlResponse } Br's, Marius On Nov 10, 8:37 am, David Pollak wrote: > On Mon, Nov 9, 2009 at 3:28 PM, Peter Robinett wrote: > > > > > How hard would t

[Lift] Re: A little emacs help please

2009-11-08 Thread Marius
Thanks a lot ! ... I just ran into C-SPC :) Br's, Marius On Nov 8, 5:11 pm, Ross Mellgren wrote: > Acckkk whoops I said M-SPC, I meant C-SPC (ctrl+space) to set mark. M- > SPC is reduce all surrounding whitespace to one space. > > -Ross > > On Nov 8, 2009, at

[Lift] Re: A little emacs help please

2009-11-08 Thread Marius
Do you guys know how to select text just with keyboard in emacs? Something similar with SHIFT + down-arrow etc. Br's, Marius On Nov 8, 10:40 am, Marius wrote: > You guys are right. Thank you very much. Fixed. > > Br's, > Marius > > On Nov 8, 1:11 am, Derek Williams

[Lift] Re: A little emacs help please

2009-11-08 Thread Marius
You guys are right. Thank you very much. Fixed. Br's, Marius On Nov 8, 1:11 am, Derek Williams wrote: > On Sat, Nov 7, 2009 at 3:29 PM, Marius wrote: > > > (add-hook 'scala-mode-hook > > >           '(lambda () > > >              (yas/minor-mode-o

[Lift] Re: A little emacs help please

2009-11-07 Thread Marius
Ok I got the answer for #2 and #3. For #1 I'm still not sure what it complains about but it seems to work though. ALso sometime the Yasnippet menu is disappearing or when clicking it, it has no sub-menus ... weird. Br's Marius On Nov 7, 11:20 pm, Marius wrote: > Hi, > &g

[Lift] A little emacs help please

2009-11-07 Thread Marius
a () (yas/minor-mode-on) But at startup I'm getting this: "An error has occurred while loading `/home/marius/.emacs': End of file during parsing: /home/marius/.emacs" If I use --debug-init I'm njot getting much info. Even with this yasnippet seems to work fin

[Lift] Re: HttpServletRequest getRemoteUser()

2009-11-07 Thread Marius
Try this: S.containerRequest.map(r => (r.asInstanceOf[HTTPRequestServlet]).req) req is an HttpServletRequest when you run into a JEE web container. Br's, Marius On Nov 7, 5:51 am, aw wrote: > I am using 1.1-M7...  I have a Servlet Filter that performs > Authentication.  As

[Lift] Re: LiftTicket and AJAX

2009-11-01 Thread Marius
I think it would be great to have the editable in SHtml. On Nov 1, 1:43 am, Derek Chen-Becker wrote: > I have at least two different pieces of functionality here. The main > workhorse is the AjaxUtils.editable method that actually generates the > dynamic div. I was thinking that this might be go

[Lift] Re: Add getOrElseUpdate to SoftReferenceCache

2009-10-31 Thread Marius
I second Dave. Go for it. On Oct 31, 4:06 pm, David Pollak wrote: > Sounds good to me > > On Sat, Oct 31, 2009 at 3:54 AM, Timothy Perrett > wrote: > > > > > Guys, > > > What do people think about adding a getOrElseUpdate method to > > SoftReferenceCa

[Lift] Re: A better way to create a JSON Response

2009-10-29 Thread Marius
I think you should be using application/json content-type thus you can use the JsonResponse class. Br's, Marius On Oct 29, 4:42 pm, GA wrote: > Hello guys, > > I have build a small test API to learn how to receive and respond with   > JSON formatted documents. I have manage

[Lift] Re: Proposal : Lift ticketing system

2009-10-27 Thread Marius
In my mind the severity says the level of impact for the submitter, and priority is the result of comitters' bandwidth. But it's not a big issue. Br's, Marius On Oct 27, 11:23 pm, Derek Chen-Becker wrote: > OK, I just pushed the initial revision of my model to GitHub >

[Lift] Re: Newbie: zero parameter functions, bind call-by-name function curiosity

2009-10-27 Thread Marius
On Oct 27, 8:50 pm, Strom wrote: > Yes Ross, I did mean () => processForm. Thanks for the clarification. > The one thing in moving from Java to Scala is that there are a lot of > things that look similar that aren't, as you've pointed out. Newbie > error caught ;)

[Lift] Re: Folder for resource bundles possible?

2009-10-27 Thread Marius
well we use ResourceBundles which means that you should be able to use any base name that you want. Please see LiftRules.resourceBundleFactories Br's, Marius On Oct 27, 5:05 pm, Heiko Seeberger wrote: > Hi, > > Is there a way to configure Lift such that it is possible t

[Lift] Re: Newbie: zero parameter functions, bind call-by-name function curiosity

2009-10-27 Thread Marius
On Oct 27, 8:52 am, Strom wrote: > I'm not sure if this is a scala or a lift related question, but when I > try to bind a submit button, I'm having some confusion on using zero > parameter functions as the "() -> Any" parameter in the submit > signature. > > The signature for the method in ques

[Lift] Re: About the ajaxButton's confirm ?

2009-10-26 Thread Marius
That is exactly what I described above does. jsFunc: Call is the javascript function call that will receive an extra parameter which is the function that does your Ajax call. You can choose whne to invoke the ajax call. Do you need a more concrete example? Br's, Marius On Oct 26, 4:

[Lift] Re: About the ajaxButton's confirm ?

2009-10-25 Thread Marius
xButton#038920885900c7d6 .. see the last post. Let me know if you have further questions. Br's, Marius On Oct 25, 1:24 pm, "Neil.Lv" wrote: > Hi all, > >   I use the ajaxButton to delete the record from the database, and How > can the ajaxButton surpport > >   the

[Lift] Re: Proposal : Lift ticketing system

2009-10-25 Thread Marius
Should this topic be correlated with Derek's http://groups.google.com/group/liftweb/browse_thread/thread/a3d046c7159a4f39?hl=en ? On Oct 25, 5:17 am, Naftoli Gugenheim wrote: > How about we integrate the wiki, blog, forum, and issue tracker into the CMS? > ;) > Seriously, maybe it would be a go

[Lift] Re: Proposal : Lift ticketing system

2009-10-24 Thread Marius
. - Admin site. - Email notifications. This I guess would be a minimum from my perspective. Br's, Marius On Oct 24, 4:56 pm, Derek Chen-Becker wrote: > Hi, >     I feel like I need to take a break from working *on* Lift for a little > while, but I'd like to do something with

[Lift] Re: **Important** Migration guide Scala Actors -> Lift Actors

2009-10-22 Thread Marius
Just Simple & Beautiful ! ... Nice work Dave and Jonas. Br's, Marius On Oct 22, 9:57 pm, David Pollak wrote: > Folks, > > I wrote a quick blog piece about migrating from Scala Actors to Lift Actors > athttp://blog.lostlake.org/index.php?/archives/96-Migrating-from-Scal

[Lift] Re: javascript with an ajaxbutton

2009-10-22 Thread Marius
not when specifying the Call instance. That's because Lift generates for you the actual call to myFunc when pressing the ajaxButton This will call your javascript function and then the ajax call, but you also have the control to not make the ajax call at all depending on how you implement you

[Lift] Re: A Critique On Lift

2009-10-22 Thread Marius
lieve that ... and I think most people really using Lift don't believe that either. Br's, Marius On Oct 22, 11:21 am, Timothy Perrett wrote: > Guys, > > Im confused  - Scala is not Java. This my friends, is a very good   > thing. You cant expect to start a language and b

[Lift] Re: get warnings for every request

2009-10-21 Thread Marius
Ok ... my memory chip may be corrupted :D On Oct 21, 5:12 pm, Derek Chen-Becker wrote: > No, I think you're remembering something different. Right now I'm working on > time formatting, double SQL logging and improved MS SQL server support. > > Derek > > On Tue, Oct

[Lift] Re: Enhance Msgs snippet to show all messages

2009-10-21 Thread Marius
Why not use both and ? Br's, Marius On Oct 21, 4:39 pm, Heiko Seeberger wrote: > Hi, > I had a hard time figuring out why the ProtoUser's changePassword page will > show an error message when the wrong old password is given but won't show > any messages when the n

[Lift] Re: javascript with an ajaxbutton

2009-10-20 Thread Marius
I was hoping to see something minimalistic and isolated so I can quickly try it out. I'm not sure what you do with redirect("/workflow/claims") but from Ajax function you should probably use JsCmd.RedirectTo .. Hopefully I'll have some time this weekend to play with tinyM

[Lift] Re: get warnings for every request

2009-10-20 Thread Marius
Yup please file a ticket. I think Derek worked on this a while ago. Derek, please correct me if I'm wrong Br's, Marius On Oct 20, 5:16 pm, Ross Mellgren wrote: > I encountered these and sent a message to the list last week or so. I   > didn't hear anything back, maybe the

[Lift] Re: javascript with an ajaxbutton

2009-10-19 Thread Marius
I think with an import net.liftweb.http.js._ import JsCmds._ the compile problem should go away as there is an implicit defined there. But this is not important. Can you send a minimalistic code example that reflects the problem? ... including the template and Scala code. Br's, Marius O

[Lift] Re: javascript with an ajaxbutton

2009-10-19 Thread Marius
r code saveClaimStatus is run before running $saveFunc() in the case of the save1 button which seems to be the other way around. What is your actual use case? Br's, Marius On Oct 19, 8:29 pm, caw1461 wrote: > I figured this was a simple problem, but have spent way too much

[Lift] Re: Friendly url parameter for PaginateSnippet?

2009-10-18 Thread Marius
rendering these names are generated so if you just refresh a page this names will change. This is important for security reasons. If you don't like this mechanism you could easily write your own pagination using your own URL's and query string params. Br's, Marius On Oct 18, 3:54 pm, night

[Lift] Re: Friendly url parameter for PaginateSnippet?

2009-10-18 Thread Marius
F1054255562605UD5 means that a function on server side will be invoked when this is sent. I believe these is a function that the Paginator is binding automatically. Is there a more specific reason why you want this ? Br's, Marius On Oct 18, 11:12 am, night_stalker wrote: > Hi all, I

[Lift] Re: Having trouble understanding SessionVar[Box[MyClass]] and how to use it.

2009-10-18 Thread Marius
a Box[Organization] to read it: parentOrganization.is.map(org => /* do something wacky with your org */) Br's, Marius On Oct 18, 9:46 am, Jim Barrows wrote: > Here's a snippet: > > object parentOrganization extends SessionVar[Box[Organization]](Empty) > >   de

[Lift] Re: Including the class name in the JSON field

2009-10-17 Thread Marius
esn't feel completely right to me ... but this doesn't necessarily mean it is not right :) Br's, Marius On Oct 15, 1:47 am, David Pollak wrote: > Folks, > What are thoughts on including (perhaps optionally) the name of the case > class in an additional JSON field so th

[Lift] Re: Ummm.. at the risk of crashing my browser........

2009-10-16 Thread Marius
pick me, pick me ! On Oct 15, 10:18 pm, Jim Barrows wrote: > Who wants a wave invite? > Not sure how long Google will take to process them.. but I have some! > > I just added the lifehack list to my wave account, and I think firefox > nearly died.  Quite amusing.. in many ways > > -- > James

[Lift] Re: Problem with RedirectResponse not honoring excludeFromContextPathRewriting

2009-10-15 Thread Marius
I think this is caused by LiftServlet#sendResponse#fixHeaders code. Can you please open a ticket or re-open the existent one? I'll fix it if Dave doesn't do it faster. Br's, Marius On Oct 15, 10:47 pm, Ross Mellgren wrote: > Recently dpp addressed an issue I filed to allow

[Lift] Re: Using CalendarMonthView for an Appointment System

2009-10-15 Thread Marius
If you open that ticket the fix will allow you to submit the Ajax request and populate the Calendar without having to reload the page. Page reload for such cases is not very good experience. I opened issue http://github.com/dpp/liftweb/issues#issue/104 to address this. Br's, Marius On O

[Lift] Re: Using CalendarMonthView for an Appointment System

2009-10-15 Thread Marius
Br's, Marius On Oct 15, 6:56 pm, Dave wrote: > Hi all- > > I am currently attempting to build an appointment calendar in Lift. > I'm having a lot of trouble getting everything working correctly > (partially i think because of my ignorance of what functionality is > ava

[Lift] Re: Welcome Dirk Louwers to the Lift committers

2009-10-15 Thread Marius
Way cool ! ... welcome Dirk. Br's, Marius On Oct 15, 6:46 pm, David Pollak wrote: > Folks, > Please join me in welcoming Dirk to the Lift committers.  Dirk is going to > integrate Ext.Js (the MIT licensed part of it) into Lift. > > Welcome Dirk and we look forward t

[Lift] Re: Turning of cookies breaks Comet ... again

2009-10-14 Thread marius d.
Found the problem ... I opened http://github.com/dpp/liftweb/issues#issue/100 ticket and workin' on it. Br's, Marius On Oct 14, 10:07 pm, Marius wrote: > Hi, > > A while ago I added the support for URL rewriting when cookies are > turned of in the container so that thing

[Lift] Turning of cookies breaks Comet ... again

2009-10-14 Thread Marius
seems broken. I have a simple Clock Comet and when turn off cookies in jetty the page reloads over and over again (I use FireFox on Ubuntu). I'll try to fix this but in the mean time I want to ask you if you've seen the same behaviour. If you already have the answer would save me a bit of time

[Lift] Re: The quality of the Lift list [was: Don't shoot the non-XML messenger ...]

2009-10-14 Thread marius d.
Reading the thread in question I was quite surprised about the attitude shown on the list by the person in question. I wholeheartedly agree that the right decision has been made. Br's, Marius On Oct 14, 6:49 pm, David Pollak wrote: > Folks, > > It is not lightly that I ban so

[Lift] Re: Lift UVP's

2009-10-12 Thread marius d.
Is the audience mostly Java based or from different other fields including FP? I would insist in how Lift leverages functional programming idioms offered by Scala. Personally I believe this gives Lift a pretty unique position. Br's, Marius On Oct 12, 12:37 am, Timothy Perrett wrote: &

[Lift] Re: Dynamic SiteMap

2009-10-12 Thread marius d.
n LocParam would be helpful. Br's, Marius. On Oct 12, 2:27 am, Dave wrote: > Marius- > > Thanks for your help on this.  I guess I'm not sure how this differs > from the current conception of the If LocParam. As I understand it, it > is checked when determining what to di

[Lift] Re: Dynamic SiteMap

2009-10-11 Thread marius d.
omething weird that I cannot foresee I'll let you know. Would this work for you? Other people are welcome to comment as well ... Br's, Marius On Oct 11, 7:06 pm, Dave wrote: > Hi Marius, > > Thanks for the response.  The LocParam is a good idea, but here is the > attendant

[Lift] Re: Dynamic SiteMap

2009-10-10 Thread marius d.
this helps the new LocParam could be added with not much problems. If this doesn't work for you, please elaborate. Br's, Marius On Oct 11, 2:09 am, Dave wrote: > Hi all- > > I am interested in a similar question.  I have two types of users and > once logged in, I'd li

[Lift] Re: Dynamic SiteMap

2009-10-10 Thread marius d.
Well SiteMap is per LiftRules which means it's per application runtime. One approach would be to define the entire SiteMap but depending on the context using some conditional Hidden LocParam. Perhaps something like: case object CondHidden(coond: () => Boolean) extends LocParam This could be used

[Lift] Re: Started integrating lift in a scala+spring project. Feedback?

2009-10-08 Thread marius d.
I just committed it. Br's, Marius On Oct 8, 2:25 pm, Timothy Perrett wrote: > Thanking you kindly good sir - I knew there was something not quite > right about that :-) > > Cheers, Tim > > On Oct 8, 12:15 pm, "marius d." wrote: > > > You are cor

[Lift] Re: Started integrating lift in a scala+spring project. Feedback?

2009-10-08 Thread marius d.
You are correct. I need to make this adjustment today. Thanks for pointing this out Tim. Br's, Marius On Oct 8, 2:05 pm, Timothy Perrett wrote: > Marius, > > Im not sure that will work as ctx is a paramater, not a val paramater. > > class HTTPServletContext(ctx: Ser

[Lift] Re: Started integrating lift in a scala+spring project. Feedback?

2009-10-07 Thread marius d.
y know that you are running Lift in a JEE web container. This abstraction is necessary to us in order to be able to run lift apps in other no JEE containers (Netty, AsyncWeb, Portlets etc). Br's, Marius On Oct 7, 8:40 pm, rintcius wrote: > > Your best bet is to go find some Java st

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread marius d.
eat and definitely worth the effort. Br's, Marius On Oct 5, 9:32 pm, koveen wrote: > Hi, > > Being a no-programmer and having no Java-background > I'd like to have mentioned that Lift really isn't an easy framework. > Having said that, I will try to read my way into this s

[Lift] Re: execute code when browser is closed

2009-10-05 Thread marius d.
HTTP session termination does not equate with browser-close event. Br's, Marius On Oct 5, 3:22 pm, Jack Widman wrote: > Yes, thats what I meant. Thanks > > On Mon, Oct 5, 2009 at 4:10 AM, Timothy Perrett > wrote: > > > > > > > But you can do it on

[Lift] Re: How to share request scope data among snippets in Lift

2009-10-05 Thread marius d.
On Oct 5, 6:15 pm, David Pollak wrote: > On Sun, Oct 4, 2009 at 2:41 AM, ishiijp wrote: > > > Thank you for your example, David. > > It will work in my purpose. > > Cool. > > > > > It seems that my poor English and less information let some people > > confused. > > I appreciate that you have p

[Lift] Re: Model Events

2009-10-04 Thread marius d.
ion which are probably fixed now in Scala 2.7.7 RC1. So definitely yes, event driven programming is quite fitful in Lift. Br's, Marius On Oct 4, 8:25 pm, donfranciscodequevedo wrote: > I have been looking for Web frameworks that will take advantage of an > Event Driven programming model

[Lift] Re: Lift with JavaRebel, Jetty: Can I add views and/or modify Boot.scala without restarting Jetty?

2009-10-04 Thread marius d.
I know Alex :) ... It's just when you change a class and it is immediately exposed by JavaRebel a call flow must imply thechanged class in order to see the changes in action and for Boot it is not applicable as it's executed only once. But you already know that ... Br's, Marius

[Lift] Re: comet

2009-10-04 Thread marius d.
rse unless something escapes me :) Br's, Marius On Oct 4, 6:12 pm, jack wrote: > How can assure that every time a comet page is loaded, it starts again > fresh? I.e. as if the page were being loaded for the first time? --~--~-~--~~~---~--~~ You received thi

[Lift] Re: Lift with JavaRebel, Jetty: Can I add views and/or modify Boot.scala without restarting Jetty?

2009-10-04 Thread marius d.
not even convinced that we should allow things like this. Br's, Marius On Oct 4, 6:11 pm, Alex Black wrote: > Thanks Tim and Viktor.. Thats disappointing, I was hoping I wouldn't > have to restart the jetty server if when I added a new view. > > Maybe there is a creative way

[Lift] Re: RFC: Restructuring Lift Codebase [Round 2]

2009-10-03 Thread marius d.
Ok ... got it. Thanks. On Oct 3, 10:16 pm, Indrajit Raychaudhuri wrote: > On 04/10/09 12:32 AM, marius d. wrote: > > > > > Why not lift-core = (lift-common, lift-util, lift-json, lift- > > actor,lift-webkit) ? > > 1. Initially, it didn't sound right to me (whe

[Lift] Re: 1.1-SNAPSHOT and Snippet problems?

2009-10-03 Thread marius d.
What verions of lift are you using? It appears that lift-util is a different version than lift ? Br's, Marius On Oct 3, 11:11 pm, Thomas Rampelberg wrote: > I just synced up to main this morning and now whenever I try and use > one of my snippets, I'm getting the traceback bel

[Lift] Re: RFC: Restructuring Lift Codebase [Round 2]

2009-10-03 Thread marius d.
Why not lift-core = (lift-common, lift-util, lift-json, lift- actor,lift-webkit) ? Br's, Marius On Oct 3, 7:33 pm, Indrajit Raychaudhuri wrote: > On 02/10/09 6:25 PM, David Pollak wrote: > > > > > > > On Fri, Oct 2, 2009 at 5:53 AM, Indrajit Raychaudhuri > >

[Lift] Re: Concurrent Web Service Requests?

2009-10-01 Thread marius d.
to me are about about meta-data on how lift will change markup. I will do what you suggested hopefully by next Monday ... and this time using the proper process ;) Br's, Marius On Oct 1, 7:03 pm, David Pollak wrote: > Marius, > I have a ton of respect for your opinion and I appreciate

[Lift] Re: Concurrent Web Service Requests?

2009-10-01 Thread marius d.
do if majority and especially DPP thinks otherwise. It is what it is I guess. Br's, Marius On Oct 1, 4:18 am, Naftoli Gugenheim wrote: > I think everyone agrees in concept, that an arbitrary prefix sets a bad > precendent, which is why it is no longer do:par. But on the other hand

[Lift] Re: Concurrent Web Service Requests?

2009-09-30 Thread marius d.
I'm not in favor of using unprefixed attributes like par="something" (btw I really don't like par naming :) ...) because unprefixed attributes should be only standard xhtml ones or the ones that user explicitly specifies it. So lift:parallel="true" or lift:async="

[Lift] Re: Concurrent Web Service Requests?

2009-09-30 Thread marius d.
o I'm still questioning the need for a new prefix. > > I'm still for an eval: prefix, as these proposals all relate to how a > page is evaluated. > > On Wed, Sep 30, 2009 at 5:34 AM, marius d. wrote: > > > lift is already a "reserved" prefix for snip

[Lift] Re: Concurrent Web Service Requests?

2009-09-29 Thread marius d.
lift is already a "reserved" prefix for snippets. So I'd stay with simply lift prefix for these attributes as well. Br's, Marius On Sep 29, 11:11 pm, Naftoli Gugenheim wrote: > So what is your proposal? Am I interpreting you correctly that you are for a > prefix o

[Lift] Re: Concurrent Web Service Requests?

2009-09-29 Thread marius d.
t think so. Historically lift reserved prefix names were heavily debated and argued and this is a little sensitive area. But the good news is that I may be the only one feeling this way about this and everyone else likes it so I'm just a negligible minority. Br's, Marius On Sep 25, 12:02 pm,

[Lift] Re: Removing Scala Actors from Lift

2009-09-29 Thread marius d.
web realm. Br's, Marius On Sep 29, 2:17 pm, Timothy Perrett wrote: > +1 sounds like sense to me :-) > > Cheers, Tim > > Sent from my iPhone > > On 29 Sep 2009, at 19:20, Naftoli Gugenheim   > wrote: > > > > > If I was new to Lift and saw a lift-util modu

[Lift] Re: VCard parser...

2009-09-29 Thread marius d.
Oh wow :) Br's, Marius On Sep 29, 2:18 pm, "Charles F. Munat" wrote: > Oh, it's no problem, dude! I've been meaning to pick up a bottle of this > Jacobsen Vintage #2 beer for a while now, but it's only available in > Europe. Maybe you could ship me one? &

[Lift] Re: VCard parser...

2009-09-29 Thread marius d.
I've looked on the diffs but I need to look into more details as these are no trivial changes. So far I really like what I'm seeing. Hopefully I'll have time today to do it. Br's, Marius On Sep 29, 1:02 pm, David Pollak wrote: > On Tue, Sep 29, 2009 at 6:

[Lift] Re: VCard parser...

2009-09-29 Thread marius d.
Oh Tim ... a VCard builder should be easier then the parser. I'll add it hopefully in the next days/week ... and will go thru the review board. Damn I'm really sorry about not following the process ... Br's, Marius On Sep 29, 8:50 am, "marius d." wrote: > Hooo

[Lift] Re: VCard parser...

2009-09-29 Thread marius d.
Hly cow ! I owe the committers more than a beer. I totally forgot about review board. All, please accept my apologies. Br's, Marius On Sep 29, 8:27 am, Timothy Perrett wrote: > I guess we could let him off this time ;-) > > Any plans to add a vCard bu

[Lift] Re: Tabbed browsing and "session" state

2009-09-28 Thread marius d.
ch > function id is in the request query parameters which depends on the link that > was clicked which is generated by the stateful snippet :) > But if one page must link to several pages each with a pre-instantiated > snippet you must use mapSnippet. > Marius, did David work

[Lift] Re: RFC: Restructuring Lift Codebase

2009-09-27 Thread marius d.
Generally I like this structure.Please see my other comments below: On Sep 27, 3:44 pm, Indrajit Raychaudhuri wrote: > Folks, > > As followup to the proposed goal of "Keeping lift-core neat and > small", here is the first iteration of the revised structure of Lift > codebase. > > liftweb > > - l

[Lift] Re: Tabbed browsing and "session" state

2009-09-27 Thread marius d.
Tiro, Please see the lift-wizard project. Br's, Marius On Sep 27, 1:33 am, tiro wrote: > Naftoli, > thanks for providing these insights into the inner workings of > Stateful Snippets. The mapSnippet solution sounds interesting. I knew > that snippets don't live on when n

[Lift] Re: Tabbed browsing and "session" state

2009-09-26 Thread marius d.
On Sep 26, 10:38 am, tiro wrote: > Hi, > has anyone investigated or built a way to support tabbed browsing when > there is considerable view/workflow state? Or have I missed an elegant > way for this to be done in Lift? There is a rather recent wizard code in lift that Dave added (and I haven'

[Lift] Re: Canceling a ActorPing.scheduleAtFixedRate task

2009-09-25 Thread marius d.
Hi, When you call scheduleAtFixedRate that actor is sending your actor a Scheduled message, hence you can capture the correct sender. You don't need to create a different actor. David's points are quite valid regarding the correct Scala actors' state. Br's, Marius On S

[Lift] Re: Canceling a ActorPing.scheduleAtFixedRate task

2009-09-25 Thread marius d.
So why not keep the method for the Lift-Actors branch? ... because there is no concept of linking actors there? Br's, Marius On Sep 24, 6:52 pm, David Pollak wrote: > I strongly recommend against using scheduleAtFixedRate because: > >    - Internally, it creates an actor that&#x

[Lift] Re: SessionVar.remove() not clearing out the variable

2009-09-23 Thread marius d.
On Sep 22, 10:50 pm, Dano wrote: > Marius, > > Thanks for your reply.  If I look in my pom.xml, I see that I am using > 1.1-SNAPSHOT.  However, I see your point about the remove() function > not being in Vars.scala.  Not sure why I am able to compile a call to > remove() on

[Lift] Re: SessionVar.remove() not clearing out the variable

2009-09-22 Thread marius d.
On Sep 22, 8:13 pm, Dano wrote: > Hello Lifters, > > I am struggling with trying to clear out a SessionVar which holds user > information which I need to clear out after the user has left a > 'lobby' page. > > When I call the remove() function, I verify that the SessionVar is > Empty.  However,

[Lift] Re: access to raw HttpServletRequest/Response

2009-09-22 Thread marius d.
I really don't think Lift should expose directly expose servlet references. Applications still have access to servlet stuff by explicit casting. You can do it today like this: S.containerRequest.map(r => (r.asInstanceOf[HTTPRequestServlet]).req) Br's, Marius On Sep 22, 3:53 pm,

[Lift] Re: Function mapping in "S" doesn't support "image" type input form elements.

2009-09-22 Thread marius d.
9756071772HPQ input element can simply be a hidden field (last field in the form) that you attach a function to it. Br's, Marius On Sep 21, 11:51 pm, Mark Tye wrote: > Hello? Hello? Is this thing on? > > Ahem! Well, now that I have been un-banned, I shall re-post my > orig

[Lift] Re: javascript disabled on mobile phone browsers

2009-09-20 Thread marius d.
Yes .. you can use lift with zero javascript. But obviously you won't have comet, you need to turn off auto Ajax and comet generation from LiftRules LiftRules.enableLiftGC = false; Liftules.autoIncludeComet = session => false Liftules.autoIncludeAjax = session => false Br's, M

[Lift] Re: Session locking...

2009-09-20 Thread marius d.
browser actions is not 100% reliable. Br's, Marius On Sep 20, 7:37 am, Timothy Perrett wrote: > Hmm - see what you mean Derek. It seems like it would be really > helpful to have a addSetupFunction method on LiftSession - what are > your thoughts? > > Cheers, Tim > > On S

[Lift] Re: Speaking at Developer Day in Boulder

2009-09-19 Thread marius d.
coool! ... will be taped ? br's, Marius On Sep 19, 2:45 pm, Derek Chen-Becker wrote: > FYI, for anyone in the Denver/Boulder area, I'll be giving an intro talk > on Scala at the Developer Day, Boulder event on October 10th: > > http://developer-day.com/events/2009-bould

[Lift] Re: all page URLs appended with ;jsessionid=knq01t90ajh7

2009-09-19 Thread marius d.
s if container's cookies are turned ON. This decision is done by the container and not Lift. So you either have JSESSIONID as a cookie or as part of the URL aka URL rewriting. Br's, Marius On Sep 19, 12:09 am, Grant Wood wrote: > Atsuhiko's experience makes sense if you look

[Lift] Re: all page URLs appended with ;jsessionid=knq01t90ajh7

2009-09-18 Thread marius d.
rrect behavior. Your specific example sounds like a bug and I'll try to fix it tomorrow. Br's, Marius On Sep 18, 7:04 pm, Atsuhiko Yamanaka wrote: > Hi, > > On Sat, Sep 19, 2009 at 4:43 AM, David Pollak > > wrote: > > > Is this causing a problem?  If it is, you

[Lift] Re: Where's LiftFilter connected in with LiftServlet?

2009-09-18 Thread marius d.
function and from here the LiftServlet gets called. HTTPProvider trait has no knowledge about servlets API, neither LiftServlet which is not a real JEE servlet. Br's, Marius On Sep 18, 7:03 pm, Meredith Gregory wrote: > Dear Lifted, > bash-3.2$ cd liftweb/ > bash-3.2$ ls > bui

[Lift] Re: Welcome Indrajit Raychaudhuri to the Lift Committers

2009-09-18 Thread marius d.
Outstanding! Welcome aboard! Br's, Marius On Sep 18, 7:00 pm, David Pollak wrote: > Folks, > > Please join me in welcoming Indrajit Raychaudhuri to the Lift committers. > > Indrajit has been very visible on the Lift list of late, offering lots of > good solutions to pe

[Lift] Re: all page URLs appended with ;jsessionid=knq01t90ajh7

2009-09-18 Thread marius d.
Turning ON cookies in container will disable URL rewriting. jsessionid will become a cookie. Br's, Marius On Sep 18, 2:43 pm, David Pollak wrote: > On Fri, Sep 18, 2009 at 12:15 PM, Chris Lewis wrote: > > > > > It has nothing to do with lift, but the servlet container

[Lift] Re: CometActor timeout problem

2009-09-18 Thread marius d.
On Sep 17, 11:09 pm, jack wrote: > I have a CometActor which displays a list of urls and at the same time > launches a bunch of threads each of which gets information about the > urls and then puts messages about that information in a Queue. On each > new tick, the CometActor checks the queue a

[Lift] Re: Tabs + menu builder

2009-09-17 Thread marius d.
It would be pretty easy to write your own snippet and get inspired from Lift's menu snippet code.THe Menu snippet produces lists (ul/li) and if your JQuery Tab plugin works with HTML lists it should work almost on the fly? Br's, Marius On Sep 17, 4:05 pm, caw1461 wrote: > I'

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread marius d.
What is the problem this time? .. same thing essentially? Br's, Marius On Sep 16, 8:14 am, David Pollak wrote: > Guys, > The Scala Actor issue has raised its head again. > > From November 2008 - June 2009, I did an epic battle with Scala actors and > their memory ret

[Lift] Re: JSON forms problem

2009-09-15 Thread marius d.
ase let me know. How urgent is this for you? Br's, Marius On Sep 15, 6:15 pm, glenn wrote: > But, the head method does add the javascript to the page, so no src > attribute is needed, right? > > On Sep 15, 3:59 pm, "marius d." wrote: > > > Where is the he

<    1   2   3   4   5   6   7   8   9   10   >