[Lift] Re: Using frameset

2010-01-20 Thread Chris Thomet
it's working now. i have forgotten to add xmlns="http://www.w3.org/ 1999/xhtml" in the html element On Jan 20, 5:38 pm, Chris Thomet wrote: > Thank you Tim! The doctype is now ok. > > Unfortunately, my frameset is still not working. > By using the code below,

[Lift] Re: Using frameset

2010-01-20 Thread Chris Thomet
ot; /> http://www.google.ch"; name="f2" /> fs.html processed by lift Foo http://www.google.ch";> http://www.google.ch";> On Jan 20, 3:57 pm, Timothy Perrett wrote: > http://blog.getintheloop.eu/2008/10/1/explictially-se

[Lift] Using frameset

2010-01-20 Thread Chris Thomet
Hi For one page on my website I need frames. How can I change from doctype 'transitional' to 'frameset'? Thank you! Chris -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@go

[Lift] liftweb.net is down

2009-12-30 Thread Chris
Hey guys, any idea why liftweb.net is down? Best regards Chris -- 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 this group, send email to liftwe

Re: [Lift] Re: Sitemap - rendering "title" attributes for the links

2009-12-24 Thread Chris Reeves
.Link.createLink and then move on to net.liftweb.sitemap.Loc.createLink if that doesn't work. I suppose ideally you'd end up with something like Menu(Loc("SomeLink", MyLink("path" :: "to" :: "link" :: Nil, "title goes here"), "Some Link&

Re: [Lift] Need for lift application to coexist with spring in the same webapp

2009-11-25 Thread Chris Lewis
Don't forget that if the lift filter is inspecting the request before your servlet, you'll need to tell lift to pass it on. In boot: LiftRules.passNotFoundToChain = true chris sunanda wrote: > Hi David, > > Thank for all the help so far. > > My lift application ne

[Lift] Re: Autocomplete: resources can't be found

2009-11-24 Thread Chris Thomet
Thanks Marius! I missed the initialization. You saved my day...now I can leave my office without having to think about this problem ;) Chris On Nov 24, 5:50 pm, Marius wrote: > /classpath/autocomplete/jquery.autocomplete.js > > /classpath/autocomplete/jquery.autocomplete.cs

[Lift] Autocomplete: resources can't be found

2009-11-24 Thread Chris Thomet
ing something? I am using 1.1-M7 (upgraded from 1.0). Thank you! Chris -- 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 this group, send email to liftweb+uns

Re: [Lift] Okay... part of the slow problem is javax.script

2009-11-23 Thread Chris Lewis
Does mvn dependency:tree help? chris David Pollak wrote: > Folks, > > I've narrowed down part of the slowness problem. There's a reference to > javax.script:script-js that's never satisfied. > > How can I track down what is including this reference

Re: [Lift] labels for inputs

2009-11-23 Thread Chris Lewis
ttributes from the template as is. > This is in addition to being able to pass attributes to many SHtml methods; > being able to add attributes to the returned NodeSeq; binding on attributes; > and attribute snippets. > > ----- > Chris Lewis wrote: >

[Lift] labels for inputs

2009-11-22 Thread Chris Lewis
doing something wrong? thanks! chris -- 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 this group, send email to liftweb+unsubscr...@googlegroups.com. For more opt

Re: [Lift] Mapper vs. Record vs. JPA

2009-11-22 Thread Chris Lewis
ired, and so you allow null at the database level. In a JPA impl you allow this to be null, and now everywhere you reference middleName, you absolutely must test for null. In scala you use the Option monad, so middleName is no longer of type String but Option[String]. NPEs are now effectivel

Re: [Lift] JPA and eager fetch

2009-11-22 Thread Chris Lewis
No, CascadeType.ALL should work as expected. By chance does replacing the use of Model.persist with Model.mergeAndFlush work as you'd expected? Warren Strange wrote: > OK, I think I fixed my problem > > I did not call Model.persist on my linked child object. I thought the > cascade = ALL would t

Re: [Lift] opening new window from snippet.

2009-11-22 Thread Chris Lewis
the client, which tells it to do a pop up. I'm not sure why you'd do this, but that's how you can. sincerely, chris jack wrote: > I want to put a link in a snippet that opens up a web page in a new > browser window. What is the best way to do this? > > -- > > You

Re: [Lift] Three years of a Scala lust affair, the blog post

2009-11-20 Thread Chris Lewis
passed what it had to offer. I was sorely wrong. Thanks again, Chris Lewis David Pollak wrote: > Folks, > > I've been doing Scala for three years as of today. I wrote a blog post > about it: > http://blog.lostlake.org/index.php?/archives/97-Happy-3rd-Anniversay.html >

Re: [Lift] A sensible AJAX approach

2009-11-19 Thread Chris Lewis
y good way to handle the common-edit-dialog problem, and certainly the cleanest I've seen yet. I wonder though, is it intentional that bind points work when not explicitly wrapped in a snippet call tag? thanks! chris Jeppe Nejsum Madsen wrote: > Chris Lewis writes: > >> Classic use

[Lift] A sensible AJAX approach

2009-11-19 Thread Chris Lewis
n. I know I can just inline the XML with bind points as if it were in a form, but that just feels strange. Would it make more sense to use an external template, similar to a rails partial? Is there a template loading facility for this? Thanks for any and all input. chris -- You received this

Re: [Lift] scala eclipse plugin with lift

2009-11-17 Thread Chris Lewis
I can't say I enjoy eclipse for scala code, but did you make sure your project has the Scala Nature? Oscar Picasso wrote: > Hi, > > I did import a new created lift project in a eclipse as a maven project. > The project is recognized as a scala project but there is neither syntax > syntax highli

[Lift] Re: Lift & Scala style.

2009-11-16 Thread Chris Lewis
e.pdf sincerely, chris Kris Nuttycombe wrote: > Hi, all, > > This is just a starting point for debate with a hope of eventual > consensus on something that's ultimately somewhat trivial matter. > Since style is currently a topic of discussion on the main scala-users > list,

[Lift] PCDataXmlParser

2009-11-15 Thread chris . huisman
pcDatabase(UpcDatabaseFeed.scala:16) at ca.ctrlspace.loveItHateItWeb.xml.UpcDatabaseFeed$.(UpcDatabaseFeed.scala:19) at ca.ctrlspace.loveItHateItWeb.xml.UpcDatabaseFeed$.(UpcDatabaseFeed.scala) ... 1 more [/exception] What is the proper way to parse non strict html? I thought PCDataXMLParser allowed for non strict xml a

[Lift] JS event source in a server side handler

2009-11-15 Thread Chris Lewis
Hello list, Often in an AJAX handler I need to update something on the client side; usually a UI control that initiated the handler. The only way I know to handle this is to generate a DOM id in the snippet during a rendering call (like a bind() call in a flatMap over a dataset), look for that

[Lift] Re: JPADemo 1.1-SNAPSHOT: id with auto-increment (MySQL or H2)

2009-11-03 Thread Chris Lewis
wrote: > Yes I tried Chris's suggestion, and JPA does in fact work with MySQL 5.0 > with auto-increment ID columns even with columns named something other > than 'id' using @Column(val name="PROJECT_TYPE_ID") for example. > > Thanks Chris! > > I chan

[Lift] Re: JPADemo 1.1-SNAPSHOT: id with auto-increment (MySQL or H2)

2009-11-02 Thread Chris Lewis
ur or more to figure out. chris Troy Noble wrote: > I'm not even sure this is a Lift issue, could be Hibernate or Scala... > but here goes... > > I get one test failure in TestJPAWeb.scala when I use JPA with MySQL > (also confirmed with H2) with auto-increment id column. &g

[Lift] Re: catch a URL

2009-10-23 Thread Chris Lewis
Great suggestions - thanks guys! Jeppe Nejsum Madsen wrote: > Timothy Perrett writes: > >> Ah. In that case, does this help: >> >> Menu(Loc("Some", List("some","page"), "Some", >>EarlyResponse(() => { >> // do some response here, >> // return Empty if you dont wan

[Lift] Re: A Critique On Lift

2009-10-23 Thread Chris Lewis
jlist9 wrote: > It's often hard to describe some (I'd say most) of the Scala syntax > if you want to search for an answer online. I can't relate with that. I've been coding scala for 3-4 months, and I've never had any problem finding method definitions. Most of this probably had to do with th

[Lift] Re: A Critique On Lift

2009-10-23 Thread Chris Lewis
My head just exploded. Twice. ngocdaothanh wrote: > Because Lift's ad is so good. *boom* For example: > > "Lift is the only new framework in the last four years to offer fresh > and innovative approaches to web development. It's not just some > incremental improvements over the status quo, i

[Lift] Re: catch a URL

2009-10-23 Thread Chris Lewis
It doesn't seem to, b/c Lift doesn't appear to fire the rewriters on URLs mapped in SiteMap. I'm not married to the idea of rewrites to solve this problem, I just need a non-snippet way to solve it. -chris Timothy Perrett wrote: > Chris, > > SiteMap deals with what pa

[Lift] Re: catch a URL

2009-10-23 Thread Chris Lewis
hes a page in the SiteMap? Jeppe Nejsum Madsen wrote: > Chris Lewis writes: > >> Hi list, >> >> I'm working on an appengine app, and need to store some user >> information. I authenticate the user with their google account, and I >> need to create

[Lift] Re: A Critique On Lift

2009-10-23 Thread Chris Lewis
bob wrote: > i believe that one of the best ways to learn a new programming > language is to read software written in it > > when reading Scala code, I rarely say "i don't understand how that > works" and when I do, there's usually a good explanation of it > somewhere on the web. > > usually I

[Lift] Re: A Critique On Lift

2009-10-23 Thread Chris Lewis
I *think* you're referring to a thread I started some time ago: http://www.nabble.com/functional-newbie,-domain-entities-td22957479.html It turned out to be a lively discussion. On a related note, Jonas Boner gisted this in August: http://gist.github.com/173921 It's not full code, but it gi

[Lift] catch a URL

2009-10-22 Thread Chris Lewis
Hi list, I'm working on an appengine app, and need to store some user information. I authenticate the user with their google account, and I need to create their "local" entity only if it's their first time logging in. When a user logs in via google, they are redirected back to your app, to a

[Lift] Re: edit: What happened to JsonCmd?

2009-10-19 Thread Chris
Done! On Oct 19, 9:09 am, David Pollak wrote: > On Mon, Oct 19, 2009 at 9:04 AM, Chris wrote: > > > So I'm all fixed now wrt JsonCmd's new location.  I noticed that this > > change isn't documented on the github wiki.  Is there a process for > > doing tha

[Lift] Re: edit: What happened to JsonCmd?

2009-10-19 Thread Chris
sParams.class, etc). > > -Ross > > On Oct 15, 2009, at 10:46 PM, Chris wrote: > > > > > Well, I pulled all the files from > > >http://scala-tools.org/repo-releases/net/liftweb/lift-util/1.1-M6/ > > > and I do see Misc.scala in lift-util-1.1-M6-sources.

[Lift] Re: edit: What happened to JsonCmd?

2009-10-15 Thread Chris
ere's not even a vague 1 : 1 correlation between source file names   > and class file names. > > So,JsonCmdis in Misc.scala, but it will be emitted asJsonCmd.class   > (along with HasParams.class, etc). > > -Ross > > On Oct 15, 2009, at 10:46 PM, Chris wrote: >

[Lift] Re: edit: What happened to JsonCmd?

2009-10-15 Thread Chris
On Oct 15, 7:55 am, David Pollak wrote: > Ying-Kwang's got it right. > > > > On Wed, Oct 14, 2009 at 9:15 PM, Chris wrote: > > > I get > > > error: Misc is not a member of net.liftweb.util > > > when I try that. I don't see the Misc class/object

[Lift] Re: edit: What happened to JsonCmd?

2009-10-14 Thread Chris
I get error: Misc is not a member of net.liftweb.util when I try that. I don't see the Misc class/object in the API docs either. Is there anything else I should try? Thanks On Oct 14, 7:26 pm, David Pollak wrote: > On Wed, Oct 14, 2009 at 7:09 PM, Chris wrote: > > > Ack..

[Lift] edit: What happened to JsonCmd?

2009-10-14 Thread Chris
Ack...that should have been case JsonCmd("processForm", _, p: Map[String, String], _) => On Oct 14, 6:53 pm, Chris wrote: > Hi all, > > I'm trying to get 1.1-M6 working, and I am unable to compile as > JsonCmd seems to have disappeared.  It isn't in the sc

[Lift] What happened to JsonCmd?

2009-10-14 Thread Chris
object json extends JsonHandler { def apply(in: Any): JsCmd = { in match { case JsonCall("processForm", _, p: Map[String, String], _) => { /* etc */ How do I fix this? Thanks Chris --~--~-~--~~~---~--~~ You received this m

[Lift] Re: Followup: Persisting a mapper with join tables in 1.0.2

2009-10-14 Thread Chris
Excellent-thanks. Is this URL published somewhere? I didn't see it on the Lift web page. On Oct 14, 7:58 am, harryh wrote: > > There is no online API docs for 1.1-M6 > > http://scala-tools.org/mvnsites/liftweb-1.1-M6/lift-webkit/scaladocs/... --~--~-~--~~~---~--~--

[Lift] Followup: Persisting a mapper with join tables in 1.0.2

2009-10-13 Thread Chris
1- M6; the 1.1-M1 docs I could find have JsonCmd in the same package it was in 1.0.2. Is there a fix planned for 1.0.2 or a documentation link for 1.1? Thanks Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

[Lift] Re: Spring Security

2009-10-08 Thread Chris Herron
combination. Chris. On Oct 8, 2009, at 1:43 PM, David Pollak wrote: > I think you are missing my point by a mile. > > With integrated access control, you will always know what the access > control rules are for a given resource. > > With external access control, yo

[Lift] Re: Spring Security

2009-10-08 Thread Chris Herron
o satisfy your correctness requirement. Chris. On Oct 8, 12:01 pm, David Pollak wrote: > Chris, > I understand your argument.  My argument goes like: > > (Session, Resource) => Boolean is the ultimate flexibility.  That is what > Lift provides. > > You can link in the calculation o

[Lift] Re: Spring Security

2009-10-08 Thread Chris Herron
n't think its possible to build a domain-neutral, type-safe security model. * Lift doesn't currently support all security requirements. It might in the future. What to do in the meantime? * IMHO we should not be discouraging people from integrating trusted external security frameworks. Its

[Lift] Re: [SOLVED] Image submit buttons

2009-10-06 Thread Chris
I understand this is solved, would you care to shine some light on making an image a button with lift? either making a button with the image as an icon, or making an image that is made form my snippet. Thanks On Sep 24, 3:52 pm, Indrajit Raychaudhuri wrote: > One more trick learned at the cos

[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread Chris Lewis
Maven stores artifacts in your local repository, which by default is in ~/.m2/repository. jli...@gmail.com wrote: > Hello Indrajit and those who replied, thanks for all your help. > Finally I got it working. It probably had something to do with > the proxy in my work environment. > > BTW, do yo

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

2009-09-18 Thread Chris Lewis
It has nothing to do with lift, but the servlet container. "jsessionid" is a specified standard, and appending it I *think* is part of the mandate when implementing the servlet api. That is to say, the automatic appending will probably occur on any servlet container. Google around and you'll f

[Lift] Re: CMS for Lift?

2009-09-17 Thread Chris Lewis
javax.script glenn wrote: > I think the trick to a really vibrant CMS is the ability to create > plugins - modules in > Lift that can be dynamically installed. I'm not sure how to affect > this except through > OSGi. > > On Aug 19, 8:55 am, TylerWeir wrote: >> Wonderful! >> >> On Aug 19, 11:03

[Lift] Re: JPA with more than one front end (Maven! sigh...)

2009-09-17 Thread Chris Lewis
Charles F. Munat wrote: > It's not the AS, it's the souped-up Tomcat (JBoss Web). All their > examples are WARs. But sure, send an EAR along, Mr. Van Gogh. nice. > > Chas. > > Derek Chen-Becker wrote: >> Also, if you're loading this up in JBoss, it might make more sense to >> bundle the ar

[Lift] Re: Dependency Injection in Lift

2009-09-03 Thread Chris Shorrock
Let me prefix this by saying this has been a brilliant conversation with some obviously smart people and has been enjoyable to follow over the past little bit. I'll argue (briefly as possible, although I'm notoriously wordy) that one of the biggest deltas between the two sides of the conversation i

[Lift] Re: Dependency Injection in Lift

2009-09-02 Thread Chris Lewis
Timothy Perrett wrote: > Chris, > > I read your comments with interest - just to clarify, are you against > changing code / would prefer a configuration file? I sort of got that > vibe from some of your posts... Personally, im not down with > configuration files and prefer co

[Lift] Re: Dependency Injection in Lift

2009-09-02 Thread Chris Lewis
Jeppe Nejsum Madsen wrote: > Chris Lewis writes: > >> Take a payment service example. I start off with PayPal and some >> months later I switch my processor to CyberSource. I don't want to tie >> the snippet to a specific processor, so my mind, transposing jav

[Lift] Re: Dependency Injection in Lift

2009-09-01 Thread Chris Lewis
tenance headache - I feel like I'm missing your point here. I get the answer to "mocking" lift internals, but hot-swapping service implementations without incurring a maintenance hit is still unclear. Thanks again! sincerely, chris David Pollak wrote: > >

[Lift] Re: Dependency Injection in Lift

2009-09-01 Thread Chris Lewis
your work and continued engagement. sincerely, chris Jeppe Nejsum Madsen wrote: > David Pollak writes: > >> Chris, >> >> I agree with Marius' comments. By using Scala's functions and partial >> functions, I have not found any need for Dependency Injection

[Lift] Re: authentication and access control

2009-08-31 Thread Chris Lewis
r. Maybe that's too dirty, but I'm just thinking of possibilities. thanks again, chris David Pollak wrote: > > > On Sun, Aug 30, 2009 at 8:21 AM, Chris Lewis <mailto:burningodzi...@gmail.com>> wrote: > > > Thanks David, > > That does hel

[Lift] Re: Dependency Injection in Lift

2009-08-30 Thread Chris Lewis
al execution I'm not sure where you can plug something in. I'd still love to hear more thoughts, and if this method could be at all usable. sincerely, chris Jeppe Nejsum Madsen wrote: > Chris Lewis writes: > >> I am specifically talking about decoupling my web logic, ie,

[Lift] Re: Dependency Injection in Lift

2009-08-30 Thread Chris Lewis
ce layer, but what is missing is how to apply that to snippets. Yes, I could abstract the layer however I want, but my snippets we still be required to get at the layer by calling it directly, instead of having it provided. Can you share some input on that part? Thanks for the discussion

[Lift] Dependency Injection in Lift

2009-08-30 Thread Chris Lewis
t are the thoughts of the lift-power users? Is there a way to get this in lift, or would you say that I am doing it wrong? sincerely, chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. T

[Lift] Re: authentication and access control

2009-08-30 Thread Chris Lewis
which ultimately stores keyed objects on the session, right? Thanks again for your dedication and commitment to the lift community. chris David Pollak wrote: > > > On Thu, Aug 27, 2009 at 6:42 PM, Chris Lewis <mailto:burningodzi...@gmail.com>> wrote: > > > Lift

[Lift] Re: authentication and access control

2009-08-28 Thread Chris Lewis
having an application component manage access control, as opposed to http auth. On another note, are you using lift 1.1-M4? I used the jpa basic archetype last night and the web module is broken (mainly imports in Boot). Thanks again for your input! Timothy Perrett wrote: > Chris, > > Are

[Lift] authentication and access control

2009-08-27 Thread Chris Lewis
I haven't dissected how lift implements it with Mapper, but wanted to ask the group first. Thanks! chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to

[Lift] Re: Looking for web hosting company for Lift

2009-08-24 Thread Chris Richardson
Checkout SpringSource Cloud Foundry: www.cloudfoundry.com On Mon, Aug 24, 2009 at 9:44 AM, jack wrote: > > I am looking for a web hosting company for my Lift project. I figure > anyone who does Java would work. Is this true? Can anyone recommend a > company? > > > > -- Build better software

[Lift] Re: Dynamic URL creation

2009-08-13 Thread Chris Reeves
Try bind("c", xhtml, "next" -> next, "back" -> back ) I ran into something similar earlier today. Thanks, Chris On Thu, Aug 13, 2009 at 6:21 PM, pabraham wrote: > > Hello there, > > I'm stumped! I've got snippet code that

[Lift] Re: ProtoUser and securing pages

2009-07-16 Thread Chris Lewis
I did use an archetype, but it was a 1.0 and must have been the bare-bones (there were no models generated). David Pollak wrote: > > > On Wed, Jul 15, 2009 at 3:17 AM, Chris Lewis <mailto:burningodzi...@gmail.com>> wrote: > > > I didn't, but I'd b

[Lift] Re: ProtoUser and securing pages

2009-07-14 Thread Chris Lewis
, chris David Pollak wrote: > > > On Tue, Jul 14, 2009 at 3:32 PM, Chris Lewis <mailto:burningodzi...@gmail.com>> wrote: > > > I guess the first question I should have asked is how do I go about > logging a user in. I have my user model, which now mixes

[Lift] Re: ProtoUser and securing pages

2009-07-14 Thread Chris Lewis
l content. And because they're XML docs, FF is rendering XML. I'm only assuming those templates surround their content at "content" (as they do in the 1_1 example). I don't think this is a 1.0 issue, but it's possible. thanks chris David Pollak wrote: > &

[Lift] Re: ProtoUser and securing pages

2009-07-14 Thread Chris Lewis
to start when I get back into the app later this evening, but I was wondering if there are any example apps that use this? I didnt see any in the current source, and, assuming it makes a difference, I'm using 1.0. thanks again, chris David Pollak wrote: > > > On Tue, Jul 14,

[Lift] Re: ProtoUser and securing pages

2009-07-14 Thread Chris Lewis
Too easy! Thanks for the help David - I'll msg the channel when the app is on github. Fine job with Lift - it's been a joy so far! David Pollak wrote: > > > On Mon, Jul 13, 2009 at 8:57 PM, Chris Lewis <mailto:burningodzi...@gmail.com>> wrote: > > >

[Lift] Re: ProtoUser and securing pages

2009-07-13 Thread Chris Lewis
is logged it would just work. I'll hack on it a bit more tomorrow - thanks again! chris David Pollak wrote: > In Boot.scala, define your SiteMap as: > > // Build SiteMap > val entries = Menu(Loc("Home", List("index"), "Home")) :: >

[Lift] ProtoUser and securing pages

2009-07-13 Thread Chris Lewis
e a decent example of ProtoUser usage and a few other simple things (like a LastFM api using dbDispatch). chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to

[Lift] Re: Getting Started Issue

2009-06-15 Thread Chris Lamey
- tools.org/repo-releases -DgroupId=demo.helloworld - DartifactId=helloworld -Dversion=1.0-SNAPSHOT Thanks, Chris On Jun 15, 3:30 pm, Chris Lamey wrote: > Heya, > > I'm on Mac OS X 10.5 using Java 1.6.0_07 and Maven 2.0.10. > > I'm following the Getting Started guide here:

[Lift] Getting Started Issue

2009-06-15 Thread Chris Lamey
Mon Jun 15 15:25:18 MDT 2009 [INFO] Final Memory: 1M/4M [INFO] The doc says Maven 2.0.9 or greater, has anyone run this with 2.0.10? Thanks, Chris --~--~-~--~~~---~--~~ You received this

[Lift] Record and MegaProtoUser?

2009-05-27 Thread Chris
Is it a goal for 1.1 to migrate Mapper-dependent features such as MegaProtoUser to use the Record approach? Thanks, Chris. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this g

[Lift] Re: Lift documentation -- Attention newcomers (and everyone else)!

2009-05-04 Thread Chris H.
User concept in Lift and how one would go about creating a User concept is exactly what I mean. If this type of thing was formalized into some documentation I think it would help greatly in understanding Lift. -Chris On Apr 21, 3:38 pm, "Charles F. Munat" wrote: > I am charged wit

[Lift] Re: Javascript "confirm(..)" dialog with ajaxButton

2009-04-28 Thread Chris Forkin
e in a cookbook of snippets?) as it's a neat solution to a requirement that I'd assume should come up every now and then. Cheers, Chris. On Apr 29, 9:43 am, David Pollak wrote: > Here's an example of a confirm dialog box.  Hope it helps. > > PS -- I grew up in Rhode Isla

[Lift] Re: Javascript "confirm(..)" dialog with ajaxButton

2009-04-27 Thread Chris
. Is there any way in Lift to achieve the same thing? I'd really like to avoid dealing with JavaScript directly apart from something as trivial as the "confirm(...)" dialog or similar. Cheers, Chris. On Apr 28, 9:56 am, Chris wrote: > Hi Tim, > not sure if I really got acro

[Lift] Re: Javascript "confirm(..)" dialog with ajaxButton

2009-04-27 Thread Chris
ot;OK"? Option (2) is just a slightly different way of doing what I've already tried (I added the "onclick" attribute to the ajaxButton call itself) and this subsequently removes the actual AJAX call itself. Thanks, Chris. On Apr 28, 9:22 am, Timothy Perrett wrote: > Hey, >

[Lift] Javascript "confirm(..)" dialog with ajaxButton

2009-04-27 Thread Chris
dialog. I've looked at ModalDialog, but due to my inexperience and lack of examples haven't found a way of achieving this. Could someone enlighten me as to how I could implement this? Cheers, Chris. PS: I hope this isn't a FAQ but I've searched this group and the web on the mat

[Lift] Re: lift for cloud computing

2009-02-18 Thread Chris Richardson
Lee, I'd certainly like to have the the Cloud Tools plugin preconfigured in the archetype pom.xmls I'll look into this. Chris -- Build better software faster with our consulting and training services - http://www.chrisrichardson.net Author, POJOs in Action - http://www.manning.com/c

[Lift] Re: lift for cloud computing

2009-02-16 Thread Chris Richardson
icate work elsewhere and/or be too narrow in scope. For example, if you want to deploy a lift application on Amazon EC2 then checkout the Cloud Tools open-source project www.cloudtools.org. Similarly, Cloud Foundry (www.cloudfoundry.com) provides application monitoring and management. Chris O

[Lift] Re: Implementing RESTful web services using Lift

2009-02-10 Thread Chris Richardson
d the credentials using either HTTP BasicAuth or as specially named URL query parameters Chris On Tue, Feb 10, 2009 at 2:22 PM, Dano wrote: > > Chris/David, > > Thanks very much for the example! > > Have you two discussed how to mix authorization into this example? > When I talked w

[Lift] Implementing RESTful web services using Lift

2009-02-09 Thread Chris Richardson
Hi, I just started playing around with Scala and Lift and with @dpp's help wrote a simple RESTful web service. I wanted to share the code with this group and get feedback and suggestions about improvements. See below. Thanks. Chris In Boot.scala you register one or more WsEndpoints (a