[Lift] Re: scala-tools.org down

2009-06-27 Thread marius d.
Thanks Derek. On Jun 27, 6:54 pm, Derek Chen-Becker wrote: > Hi all, >     DPP gave me access to the primary Xen server that everything else runs > on, but I'm unable to reach it. This may either be a network failure or a > total hardware failure, but it's unclear at this point. I'm going to cal

[Lift] Re: liftweb.net down now, and maven refuses to compile

2009-06-27 Thread marius d.
Sorry On Jun 27, 1:03 pm, Ellis wrote: > > try maven -o > > The point of my message was that maven -o doesn't work! :) > > On Jun 27, 11:06 am, "marius d." wrote: > > > try maven -o > > > Marius > > > On Jun 27, 11:46 am,

[Lift] Re: Turning on Logging for third-party libraries in Lift

2009-06-27 Thread marius d.
I think that simply putting log4j.xml in WEB-INF/classes folder does the trick. Br's, Marius On Jun 27, 3:06 am, Alan M wrote: > I'm trying to enable log4j logging in a third party library (well > third party to me.. it was developed in house) so that it logs it's > output to the same place my

[Lift] Re: liftweb.net down now, and maven refuses to compile

2009-06-27 Thread marius d.
-American guys (I.e people who are awake now!)   > to take a look at the server? > > Cheers, Tim > > Sent from my iPhone > > On 27 Jun 2009, at 10:06, "marius d." wrote: > > > > > try maven -o > > > Marius > > > On Jun 27, 11:46 a

[Lift] Re: liftweb.net down now, and maven refuses to compile

2009-06-27 Thread marius d.
try maven -o Marius On Jun 27, 11:46 am, Ellis wrote: > Maven is suddenly refusing to compile because scala-tools.org is > down.  Can the liftweb-snapshot-1.1 POM be changed in order to let > maven work in offline mode? > > Here's an excerpt of the error message when trying to run in offli

[Lift] Re: suggestion: I'm a brand spanking new user....some first impressions on 'getting started'

2009-06-27 Thread marius d.
You can also look son the examples application that come with Lift in sites folder. Just get lift from github. Br's, Marius On Jun 27, 6:22 am, g-man wrote: > My path to learning was threefold: > > 1. Do the 'ToDo' app tutorial, while studying the 'PocketChange' app > from the book at the same

[Lift] Re: Warnings for missing binds?

2009-06-26 Thread marius d.
you would get two warnings: > >    1. One that nothing had matched the "content" name >    2. One that there was an unused "contet" surround > > Derek > > On Fri, Jun 26, 2009 at 9:52 AM, marius d. wrote: > > > That would be nice ... but still what was

[Lift] Re: Warnings for missing binds?

2009-06-26 Thread marius d.
That would be nice ... but still what was the problem with unused bind params? ... could you please elaborate a bit? Br's, Marius On Jun 26, 6:32 pm, Derek Chen-Becker wrote: > I just spent the better part of half a day trying to track down an issue > with binding that ended up being a subtle t

[Lift] Re: form element specific error messages

2009-06-26 Thread marius d.
In your snippet when you need to set the error message just call: S.error("firstname", "an error message") br's, Marius On Jun 26, 3:10 am, Trav wrote: > I have a form such as: > > >   >   >   > > > and a bind: > > bind("newCustomer", xhtml, >    "firstName" -> text(XX

[Lift] Re: lift presentation

2009-06-24 Thread marius d.
I'm giving today a presentation for Transylvania JUG ... I'll email you my material. Br's, Marius On Jun 25, 8:04 am, Wilson MacGyver wrote: > Hi, > > I'm doing a presentation on lift to my local java user group next month. > > I'm wondering if any of you have slides on lift that I can borrow/

[Lift] Re: Stax

2009-06-24 Thread marius d.
Would be neat to have a Lift application template when creating a new stax app. And the fact they are using Amazon EC2 is really great. Br's, Marius On Jun 24, 4:53 pm, David Pollak wrote: > Folks, > The folks in the ESME project have been hosting demo versions of ESME > onhttp://stax.net/ > >

[Lift] Re: Thead safe part and transaction management in Lift

2009-06-24 Thread marius d.
On Jun 24, 2:18 pm, "fan...@gmail.com" wrote: > marius d. a écrit : > > > Yes it is thread safe. It is one of the most fundamental design scopes > > of lift. Do you have any specifics in mind that you need answers? > > No, in fact I took as an assumption the t

[Lift] Re: Thead safe part and transaction management in Lift

2009-06-24 Thread marius d.
On Jun 24, 12:10 pm, "fan...@gmail.com" wrote: > Hello guys, > > I'm following my path through lift, and there is some part that are > still not really clear for me. > > First question: what parts of lift are thread safe ? In particular, does > the request/response handling cycle is thread safe

[Lift] Re: Anyone working on the flot widget?

2009-06-24 Thread marius d.
One note ... the flot widget is in lift-widgets but I think it should also be added into the test demo app along with the other widgets so people can actually see it in action. Br's, Marius On Jun 24, 11:23 am, Timothy Perrett wrote: > I've not spoken with Francois for some time, but I'll ask h

[Lift] Re: So where is that OAuth?

2009-06-22 Thread marius d.
; Finally; a uber noob question, what is the equivalent of curl(php) or > urllib/urlopen(python) that i would use in the second option to > actually make the http request to ther other site? I think its a > servlet but some trivial example on this would really help me =) You can just

[Lift] Re: So where is that OAuth?

2009-06-21 Thread marius d.
OAuth is not implemented yet in Lift still the project folder is there. I think Dave wanted to put it there but never got the chance to add it. Br's, Marius On Jun 21, 9:29 am, DFectuoso wrote: > Im trying to integrate OAuth (with twitter) in one of my projects... > and i saw the lift-oauth, bu

[Lift] Re: REST & Record

2009-06-19 Thread marius d.
Ok I just committed this support, Here is how it works: MyRecordMeta.appendDispatch { case Req("create" :: Nil, _, _) => (record) => { println("created") Full(XmlResponse( {record.firstName} {record.lastName} ))

[Lift] Re: Error reporting and early failure in lift ?

2009-06-19 Thread marius d.
Francois, That is a very valid point and there is significant attention in lift development to improve error reporting. In fact David made some really significant steps in this area in 1.1-SNAPSHOT so that if an unexpected error occurs in development mode there is a helpful message rendered on th

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread marius d.
s gives transaction wrapping? Br's, Marius On Jun 18, 6:14 pm, David Pollak wrote: > On Thu, Jun 18, 2009 at 4:23 AM, marius d. wrote: > > > Dave is there a reason why writes are allowed outside a transaction > > boundaries ? > > Writes are not allowed outside of transa

[Lift] Re: BBCode2XHTML

2009-06-18 Thread marius d.
Isn't Lift XSS safe by default ? ... in the sense that it applies the proper escaping. Br's, Marius On Jun 18, 2:06 pm, Viktor Klang wrote: > Hi guys! > > I'm in dire need of an XSS-safe and generally harmless way of allowing > end-users to add some markup to texts. > In the spirit of re-use an

[Lift] Re: Lift and Goat Rodeo

2009-06-18 Thread marius d.
Dave is there a reason why writes are allowed outside a transaction boundaries ? Br's, Marius On Jun 18, 10:19 am, David Pollak wrote: > Folks, > > At the end of the Scala Lift Off, after I finished my third beer, Martin > Odersky came over to me and asked, "so, what's the future of Lift?" > >

[Lift] Re: QA, before merging code

2009-06-17 Thread marius d.
Oliver thanks for raising this flag. I'll try to look later on today one more time at the code as I'm not sure I fully understand the principles of your addition. I remember doing some comments on the topic but haven't looked on your code for a while. Are you willing to have a quick chat on it ?

[Lift] Re: Lift + Javeline

2009-06-17 Thread marius d.
Just 2.1 version ... we'll try that out. It's still a mystery because offline example works but wen putting it in lift fails only on FF. So far there is no indication that Lift is doing anything wrong. Br's, Marius On Jun 17, 4:14 pm, Matt Williams wrote: > Are you using the latest version fro

[Lift] Re: David and Lift @ QCon

2009-06-17 Thread marius d.
Really enjoined ! ... Thank David and congrats ! Br's, Marius On Jun 17, 5:41 pm, Viktor Klang wrote: > For those of us who weren't > there:http://www.infoq.com/interviews/Lift-Scala-David-Pollack > > Awesome interview Dave! > > Cheers, > -- > Viktor Klang > Scala Loudmouth --~--~-~--~

[Lift] Re: Firebug error message for AJAX

2009-06-17 Thread marius d.
insert it? Nope it doesn't insert it automatically ... > > Thanks! > > Chas. > > marius d. wrote: > > Also please see:http://wiki.liftweb.net/index.php/HowTo_use_Lift_with_YUI > > > Marius > > > On Jun 16, 11:58 pm, "marius d." wrote: > >

[Lift] Re: Firebug error message for AJAX

2009-06-16 Thread marius d.
Also please see: http://wiki.liftweb.net/index.php/HowTo_use_Lift_with_YUI Marius On Jun 16, 11:58 pm, "marius d." wrote: > You need one more > > > > Br's, > Marius > > On Jun 16, 11:30 pm, "Charles F. Munat" wrote: > > > I

[Lift] Re: Firebug error message for AJAX

2009-06-16 Thread marius d.
You need one more Br's, Marius On Jun 16, 11:30 pm, "Charles F. Munat" wrote: > I'm getting the following error in Firebug: > > YAHOO.lift is undefined > url = YAHOO.lift.buildURI(addPageName('/...nSuccess(res);}, failure : > onFailure }); > > I have the following scripts: > > type="text/jav

[Lift] Re: Mapper or Record?

2009-06-16 Thread marius d.
On Jun 16, 3:17 pm, Jeppe Nejsum Madsen wrote: > On 16 Jun 2009, marius d. wrote: > > > Lift Record currently is not implemented for DB interaction but it's > > targeted for 1.1 release. > > That probably explains why I couldn't find much when looking through

[Lift] Re: Mapper or Record?

2009-06-16 Thread marius d.
Lift Record currently is not implemented for DB interaction but it's targeted for 1.1 release. I'd say to start development using the Mapper and when Record is ready migrate to the Record. I would expect to be a fairly easy transition from Mapper to Record though. Br's, Marius On Jun 16, 12:16 

[Lift] Re: Lift Jquery autocomplete *** API CHANGE CANDIDATE ***

2009-06-16 Thread marius d.
two things: 1. Hate msysgit 2. Thanks to Jorge for his help in committing the file Marius On Jun 16, 9:41 am, "marius d." wrote: > yes yes yes ... entirely my bad as I missed that out ... > > I'll correct it very soon. > > Marius > > On Jun 16, 3:07 

[Lift] Re: Lift Jquery autocomplete *** API CHANGE CANDIDATE ***

2009-06-15 Thread marius d.
/src/main/ > scala/net/liftweb/example/snippet/Ajax.scala:65: error: value > autocomplete is not a member of object net.liftweb.http.jquery.JqSHtml > [WARNING]          "auto" -> JqSHtml.autocomplete("", buildQuery _, _ > => ())) > > --Bryan > > On Jun

[Lift] Re: Hiring Lift Developers

2009-06-15 Thread marius d.
Now that's a temptation :) Br's, Marius On Jun 15, 8:32 pm, "David LaPalomento" wrote: > Hi all, > My team has recently started a project based around Lift and we're looking at > bringing on some passionate, full-time developers to make that happen.  It's > a pretty ambitious effort and we ex

[Lift] Re: Lift Jquery autocomplete *** API CHANGE CANDIDATE ***

2009-06-15 Thread marius d.
more sense to favour > consistency over backward compatibility at this stage > > On Mon, Jun 8, 2009 at 9:00 AM, marius d. wrote: > > > Other folks, please speak up ! :) ... I will soon migrate this into a > > Lift widget. > > > Br's, > > Marius

[Lift] Re: Lift Shopping Cart?

2009-06-12 Thread marius d.
There is a PayPal module I think. Br's, Marius On Jun 12, 5:08 pm, David Persons wrote: > I am experimenting with Lift / Scala and am thinking about using it > for some projects in the future. Really like it. For a website I need > shopping cart functionality. In last years post 'Making modular

[Lift] Re: JSON Rest API

2009-06-11 Thread marius d.
Just use a JsonResponse instead of XmlRresponse. See definition: object JsonResponse extends HeaderStuff { def apply(json: JsExp): LiftResponse = JsonResponse(json, headers, cookies, 200) } and call it JsonResponse(JsObj(..)) Br's, Marius On Jun 11, 8:25 pm, Makeable wrote: > I have follow

[Lift] Re: Wolfram Alpha integration for Lift

2009-06-11 Thread marius d.
Oh and people that are not Lift committers could potentially join? I'm sure there are lots of talents in Lift community. Br's, Marius On Jun 11, 7:02 pm, Timothy Perrett wrote: > Hey chaps, > > Im going to start work on integration with the wolfram alpha engine > that i've of late become m

[Lift] Re: Wolfram Alpha integration for Lift

2009-06-11 Thread marius d.
Wolfram Alpha is WAY COOL ! I wish I could help but my spare time is problematic. Maybe I could help sporadically? Would you be ok with that? Br's, Marius On Jun 11, 7:02 pm, Timothy Perrett wrote: > Hey chaps, > > Im going to start work on integration with the wolfram alpha engine > that i'v

[Lift] Re: security

2009-06-11 Thread marius d.
On Jun 11, 2:45 am, Oliver Lambert wrote: > On Wed, Jun 10, 2009 at 11:58 PM, David Pollak < > > > > feeder.of.the.be...@gmail.com> wrote: > > > On Tue, Jun 9, 2009 at 11:39 PM, marius d. wrote: > > >> Hi, > > >> For most apps cannonica

[Lift] Re: org.mortbay.util.ajax.Continuation on GAE/J

2009-06-10 Thread marius d.
On Jun 10, 9:14 pm, David Pollak wrote: > On Wed, Jun 10, 2009 at 9:33 AM, marius d. wrote: > > > On Jun 10, 7:27 pm, Alex Boisvert wrote: > > > On Wed, Jun 10, 2009 at 9:15 AM, Atsuhiko Yamanaka < > > > > atsuhiko.yaman...@gmail.com> wrote: > > &

[Lift] Re: org.mortbay.util.ajax.Continuation on GAE/J

2009-06-10 Thread marius d.
On Jun 10, 7:27 pm, Alex Boisvert wrote: > On Wed, Jun 10, 2009 at 9:15 AM, Atsuhiko Yamanaka < > > atsuhiko.yaman...@gmail.com> wrote: > > > Hi, > > > On Thu, Jun 11, 2009 at 12:30 AM, David > > Pollak wrote: > > > Unfortunately, no.  In order to do this, we'd have to have a hard > > dependenc

[Lift] Re: security

2009-06-09 Thread marius d.
Oh and about XSS Lift is safe by default. Marius On Jun 10, 9:39 am, "marius d." wrote: > Hi, > > For most apps cannonicalization is not really necessary as the > character stream for form-url-encoded is UTF-8 by default as Lift uses > UTF-8 by default. Oh and the con

[Lift] Re: security

2009-06-09 Thread marius d.
Hi, For most apps cannonicalization is not really necessary as the character stream for form-url-encoded is UTF-8 by default as Lift uses UTF-8 by default. Oh and the conversion from URL encoding to plain UTF-8 content is really done by container and when we get the params from the request object

[Lift] Re: Great pictures from the Scala Lift Off

2009-06-08 Thread marius d.
Ohhh that's just great ... I wish I could have come. Who knows maybe one day I'll make it. Br's, Marius On Jun 8, 7:53 pm, David Pollak wrote: > Folks, > Ilya not only writes great IDE plugins, he takes good > pictures:http://picasaweb.google.com/ilyas239/Scalaliftoff09# > > Thanks, > > David

[Lift] Re: Attributes in Menu.item not rendered

2009-06-08 Thread marius d.
t works for them? > > Thx > > -- Ewan > > On Jun 8, 4:14 pm, "marius d." wrote: > > > Oh do you use the same name 'helpMenu' for the current loc? a: > > prefixed attributes are added only if loc.name != name. > > > On Jun 8, 1:30 pm, Ewan wrot

[Lift] Re: Attributes in Menu.item not rendered

2009-06-08 Thread marius d.
Oh do you use the same name 'helpMenu' for the current loc? a: prefixed attributes are added only if loc.name != name. On Jun 8, 1:30 pm, Ewan wrote: > None I'm afraid.  I have: > > Help Me! lift:Menu.item> > > which results in: > > Help Me! > > -- E

[Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9

2009-06-08 Thread marius d.
On the apress site: http://apress.com/book/downloadfile/4390 Apress decided (we agreed) that the appendixes will not be included in the first printing run in order to get the book ready for Java One. Br's, Marius On Jun 8, 5:49 pm, Peter Bliznak wrote: > As an loyalist to the cause I already h

[Lift] Re: Google App Engine for Scala!

2009-06-08 Thread marius d.
Out of curiosity have you tried JDO with GAE? Does anyone have a simple example? Br's, Marius On Apr 11, 10:53 am, Atsuhiko Yamanaka wrote: > Hi, > > On Fri, Apr 10, 2009 at 10:03 PM, David Pollak > > wrote: > > Thank you! Thank you! Thank you! > > I'd like to kiss you (but my wife might get u

[Lift] Re: Attributes in Menu.item not rendered

2009-06-08 Thread marius d.
Do you see any behavior change if you put a text value such as: Some tex Br's, Marius On Jun 8, 12:55 am, Ewan wrote: > I'm trying to create a menu using CSS and links that is class="nav"/> which accoring to the doco I should be able to do with > where helpMenu has > been defined in the sit

[Lift] Re: Lift Jquery autocomplete *** API CHANGE CANDIDATE ***

2009-06-08 Thread marius d.
Other folks, please speak up ! :) ... I will soon migrate this into a Lift widget. Br's, Marius On Jun 6, 4:53 pm, David Pollak wrote: > I think I'm using in one place in one project so my api breakage factor is > low.  I'm okay with moving it unless someone else is going to feel real > pain.

[Lift] Re: How to remove leading text in Msgs.error

2009-06-08 Thread marius d.
it - sweet work. For the sake of completeness in this > thread and useful archives, it would probably be most helpful to just > round up with an example :-) > > Cheers, Tim > > On Jun 5, 5:05 pm, "marius d." wrote: > > > Committed. Let me know if that works

[Lift] Re: Snippets and Requests

2009-06-07 Thread marius d.
StatfulSnippet does not actually have session scope. It guarantees that for the same request you get the same snippet instance. If for some reason you still don't want a StatefulSnippet you can put your results in a RequestVar, set the value when you process the form and use it when render the pag

[Lift] Re: How to remove leading text in Msgs.error

2009-06-05 Thread marius d.
Committed. Let me know if that works for you. On Jun 5, 6:31 pm, "marius d." wrote: > Oh right ..that  makes sense. Thanks Derek ! > > On Jun 5, 6:28 pm, Derek Chen-Becker wrote: > > > Well, I meant for a period of time, since we're changing default behavior

[Lift] Re: How to remove leading text in Msgs.error

2009-06-05 Thread marius d.
ut, that would be confusing. Kind > of a deprecation warning, so to speak. > > Derek > > On Fri, Jun 5, 2009 at 8:25 AM, marius d. wrote: > > > Personally I don't think that a debug warning is necessary ... since > > if the node is empty it is very intuitive for

[Lift] Re: How to remove leading text in Msgs.error

2009-06-05 Thread marius d.
ly sets it to empty then we should honor that, > although I wonder if we should emit a debug-level warning. > > Derek > > On Fri, Jun 5, 2009 at 7:26 AM, Bryan. wrote: > > > +1 on removing the default text. > > > --Bryan > > > On Jun 5, 6:46 am, "mari

[Lift] Re: How to remove leading text in Msgs.error

2009-06-05 Thread marius d.
The reason for that is that if the node text is empty (and yes we explicitly trim it) we render the default text. To be honest I'm not a fan of this approach either. I think it should be ok to just not render a default text. Does anyone have any objections? If not I could change this real quick, i

[Lift] Re: Future of the Lift wiki

2009-06-03 Thread marius d.
willing to help. > > I really like the format of the django > documentation:http://docs.djangoproject.com/en/dev/.  Any other > recommendations out > there? > > Thanks, > Bryan > > On Jun 2, 6:57 am, Kevin Wright wrote: > > > Mark me down :) > > >

[Lift] Re: Problem with Menu.builder & li_path/li_item

2009-06-03 Thread marius d.
attribute with the same name but different prefixes should be ok as long as the prefixes are bound to namespace URL's. Br's, Marius On Jun 3, 12:24 am, Derek Chen-Becker wrote: > I think that this has been discussed on the list before. It's definitely an > issue with having the same attribute n

[Lift] Re: Ideas for an ordered list in a form

2009-06-02 Thread marius d.
Cool ! On Jun 3, 12:18 am, Derek Chen-Becker wrote: > Thanks for sending that. It looks like UI could also provide some drag and > drop, so the asm select plugin is looking very nice :). Now I just need to > get approval on changing multiSelect to use an LFuncHolder and I'm golden :) > > Derek >

[Lift] Re: Future of the Lift wiki

2009-06-02 Thread marius d.
I believe Debbie was asking the community for a few folks willing to "garden" the wiki. Anyone interested? Br's, Marius On Jun 2, 11:07 am, Timothy Perrett wrote: > Guys, > > I know you chaps are quite new on this lift, so just to add a bit of > background - we've been here many, many times bef

[Lift] Re: Prevent direct access to templates

2009-06-01 Thread marius d.
What do you have in your SiteMap? .. only login or both login and login_ru. Normally you should only have login and login_ru would be picked up automatically by lift depending on what Locale the LiftRules.localeCalculator returns. Br's, Marius On Jun 1, 9:52 am, feelgood wrote: > In my webapp

[Lift] Re: Record and Field

2009-06-01 Thread marius d.
what Java version are you using? On Jun 1, 1:58 pm, Oliver Lambert wrote: > When I try to run createRecord on a net.liftweb.record.Record, I get > a java.lang.ExceptionInInitializerError. > Any ideas what I might be doing wrong? > > cheers > Oliver --~--~-~--~~~---~--

[Lift] Re: JavaScript interface to Comet

2009-06-01 Thread marius d.
Sorry hit send too soon ... continuation below On Jun 1, 10:42 am, "marius d." wrote: > On Jun 1, 2:59 am, Xavi Ramirez wrote: > > > > > Thanks for pointing me into the right direction.  I've created a > > simple example (see attachment).  In my example,

[Lift] Re: JavaScript interface to Comet

2009-06-01 Thread marius d.
gestions. > > Thanks, > Xavi > > P.S. Random question: Is there a CometActor instance for every browser > viewing a comet stream? > > P.P.S.S.  I feel there's some utility in a JsCometActor.  If you all > are amenable, I'd love to write up a proposal and maybe even lend

[Lift] Re: lift views

2009-05-31 Thread marius d.
Agreed with Tim. I also don't see any value. And the point of viewing the template statically is not an argument to me because the template is still incomplete for a proper rendering, xhtml browser would probably complain about prefixes it doesn't know about etc. Br's, Marius On May 31, 5:32 am

[Lift] Re: Ideas for an ordered list in a form

2009-05-31 Thread marius d.
A couple of years ago I did the same thing with drag and drop ... but I wrote the JS code, and for some reason I didn't really look for an existent solution :) ... I think I still have the damn thing and if you want to I could send it to you. On May 31, 3:01 am, Derek Chen-Becker wrote: > I have

[Lift] Re: Showing a Box or Redirecting?

2009-05-31 Thread marius d.
class SomeSnippet { val foo: Box[Foo] = tryo(session1.get(S.param("id").getOrElse (""))) // But I think with this code you'll always get a Full Box due to getOrElse ? def render(func: foo => NodeSeq) = foo.map(l => func(l)) openOr (your code in case foo is empty and potentially return NodeSe

[Lift] Re: JavaScript interface to Comet

2009-05-31 Thread marius d.
entially, > I want to drag/drop a widget and have my movements reflected on other > user's browsers. > > You mentioned that a CometActor can cause JsExp to be executed.  This > might be what I'm looking for.  How does that work? > > Thanks, > Xavi > > On

[Lift] Re: Lift does not display templates as described in the book.

2009-05-30 Thread marius d.
certainly does not fall into this category. > > I am grateful for your response though and will take time to learn > more about what the sitemap means in Lift. Just ask concrete questions, provide as many details as you can about your problem and you will get answers. > > - Sean Reque >

[Lift] Re: JavaScript interface to Comet

2009-05-30 Thread marius d.
Lift generates the JavaScript for Comet so you essentially don't have to worry about it. From a CometActor you just provide the markup that you need to render asynchronously or just the JsExp to be executed by browser. However could you please provide an overview of what you're trying to achieve?

[Lift] Re: Lift does not display templates as described in the book.

2009-05-30 Thread marius d.
To access a page you need to add it in the SiteMap. I assume you are a bit confused about the relation between a Menu and a page. I mean after all maybe for your site you don't really need a menu but in Lift a Menu is much more then a visual representation of a way to navigate to your pages. It sp

[Lift] Re: Dependent fields in form

2009-05-29 Thread marius d.
That should be quite easy. See http://demo.liftweb.net/ajax-form Marius On May 29, 9:46 pm, feelgood wrote: > Is it real to create form with dependent field? Suppose whe have two > select boxes: for the country and for the city. It would be quite > good, if country selection trigger updating o

[Lift] Re: How important is AJAX to you?

2009-05-29 Thread marius d.
You can use Lift perfectly fine without Ajax, javaScript or even cookies. If you're turning off cookies from the container relative paths for links, forms etc. will be provided with JSESSIONID quantity for you so you don't have to do anything. This is otherwise known as URL rewriting. So you can s

[Lift] Re: Record with the new bind-immutable

2009-05-29 Thread marius d.
n the MetaRecord/Record (or wherever they belong) and have a single coherent model. Please also take a deeper look on the existent code, in MetaRecord, Record, Fields implementations Not DB Fields) and see what goodies can be added from your new code. And integrating client side validations (as Dave

[Lift] Re: JTA

2009-05-29 Thread marius d.
I think that would be really good. But I'd rather not use annotations. Personally I find closures approach a much better fit here. withTxRequired { ... // do transational stuff } Br's, Marius On May 29, 11:55 am, Jonas Bonér wrote: > Hi guys. > > I have been talking with David Pollak the r

[Lift] Re: Record with the new bind-immutable

2009-05-29 Thread marius d.
I see ... still the question remains. What are we going to do with two validators? I'd like to understand the principles of your addition (... I know I should have dig into the code but I don't have much time now). I'd like to understand as I said previously if we have redundant validators or com

[Lift] Re: ** Significant commits **

2009-05-28 Thread marius d.
I asked about the same thing on a different thread :). I think this is not related with the commit above but with the latest commit Dave made :) Br's, Marius On May 28, 11:58 am, Timothy Perrett wrote: > Yup, thats now fixed, but lift is still broken. When doing a build I > get: > > [INFO] Com

[Lift] Re: What version of Lift is that?

2009-05-28 Thread marius d.
Dave is there a reason why you removed the the deprecation log call for snippet A? ... I thought we discussed on a different thread that it should be deprecated. Also I can't seem to find VersionInfo snippet. Did you add it ? Br's, Marius On May 28, 9:49 am, "marius d."

[Lift] Re: What version of Lift is that?

2009-05-27 Thread marius d.
SUPER NICE ! On May 28, 3:11 am, David Pollak wrote: > Folks, > > I've just committed up a little bit of niceness to Lift.  You can do the > following: > Lift version built on > > These are snippets that recall the Lift version number and Lift build date. > This information can be found on Lif

[Lift] Re: Serve a static xml file

2009-05-27 Thread marius d.
Have you tried to put that URL in the LiftRules.liftRequest ? .. you can decide there if that one will be served by lift or not. Br's, Marius On May 27, 3:23 pm, Timothy Perrett wrote: > Hey guys, > > Is there a reason that I can not just place an xml file in webapp and > have it served by jett

[Lift] Re: Session usage in Lift

2009-05-27 Thread marius d.
On May 27, 9:17 am, Kristinn wrote: > Yes, I understand your confusion, however sometimes people make > designs that don't make much sense to others on first look (like > "using sessions for rendering all html"). But there are often good > reasons for these decisions (admittedly often these deci

[Lift] Re: How to disable jQuery from lift application?

2009-05-26 Thread marius d.
LiftRules.jsArtifacts = // your own implementation of JSArtifacts trait If you just want to disable LiftGC just set: LiftRules.enableLiftGC = false // and the script above will not be generated. Disabling JQuery for a given page hmmm you also have LiftRules.autoIncludeAjax and LiftRules.au

[Lift] Re: Sticking the little toe in the LiftActor water

2009-05-26 Thread marius d.
So we essentially use LiftActors for ContinuationActors but still keep Scala Actors for CometActors. I'm more comfortable with this approach not from technical reasoning but from adoption/political. Br's, Marius On May 26, 9:09 pm, David Pollak wrote: > Folks, > > I've just committed a change t

[Lift] Re: lift-tag discussion

2009-05-26 Thread marius d.
On May 26, 2:18 pm, Willis Blackburn wrote: > > is this too bad? > > > > >       > >       > > > > No, it's not bad.  But allowing non-lift prefixes would neatly solve > your problem by changing the definition of the "lift" prefix from > "this is a snippet" to "this is a Lift tag, don't worry

[Lift] Re: Giving an Actor access to S

2009-05-26 Thread marius d.
s the data.  I would like to store > these results in a SessionVar, but I am currently not able to. > > These results are short lived and should expire at the end of a user's > session. > > Thanks, > Bryan > > On May 26, 1:42 am, "marius d." wrote: > >

[Lift] Re: lift-tag discussion

2009-05-26 Thread marius d.
iftRules but I really don't see the value added by this. > > W > > On May 25, 6:31 am, "marius d." wrote: > > > No performance implications especially since built-in snippets are > > objects and invoked non reflectively. It's just that the way these

[Lift] Re: lift-tag discussion

2009-05-25 Thread marius d.
Ok I have a first draft implementation for #1 above and I'll check it in soon in wip-marius-dom-optimizations branch. I need to run more tests on it before putting it into master. Br's, Marius On May 25, 1:31 pm, "marius d." wrote: > No performance implications es

[Lift] Re: Giving an Actor access to S

2009-05-25 Thread marius d.
ays that CometActor's "faked" S so its usage > was fairly transparent of course, thats specific to CometActors > and wont wash with a normal scala.actor.Actor etc > > Cheers, Tim > > On May 25, 10:01 pm, "marius d." wrote: > > > CometActors are async

[Lift] Re: Giving an Actor access to S

2009-05-25 Thread marius d.
CometActors are asynchronous components that live beyond the scope of a given request. From a CometActor you can have access to LiftSession or SessionVars meaning that you could potentially "store" the "last- seen" from the last request host name in a SessionVar an then access it anytime from your

[Lift] Re: lift-tag discussion

2009-05-25 Thread marius d.
No performance implications especially since built-in snippets are objects and invoked non reflectively. It's just that the way these two artifacts are processed right now it is not by the means of snippets but buried deeply into surround snippet processing. Thanks guys for your thoughts. Hopeful

[Lift] Re: The new LiftActor code is live

2009-05-24 Thread marius d.
maintain it and potentially evolve it. P.S. This will probably raise some questions from folks that want to adopt Lift. Br's, Marius On May 24, 8:56 pm, David Pollak wrote: > On Sun, May 24, 2009 at 1:46 AM, marius d. wrote: > > > I'm wondering maybe it would be good

[Lift] Re: The new LiftActor code is live

2009-05-24 Thread marius d.
I'm wondering maybe it would be good to abstract the actors in Lift such that when Scala Actors are in a better shape we could just switch the implementation back to Scala Actors with very little Lift code changes. Br's, Marius On May 24, 2:26 am, David Pollak wrote: > Folks, > > The new LiftA

[Lift] Re: Namespace prefix error.

2009-05-23 Thread marius d.
Do you see any errors in the server console/logs? ... Do you have the XHTML markup that browser gets? Br's, Marius On May 24, 4:40 am, KaniniPazham wrote: > I guess my previous post didn't reach. > > I have tried enough to my lift knowledge, but need someone's help. > > error on line 81 at colum

[Lift] Re: Welcome Alexander Kiok, you're the 1,000th member of the Lift community

2009-05-22 Thread marius d.
WOOO H ! On May 22, 7:56 am, David Pollak wrote: > Folks, > > It's been a very good week in Lift and Scala-land: > >    - The Lift community has grown to 1,000 members.  That's a huge milestone >    and an indication that Lift and Scala have achieved an important level of >    popularity. >

[Lift] Re: Cron style job support?

2009-05-21 Thread marius d.
Or use Scala actors + ActorPing from lift. Marius On May 21, 12:54 am, Timothy Perrett wrote: > Checkout the lift-machine module... should do what you want. Right now   > it's tied to mapper, so if your not using that you'll have to look   > elsewhere in normal JEE land :-) > > Cheers, Tim > >

[Lift] Re: Problems with the MenuWidget

2009-05-20 Thread marius d.
    >     >   > > Actually, I cannot see what am I doing wrong, that was why I was > asking if there was a "step-by-step" tutorial to the menu widget only. > In the Lift-book group, I've read the Exploring Lift tutorial and in > the widgets section, the

[Lift] Re: Problems with the MenuWidget

2009-05-20 Thread marius d.
; > > > > > > > It's basically equal with the example, just adapted to "/src/main" > instead of "src/test" > Do you think it's probably any error in my pom? Or with the reference > in the css and js files (I've putted them in

[Lift] Re: Problems with the MenuWidget

2009-05-20 Thread marius d.
Could you please post your code ? ... Are you initializing the widget in your boot ? Br's, Marius On May 20, 7:52 pm, Gonzalo N wrote: > Hi, > > I've recently started using Lift in a project and probably my > difficulty is basic, but I've tried the Widgets that are uploaded in > the github web

[Lift] Re: how to serve html fragments

2009-05-20 Thread marius d.
As I understood you want to make an Ajax request and serve back a Document Fragment. If so please also take a look at Jx stuff. We discuss Jx classes in a fairly amount of details in the lift book. Br's, Marius On May 20, 9:32 am, fatu wrote: > Timothy, > > thanks for the links, I found them us

[Lift] Re: Scala Sass Compiler

2009-05-19 Thread marius d.
I'm not quite a SASS fan but this looks pretty cool. If there is a lot of buy in for SASS out there maybe in time it will make sense for Lift to provide SASS support "out of the box" Br's, Marius On May 19, 6:35 am, David Pollak wrote: > Very nifty stuff. > > > > On Mon, May 18, 2009 at 8:09 PM

[Lift] Re: Lift vs JSF?

2009-05-18 Thread marius d.
LOL ! On May 19, 7:45 am, Meredith Gregory wrote: > Marius, > > No, seriously, tell us how you really feel. ;-) > > Best wishes, > > --greg > > > > On Mon, May 18, 2009 at 12:22 PM, marius d. wrote: > > > I've been working on JSF projects in th

<    1   2   3   4   5   6   >