[Lift] Re: Lift Jquery autocomplete *** API CHANGE CANDIDATE ***
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 feeder.of.the.be...@gmail.com 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. On Jun 6, 2009 12:24 AM, Marius marius.dan...@gmail.com wrote: Is there a reason why the JQuery autocomplete is not a Lift widget but instead it lives in http/jquery package? .. I remember a long time ago me putting it in the jquery package to separate SHtml stuff that is dependent on JQuery to the others. Thoughts? Br', Marius --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Attributes in Menu.item not rendered
Do you see any behavior change if you put a text value such as: lift:Menu.item name=helpMenu a:class=nav Some tex / lift:Menu.item Br's, Marius On Jun 8, 12:55 am, Ewan ehar...@gmail.com wrote: I'm trying to create a menu using CSS and links that is a class=nav/ which accoring to the doco I should be able to do with lift:Menu.item name=helpMenu a:class=nav / where helpMenu has been defined in the sitemap. The link renders but the attribute does not. Which incantation did I forget? Rgds -- Ewan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Attributes in Menu.item not rendered
None I'm afraid. I have: lift:Menu.item name=helpMenu a:class=navHelp Me!/ lift:Menu.item which results in: a href=/help/Help Me!/a -- Ewan On Jun 8, 9:07 am, marius d. marius.dan...@gmail.com wrote: Do you see any behavior change if you put a text value such as: lift:Menu.item name=helpMenu a:class=nav Some tex / lift:Menu.item Br's, Marius On Jun 8, 12:55 am, Ewan ehar...@gmail.com wrote: I'm trying to create a menu using CSS and links that is a class=nav/ which accoring to the doco I should be able to do with lift:Menu.item name=helpMenu a:class=nav / where helpMenu has been defined in the sitemap. The link renders but the attribute does not. Which incantation did I forget? Rgds -- Ewan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: [scala] Google App Engine for Scala!
Hi All, I have made a simple test project http://testinggwe.appspot.com/ . For new development it good we can use Datastore and JPA but can we deploy existing project on GAE. Thanks Regards Amit Kumar Verma On Apr 20, 7:40 pm, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Mon, Apr 20, 2009 at 11:24 PM, 刘浩 sniperliu...@gmail.com wrote: Thanks a lot. I will try. I want to share my Author.scala and Book.scala for further references. I have pasted them at http://gist.github.com/98561 Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Lift Jquery autocomplete *** API CHANGE CANDIDATE ***
+1 As an evolving framework, it definitely makes more sense to favour consistency over backward compatibility at this stage On Mon, Jun 8, 2009 at 9:00 AM, marius d. marius.dan...@gmail.com wrote: 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 feeder.of.the.be...@gmail.com 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. On Jun 6, 2009 12:24 AM, Marius marius.dan...@gmail.com wrote: Is there a reason why the JQuery autocomplete is not a Lift widget but instead it lives in http/jquery package? .. I remember a long time ago me putting it in the jquery package to separate SHtml stuff that is dependent on JQuery to the others. Thoughts? Br', Marius --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Google App Engine for Scala!
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 atsuhiko.yaman...@gmail.com wrote: Hi, On Fri, Apr 10, 2009 at 10:03 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Thank you! Thank you! Thank you! I'd like to kiss you (but my wife might get upset) Next time you come to the Bay Area, I will buy you lunch or dinner! If I get an opportunity to be there in the future, I'll want to enjoy lunch with you! On Apr 10, 2009 1:46 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: As a proof of concept, I have succeeded to run lift-example on GAE/J, it is running at http://lift-example.appspot.com/index Of course, CometAcotr is not functional, and DB is not available because of jdbc usage. In this weekend, if possible, I will try JPA. Here is a fork of liftweb source code to run lift-example on GAE/J, http://github.com/ymnk/liftweb/tree/master It seems that JDBC API must not have be forbidden on GAE/J . I have succeeded to use H2 mem db by updating to its latest version[1] and now DB functionalities have worked on http://lift-example.appspot.com/index However, it is not adequate for the practical usages, of course. FYI, I found an interesting message[2] about a plan to implement JDBC to com.google.appengine.api.datastore wrapper PS. I will add CC to liftweb@googlegroups.com and further discussions should be there. [1]http://www.h2database.com/html/changelog.html [2]http://groups.google.com/group/google-appengine-java/msg/71278bbee901... Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: date management
Generally you can either use RequestVars or a StatefulSnippet class to keep the values around on form resubmission. If you're using a Mapper class, you really just need one RequestVar to hold your Mapper instance. For example, if I had a Mapper class for a person with first name, last name and email, I could do something like this in my snippet class: ... // Set the up the RequstVar to initialize a new MyUserClass by default object userVar extends RequestVar[MyUserClass](MyUserClass.create) def editMyUser (xhtml : NodeSeq) : NodeSeq = { // We define a val to capture the current value of the userVar. This will be used to reinject later, as well // as for current access val current = userVar.is ... def saveMyUser () { current.validate match { ... ... current.save } } bind(user, xhtml, // First we re-inject the current MyUserClass instance using a hidden field current - SHtml.hidden(() = userVar(current)) // normal fields follow, e.g. name - SHtml.text(current.name.is, current.name(_)) // alternatively, you could do both steps in the first form field: name - SHtml.text(current.name.is, { in = userVar(current); current.name(in) }) ... ) } ... Let me know if you have any questions on that. Derek On Fri, Jun 5, 2009 at 9:47 PM, g-man gregor...@gmail.com wrote: I now have the due date arriving OK from the jQuery datepicker, and I cobbled together some ugliness to give days left until the ToDo due date, so that is good. My problem now is since we are not using the 'magic' of the _toForm methods for the form elements, I have to set each var value for the model field from the input SHtml data, as was done in the PocketChange app AddEntry.scala file. What is happening is that the initialization for each var is resetting the form if validation fails, so I guess I need to institute some RequestVars to remember the form values for resubmission, right? All my questions will take take the form of 'how to' recipes of foundational webapp elements, as you can see. My plan is to develop them for a 'cookbook' section of the wiki, so that's why I am asking one simple conceptual thing at a time. Therefore, what I have to learn now is all about form binding and recalling form value state if validation fails, so please break that down for me. Thanks as always! On Jun 3, 10:25 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Box is the base class. What you want is Full(2). Derek On Wed, Jun 3, 2009 at 8:53 PM, g-man gregor...@gmail.com wrote: Very good! I did a little homework, rearranged some things, and am getting some nice results with the 'manual method'... Since I am following the PocketChange app now rather than the ToDo example, there is no 'todo' val in scope to bind, so the todo.priority.toForm method will not work. I have SHtml.select working with a mapping for my choices, and I can use Empty for my default, but how do I get a Box[2] as my default? On Jun 3, 7:21 am, Derek Chen-Becker dchenbec...@gmail.com wrote: The only issue I would mention is that there's currently an open ticket because MappedDateTime won't save the time portion when you use Derby. I haven't had time to triage this yet. Derek On Wed, Jun 3, 2009 at 3:01 AM, Timothy Perrett timo...@getintheloop.eu wrote: Greg, I dont really use toForm; have you explored doing it manually? It seems like that would be able to tell you if there is a problem with toForm on MappedDateTime. I use mapped date time quite a bit and have no problems at all persisting the dates :-) Cheers, Tim On Jun 3, 3:09 am, g-man gregor...@gmail.com wrote: Are there no ideas for my problem? I have many more questions saved up, but would like to clear each out before starting a new one. Thanks again! On May 31, 1:57 pm, g-man gregor...@gmail.com wrote: As I proceed to enhance the ToDo example, I have added a new field to the ToDo.scala model: object dueOn extends MappedDateTime(this) { final val dateFormat = DateFormat.getDateInstance (DateFormat.SHORT) override def asHtml = Text(dateFormat.format(is))} Next, I added a binding in the TD.scala snippet within the add method of the TD class: def doBind(form: NodeSeq) = { bind(todo, form, desc - todo.desc.toForm, priority - todo.priority.toForm, dueOn - todo.dueOn.toForm, submit - submit(create new Task, checkAndSave)} Then, the todo.html template gets a bind point: lift:TD.add form=post ... todo:dueOn/ todo:submitbutton//todo:submit
[Lift] Re: Vscaladoc not grokking new documentation
I'll try removing the first p pair and add the colorization like you suggested here. I'll open an issue after I confirm whether removing the p fixes the issue. Thanks! Derek On Sat, Jun 6, 2009 at 7:41 AM, David Bernard david.bernard...@gmail.comwrote: Hi, It's a bug, I'll try to add a test case. (you could open issue at http://github.com/davidB/vscaladoc/issues) From the source code of the page the doc is present. I suggest you remove the p tag from the comment (at least the first pair). a side note. you could have colorized code if you use pre name=code class=scala or textarea name=code class=scala instead of simple pre /davidB PS: I'm was off-line several days. On Mon, Jun 1, 2009 at 00:05, Timothy Perrett timo...@getintheloop.euwrote: Try shooting David B a mail offline – he’s the vscaladoc master Not sure that he watches the lift list too much these days. Having said that I’ve not seen him on Gtalk for sometime so not sure what his movements are. Cheers, Tim On 31/05/2009 22:50, Derek Chen-Becker dchenbec...@gmail.com wrote: No, because they're intended to be formatting for the Scaladoc. Note that I escape entities within the table that should be displayed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Programming in Scala #5, Lift Book #8, Beginning Scala #9
http://www.theserverside.com/news/thread.tss?thread_id=54862 Quote: Here are the top 10 selling books at the JavaOne Bookstore. Are these a trend? You decide. 1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN: 013701287X 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795 3. Effective Java 2nd ed. - PTR ISBN: 0321356683 4. Java Puzzlers - Addison Wesley ISBN: 032133678X 5. Programming in Scala - Artima ISBN: 0981531601 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN: 1590594703 8. The Definitive Guide to Lift - Apress ISBN: 1430224215 9. Beginning Scala - Apress ISBN: 1430219890 10. OpenSolaris Bible - Wiley ISBN: 0470385480 Another chance for me to thank everyone involved. - dpp for building the framework and being more helpful than any person should be expected to be. - Derek and Marius for being excellent co-authors and about 8 times smarter than me. Huzza! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: your first Lift application on GAE/J
Hi Atsuhiko, I trying the steps u have given but getting this error when execute the STEP 3 $ mvn package [INFO] Scanning for projects... [INFO] [INFO] Building test [INFO]task-segment: [package] [INFO] [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [yuicompressor:compress {execution: default}] [INFO] nb warnings: 0, nb errors: 0 [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [scala:compile {execution: default}] [INFO] Checking for multiple versions of scala [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [scala:testCompile {execution: default}] [INFO] Checking for multiple versions of scala [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: /home/amit/scalaWorkspace/test/ target/surefire-reports --- T E S T S --- Running test.test.test.AppTest [Fatal Error] :3:4: The markup in the document following the root element must be well-formed. Please advise, what could be the reason of this error. And what is the meaning of STEP 4 and STEP 5 $ appengine-java-sdk-1.2.0/bin/dev_appserver.sh target/test-1.0- SNAPSHOT $ appengine-java-sdk-1.2.0/bin/appcfg.sh update target/test-1.0- SNAPSHOT where is this appengine-java-sdk-1.2.0 is located ??? Thanks Regards Amit Kumar Verma --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] SeaJug movie/slides
http://wiki.liftweb.net/index.php/SeaJUG doesn't appear to actually have any link to the movie I'm also getting a 404 from the link http://trazio.com/SeaJUG_slides.pdf Does anyone have access to a copy of these resources so that we can repost some valid links? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9
That's awesome :). Can't wait to get my hands on my copy of Beginning Scala. I have a feeling that we're going to really be ramping up list membership in the next few months. Derek On Mon, Jun 8, 2009 at 8:34 AM, TylerWeir tyler.w...@gmail.com wrote: http://www.theserverside.com/news/thread.tss?thread_id=54862 Quote: Here are the top 10 selling books at the JavaOne Bookstore. Are these a trend? You decide. 1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN: 013701287X 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795 3. Effective Java 2nd ed. - PTR ISBN: 0321356683 4. Java Puzzlers - Addison Wesley ISBN: 032133678X 5. Programming in Scala - Artima ISBN: 0981531601 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN: 1590594703 8. The Definitive Guide to Lift - Apress ISBN: 1430224215 9. Beginning Scala - Apress ISBN: 1430219890 10. OpenSolaris Bible - Wiley ISBN: 0470385480 Another chance for me to thank everyone involved. - dpp for building the framework and being more helpful than any person should be expected to be. - Derek and Marius for being excellent co-authors and about 8 times smarter than me. Huzza! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9
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 bliz...@rogers.com wrote: As an loyalist to the cause I already have 3 of them . (yes = 2*scala + lift) Now for The Definitive Guide to Lift - where is numerously mentioned Appendix A..G .. I could not find it anywhere. P. From: TylerWeir tyler.w...@gmail.com To: Lift liftweb@googlegroups.com Sent: Monday, June 8, 2009 10:34:13 AM Subject: [Lift] Programming in Scala #5, Lift Book #8, Beginning Scala #9 http://www.theserverside.com/news/thread.tss?thread_id=54862 Quote: Here are the top 10 selling books at the JavaOne Bookstore. Are these a trend? You decide. 1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN: 013701287X 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795 3. Effective Java 2nd ed. - PTR ISBN: 0321356683 4. Java Puzzlers - Addison Wesley ISBN: 032133678X 5. Programming in Scala - Artima ISBN: 0981531601 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN: 1590594703 8. The Definitive Guide to Lift - Apress ISBN: 1430224215 9. Beginning Scala - Apress ISBN: 1430219890 10. OpenSolaris Bible - Wiley ISBN: 0470385480 Another chance for me to thank everyone involved. - dpp for building the framework and being more helpful than any person should be expected to be. - Derek and Marius for being excellent co-authors and about 8 times smarter than me. Huzza! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9
APress was supposed to have a page in the book explaining this, so I apologize for the continuing confusion on this. The print version ran into some limitation with APress' printing workflow due to its size, so they had to cut the appendices from the print version (the eBook version should have the full book content). The appendices are available for free to *anyone*here: http://www.apress.com/book/downloadfile/4390 Derek On Mon, Jun 8, 2009 at 8:49 AM, Peter Bliznak bliz...@rogers.com wrote: As an loyalist to the cause I already have 3 of them . (yes = 2*scala + lift) Now for The Definitive Guide to Lift - where is numerously mentioned Appendix A..G .. I could not find it anywhere. P. -- *From:* TylerWeir tyler.w...@gmail.com *To:* Lift liftweb@googlegroups.com *Sent:* Monday, June 8, 2009 10:34:13 AM *Subject:* [Lift] Programming in Scala #5, Lift Book #8, Beginning Scala #9 http://www.theserverside.com/news/thread.tss?thread_id=54862 Quote: Here are the top 10 selling books at the JavaOne Bookstore. Are these a trend? You decide. 1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN: 013701287X 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795 3. Effective Java 2nd ed. - PTR ISBN: 0321356683 4. Java Puzzlers - Addison Wesley ISBN: 032133678X 5. Programming in Scala - Artima ISBN: 0981531601 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN: 1590594703 8. The Definitive Guide to Lift - Apress ISBN: 1430224215 9. Beginning Scala - Apress ISBN: 1430219890 10. OpenSolaris Bible - Wiley ISBN: 0470385480 Another chance for me to thank everyone involved. - dpp for building the framework and being more helpful than any person should be expected to be. - Derek and Marius for being excellent co-authors and about 8 times smarter than me. Huzza! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Attributes in Menu.item not rendered
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 ehar...@gmail.com wrote: None I'm afraid. I have: lift:Menu.item name=helpMenu a:class=navHelp Me!/ lift:Menu.item which results in: a href=/help/Help Me!/a -- Ewan On Jun 8, 9:07 am, marius d. marius.dan...@gmail.com wrote: Do you see any behavior change if you put a text value such as: lift:Menu.item name=helpMenu a:class=nav Some tex / lift:Menu.item Br's, Marius On Jun 8, 12:55 am, Ewan ehar...@gmail.com wrote: I'm trying to create a menu using CSS and links that is a class=nav/ which accoring to the doco I should be able to do with lift:Menu.item name=helpMenu a:class=nav / where helpMenu has been defined in the sitemap. The link renders but the attribute does not. Which incantation did I forget? Rgds -- Ewan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9
Excellent! Just curious - publisher forgot to include it in the print? That would be quite a no no . From: TylerWeir tyler.w...@gmail.com To: Lift liftweb@googlegroups.com Sent: Monday, June 8, 2009 10:59:15 AM Subject: [Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9 Hey Pete, you can grab the appendices online: http://apress.com/book/view/1430224215 Bottom left of the page. On Jun 8, 10:49 am, Peter Bliznak bliz...@rogers.com wrote: As an loyalist to the cause I already have 3 of them . (yes = 2*scala + lift) Now for The Definitive Guide to Lift - where is numerously mentioned Appendix A..G .. I could not find it anywhere. P. From: TylerWeir tyler.w...@gmail.com To: Lift liftweb@googlegroups.com Sent: Monday, June 8, 2009 10:34:13 AM Subject: [Lift] Programming in Scala #5, Lift Book #8, Beginning Scala #9 http://www.theserverside.com/news/thread.tss?thread_id=54862 Quote: Here are the top 10 selling books at the JavaOne Bookstore. Are these a trend? You decide. 1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN: 013701287X 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795 3. Effective Java 2nd ed. - PTR ISBN: 0321356683 4. Java Puzzlers - Addison Wesley ISBN: 032133678X 5. Programming in Scala - Artima ISBN: 0981531601 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN: 1590594703 8. The Definitive Guide to Lift - Apress ISBN: 1430224215 9. Beginning Scala - Apress ISBN: 1430219890 10. OpenSolaris Bible - Wiley ISBN: 0470385480 Another chance for me to thank everyone involved. - dpp for building the framework and being more helpful than any person should be expected to be. - Derek and Marius for being excellent co-authors and about 8 times smarter than me. Huzza! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9
Congrats guys! You've really deserved it! :) On Mon, Jun 8, 2009 at 4:34 PM, TylerWeir tyler.w...@gmail.com wrote: http://www.theserverside.com/news/thread.tss?thread_id=54862 Quote: Here are the top 10 selling books at the JavaOne Bookstore. Are these a trend? You decide. 1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN: 013701287X 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795 3. Effective Java 2nd ed. - PTR ISBN: 0321356683 4. Java Puzzlers - Addison Wesley ISBN: 032133678X 5. Programming in Scala - Artima ISBN: 0981531601 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN: 1590594703 8. The Definitive Guide to Lift - Apress ISBN: 1430224215 9. Beginning Scala - Apress ISBN: 1430219890 10. OpenSolaris Bible - Wiley ISBN: 0470385480 Another chance for me to thank everyone involved. - dpp for building the framework and being more helpful than any person should be expected to be. - Derek and Marius for being excellent co-authors and about 8 times smarter than me. Huzza! -- Viktor Klang Rockstar Developer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9
A big congratulations to the authors as well as the whole Scala community... Yet another proof point that 2009 is the year of Scala. Rock On! On Mon, Jun 8, 2009 at 7:34 AM, TylerWeir tyler.w...@gmail.com wrote: http://www.theserverside.com/news/thread.tss?thread_id=54862 Quote: Here are the top 10 selling books at the JavaOne Bookstore. Are these a trend? You decide. 1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN: 013701287X 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795 3. Effective Java 2nd ed. - PTR ISBN: 0321356683 4. Java Puzzlers - Addison Wesley ISBN: 032133678X 5. Programming in Scala - Artima ISBN: 0981531601 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN: 1590594703 8. The Definitive Guide to Lift - Apress ISBN: 1430224215 9. Beginning Scala - Apress ISBN: 1430219890 10. OpenSolaris Bible - Wiley ISBN: 0470385480 Another chance for me to thank everyone involved. - dpp for building the framework and being more helpful than any person should be expected to be. - Derek and Marius for being excellent co-authors and about 8 times smarter than me. Huzza! -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Attributes in Menu.item not rendered
I think you mean and reading the src if the page I am on is the menu item in question don't render - correct? If so then the attribute(s) are still not rendered from any part of the site and indeed the link itself is not rendered when on the page that the Loc points to. Can you or anyone confirm that it works for them? Thx -- Ewan On Jun 8, 4:14 pm, marius d. marius.dan...@gmail.com 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 ehar...@gmail.com wrote: None I'm afraid. I have: lift:Menu.item name=helpMenu a:class=navHelp Me!/ lift:Menu.item which results in: a href=/help/Help Me!/a -- Ewan On Jun 8, 9:07 am, marius d. marius.dan...@gmail.com wrote: Do you see any behavior change if you put a text value such as: lift:Menu.item name=helpMenu a:class=nav Some tex / lift:Menu.item Br's, Marius On Jun 8, 12:55 am, Ewan ehar...@gmail.com wrote: I'm trying to create a menu using CSS and links that is a class=nav/ which accoring to the doco I should be able to do with lift:Menu.item name=helpMenu a:class=nav / where helpMenu has been defined in the sitemap. The link renders but the attribute does not. Which incantation did I forget? Rgds -- Ewan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Attributes in Menu.item not rendered
Ewan, I just committed a fix on master. The pattern matching was actually failing and the attributes were never added. I gave it a try and worked for me. Please test and let me know if it works for you Br's, Marius On Jun 8, 6:58 pm, Ewan ehar...@gmail.com wrote: I think you mean and reading the src if the page I am on is the menu item in question don't render - correct? If so then the attribute(s) are still not rendered from any part of the site and indeed the link itself is not rendered when on the page that the Loc points to. Can you or anyone confirm that it works for them? Thx -- Ewan On Jun 8, 4:14 pm, marius d. marius.dan...@gmail.com 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 ehar...@gmail.com wrote: None I'm afraid. I have: lift:Menu.item name=helpMenu a:class=navHelp Me!/ lift:Menu.item which results in: a href=/help/Help Me!/a -- Ewan On Jun 8, 9:07 am, marius d. marius.dan...@gmail.com wrote: Do you see any behavior change if you put a text value such as: lift:Menu.item name=helpMenu a:class=nav Some tex / lift:Menu.item Br's, Marius On Jun 8, 12:55 am, Ewan ehar...@gmail.com wrote: I'm trying to create a menu using CSS and links that is a class=nav/ which accoring to the doco I should be able to do with lift:Menu.item name=helpMenu a:class=nav / where helpMenu has been defined in the sitemap. The link renders but the attribute does not. Which incantation did I forget? Rgds -- Ewan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9
No, the book ended up being much larger than they anticipated and if I understand it correctly, their workflow process could not handle that many chapters/sections. We had two options: wait for APress to fix the workflow and miss having the book out for JavaOne, or make the appendices available as a free PDF online and have a book ready in June. We opted for the latter, since we felt there was already a lot of interest around Lift and we wanted to have something for people to get their hands on. It's not an ideal situation, and I'm sure some people will disagree with our decision, but it is what it is at this point. Derek On Mon, Jun 8, 2009 at 9:03 AM, Peter Bliznak bliz...@rogers.com wrote: Excellent! Just curious - publisher forgot to include it in the print? That would be quite a no no . -- *From:* TylerWeir tyler.w...@gmail.com *To:* Lift liftweb@googlegroups.com *Sent:* Monday, June 8, 2009 10:59:15 AM *Subject:* [Lift] Re: Programming in Scala #5, Lift Book #8, Beginning Scala #9 Hey Pete, you can grab the appendices online: http://apress.com/book/view/1430224215 Bottom left of the page. On Jun 8, 10:49 am, Peter Bliznak bliz...@rogers.com wrote: As an loyalist to the cause I already have 3 of them . (yes = 2*scala + lift) Now for The Definitive Guide to Lift - where is numerously mentioned Appendix A..G .. I could not find it anywhere. P. From: TylerWeir tyler.w...@gmail.com To: Lift liftweb@googlegroups.com Sent: Monday, June 8, 2009 10:34:13 AM Subject: [Lift] Programming in Scala #5, Lift Book #8, Beginning Scala #9 http://www.theserverside.com/news/thread.tss?thread_id=54862 Quote: Here are the top 10 selling books at the JavaOne Bookstore. Are these a trend? You decide. 1. JavaFX: Building Rich Internet Applications - Addison Wesley ISBN: 013701287X 2. Essential JavaFX - PTR (out June 11, 2009) ISBN: 0137042795 3. Effective Java 2nd ed. - PTR ISBN: 0321356683 4. Java Puzzlers - Addison Wesley ISBN: 032133678X 5. Programming in Scala - Artima ISBN: 0981531601 6. Java Concurrency in Practice - Addison Wesley ISBN:0321349601 7. Beginning Java EE 5: From Novice to Professional - Apress ISBN: 1590594703 8. The Definitive Guide to Lift - Apress ISBN: 1430224215 9. Beginning Scala - Apress ISBN: 1430219890 10. OpenSolaris Bible - Wiley ISBN: 0470385480 Another chance for me to thank everyone involved. - dpp for building the framework and being more helpful than any person should be expected to be. - Derek and Marius for being excellent co-authors and about 8 times smarter than me. Huzza! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Great pictures from the Scala Lift Off
Folks, Ilya not only writes great IDE plugins, he takes good pictures: http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
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 feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures:http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures:http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
I'm still pushing for a Scala on Skis conference out here in Colorado ;) Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.euwrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures: http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: SeaJug movie/slides
I looks like the PDF of the slides is lost forever. :-( On Mon, Jun 8, 2009 at 4:50 AM, KWright kev.lee.wri...@googlemail.comwrote: http://wiki.liftweb.net/index.php/SeaJUG doesn't appear to actually have any link to the movie I'm also getting a 404 from the link http://trazio.com/SeaJUG_slides.pdf Does anyone have access to a copy of these resources so that we can repost some valid links? -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'm still pushing for a Scala on Skis conference out here in Colorado ;) It's looking like Scala on Skis will be held in Lausanne, Switzerland in Spring 2010. We'll also have a Scala Lift Off in the Washington, DC area in October 2009. Maybe we'll have a Denver-based conference in 2010. Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.euwrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures: http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
w00t!! Marius, Viktor, Heiko... You think you guys will be able to make the trip to EPFL? I'll be there with bells on! Cheers, Tim Sent from my iPhone On 8 Jun 2009, at 18:43, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker dchenbec...@gmail.com wrote: I'm still pushing for a Scala on Skis conference out here in Colorado ;) It's looking like Scala on Skis will be held in Lausanne, Switzerland in Spring 2010. We'll also have a Scala Lift Off in the Washington, DC area in October 2009. Maybe we'll have a Denver-based conference in 2010. Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures:http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Attributes in Menu.item not rendered
Yep that works fine now. I'll now go and look to see how you did it. cheers -- Ewan On Jun 8, 5:46 pm, marius d. marius.dan...@gmail.com wrote: Ewan, I just committed a fix on master. The pattern matching was actually failing and the attributes were never added. I gave it a try and worked for me. Please test and let me know if it works for you Br's, Marius On Jun 8, 6:58 pm, Ewan ehar...@gmail.com wrote: I think you mean and reading the src if the page I am on is the menu item in question don't render - correct? If so then the attribute(s) are still not rendered from any part of the site and indeed the link itself is not rendered when on the page that the Loc points to. Can you or anyone confirm that it works for them? Thx -- Ewan On Jun 8, 4:14 pm, marius d. marius.dan...@gmail.com 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 ehar...@gmail.com wrote: None I'm afraid. I have: lift:Menu.item name=helpMenu a:class=navHelp Me!/ lift:Menu.item which results in: a href=/help/Help Me!/a -- Ewan On Jun 8, 9:07 am, marius d. marius.dan...@gmail.com wrote: Do you see any behavior change if you put a text value such as: lift:Menu.item name=helpMenu a:class=nav Some tex / lift:Menu.item Br's, Marius On Jun 8, 12:55 am, Ewan ehar...@gmail.com wrote: I'm trying to create a menu using CSS and links that is a class=nav/ which accoring to the doco I should be able to do with lift:Menu.item name=helpMenu a:class=nav / where helpMenu has been defined in the sitemap. The link renders but the attribute does not. Which incantation did I forget? Rgds -- Ewan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
On Mon, Jun 8, 2009 at 8:09 PM, Timothy Perrett timo...@getintheloop.euwrote: w00t!! Marius, Viktor, Heiko... You think you guys will be able to make the trip to EPFL? I'll be there with bells on! I'll check the budget! ;) Cheers, Tim Sent from my iPhone On 8 Jun 2009, at 18:43, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker dchenbec...@gmail.com dchenbec...@gmail.com wrote: I'm still pushing for a Scala on Skis conference out here in Colorado ;) It's looking like Scala on Skis will be held in Lausanne, Switzerland in Spring 2010. We'll also have a Scala Lift Off in the Washington, DC area in October 2009. Maybe we'll have a Denver-based conference in 2010. Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures:http://picasaweb.google.com/ilyas239/Scalaliftoff09# http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://lifthttp://liftweb.net web.net Beginning Scalahttp:// http://www.apress.com/book/view/1430219890 www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpphttp://twitter.com/dpp Git some: http://github.com/dpphttp://github.com/dpp -- Lift, the simply functional web framework http://liftweb.net http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpphttp://twitter.com/dpp Git some: http://github.com/dpphttp://github.com/dpp -- Viktor Klang Rockstar Developer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] YA menu question: separate menus
Sorry for yet another menu question. I have scoured this list first, I promise! I'm trying to do something I think is quite simple: Two [or any nuumber of] menus (with children). Two different templates. One menu and children shows up on one template, one shows up on another. They are each nested menus (i.e. I have two Menus, each with child menu items). You can directly go to any page you want, but only certain Menu items show up on certain templates. I had thought I could put a guard (the last argument of the Loc) to only show a menu when the request string contains part of the path, but of course, that prevents you from navigating there in the first place so that's out. I've seen this post : http://groups.google.com/group/liftweb/browse_thread/thread/dbdf6a17b9704c99/30f5168e87161f74?hl=enlnk=gstq=new+sitemap%2Fmenu+features but it doesn't quite do what I want: I want to be able to show a whole Menu at a time, not have to list each individual item in the template. I'd like to do something like this: lift:Menu.builder menuName=menu_name/ Any ideas? I'll accept a hack, I'm short on time! Bonus marks: how do you set a menu to be expanded by default (without having to be on the root node's page)? I saw `expandAll=true` somewhere, but that doesn't do anything... Thanks! Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
Is the date set for the Washington, DC meeting? On Mon, Jun 8, 2009 at 12:43 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'm still pushing for a Scala on Skis conference out here in Colorado ;) It's looking like Scala on Skis will be held in Lausanne, Switzerland in Spring 2010. We'll also have a Scala Lift Off in the Washington, DC area in October 2009. Maybe we'll have a Denver-based conference in 2010. Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures: http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp -- Dean Wampler coauthor of Programming Scala (O'Reilly) twitter: @deanwampler, @chicagoscala Chicago-Area Scala Enthusiasts (CASE): - http://groups.google.com/group/chicagoscala - http://www.meetup.com/chicagoscala/ (Meetings) http://www.objectmentor.com http://www.polyglotprogramming.com http://www.aspectprogramming.com http://aquarium.rubyforge.org http://www.contract4j.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
Washington, DC area in October 2009. Road trip! I plan on attending LiftOffEast. On Jun 8, 4:06 pm, Dean Wampler deanwamp...@gmail.com wrote: Is the date set for the Washington, DC meeting? On Mon, Jun 8, 2009 at 12:43 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'm still pushing for a Scala on Skis conference out here in Colorado ;) It's looking like Scala on Skis will be held in Lausanne, Switzerland in Spring 2010. We'll also have a Scala Lift Off in the Washington, DC area in October 2009. Maybe we'll have a Denver-based conference in 2010. Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures: http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Dean Wampler coauthor of Programming Scala (O'Reilly) twitter: @deanwampler, @chicagoscala Chicago-Area Scala Enthusiasts (CASE): - http://groups.google.com/group/chicagoscala - http://www.meetup.com/chicagoscala/(Meetings)http://www.objectmentor.comhttp://www.polyglotprogramming.comhttp://www.aspectprogramming.comhttp://aquarium.rubyforge.orghttp://www.contract4j.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
Something in london! please anyone... On Jun 8, 10:25 pm, TylerWeir tyler.w...@gmail.com wrote: Washington, DC area in October 2009. Road trip! I plan on attending LiftOffEast. On Jun 8, 4:06 pm, Dean Wampler deanwamp...@gmail.com wrote: Is the date set for the Washington, DC meeting? On Mon, Jun 8, 2009 at 12:43 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'm still pushing for a Scala on Skis conference out here in Colorado ;) It's looking like Scala on Skis will be held in Lausanne, Switzerland in Spring 2010. We'll also have a Scala Lift Off in the Washington, DC area in October 2009. Maybe we'll have a Denver-based conference in 2010. Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures: http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Dean Wampler coauthor of Programming Scala (O'Reilly) twitter: @deanwampler, @chicagoscala Chicago-Area Scala Enthusiasts (CASE): - http://groups.google.com/group/chicagoscala - http://www.meetup.com/chicagoscala/(Meetings)http://www.objectmentor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: YA menu question: separate menus
I have a similar request: namely, being able to apply expandAll=true attribute not just to lift:Menu.builder.../ but to lift:Menu.group name=mygroup/ and lift:Menu.item name=myMenu/, or, as Joe requests below, to any siteMap that is not the root siteMap. Glenn... On Jun 8, 2:06 pm, Joe Wass j...@folktunefinder.com wrote: Sorry for yet another menu question. I have scoured this list first, I promise! I'm trying to do something I think is quite simple: Two [or any nuumber of] menus (with children). Two different templates. One menu and children shows up on one template, one shows up on another. They are each nested menus (i.e. I have two Menus, each with child menu items). You can directly go to any page you want, but only certain Menu items show up on certain templates. I had thought I could put a guard (the last argument of the Loc) to only show a menu when the request string contains part of the path, but of course, that prevents you from navigating there in the first place so that's out. I've seen this post :http://groups.google.com/group/liftweb/browse_thread/thread/dbdf6a17b... but it doesn't quite do what I want: I want to be able to show a whole Menu at a time, not have to list each individual item in the template. I'd like to do something like this: lift:Menu.builder menuName=menu_name/ Any ideas? I'll accept a hack, I'm short on time! Bonus marks: how do you set a menu to be expanded by default (without having to be on the root node's page)? I saw `expandAll=true` somewhere, but that doesn't do anything... Thanks! Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
That would be good but it's probally not going to happen. Do you get along to the LSUG meets? It would be good to catch up with more lift users at a meet sometime - I'll check with mr mclaver when the next one is and perhaps try to make it along. Cheers Tim Sent from my iPhone On 8 Jun 2009, at 22:26, KWright kev.lee.wri...@googlemail.com wrote: Something in london! please anyone... On Jun 8, 10:25 pm, TylerWeir tyler.w...@gmail.com wrote: Washington, DC area in October 2009. Road trip! I plan on attending LiftOffEast. On Jun 8, 4:06 pm, Dean Wampler deanwamp...@gmail.com wrote: Is the date set for the Washington, DC meeting? On Mon, Jun 8, 2009 at 12:43 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'm still pushing for a Scala on Skis conference out here in Colorado ;) It's looking like Scala on Skis will be held in Lausanne, Switzerland in Spring 2010. We'll also have a Scala Lift Off in the Washington, DC area in October 2009. Maybe we'll have a Denver-based conference in 2010. Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures: http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Dean Wampler coauthor of Programming Scala (O'Reilly) twitter: @deanwampler, @chicagoscala Chicago-Area Scala Enthusiasts (CASE): - http://groups.google.com/group/chicagoscala - http://www.meetup.com/chicagoscala/(Meetings)http://www.objectmentor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Issue #12
I've merged wip-dcb-mapper-datetime into master and I'll close ticket #12. Derek On Thu, Jun 4, 2009 at 1:54 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I just checked in some code in the wip-dcb-mapper-datetime branch on e9a2f3f85e99e5e4f53611e6892830b9878d4f9a. I've tested with Derby, H2, MySQL and PostgreSQL, so I'm pretty confident that this is working. I have a little test project that someone could use if they want to test against Oracle or SQL Server. Derek On Wed, Jun 3, 2009 at 9:08 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Jun 3, 2009 at 3:56 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'm looking at issue #12: http://github.com/dpp/liftweb/issues#issue/12 I think I've tracked it down to an issue with the way Mapper handles date and time data. Mapper doesn't use setTimestamp anywhere for prepared statements, only setDate or setObject. The issue is that SQL Dates really are just dates, not date + time. In particular, MappedDateTime's jdbcFriendly and real_convertToJDBCFriendly methods are returning java.sql.Dates, when they really should return java.sql.Timestamps. Also, DB.runQuery uses a setDate instead of setTimestamp when the passed parameter type is java.util.Date, and MetaMapper's BySql clause uses java.sql.Date. The MetaMapper.save method uses st.setObject to set field values when inserting and/or updating, and passes the java.sql.Types parameter (TIMESTAMP, for MappedDateTime), but Derby is discarding the time portion. This may also be a bug in Derby, but I don't think that we should be using java.sql.Date for a TIMESTAMP field, either. Unless anyone has objections, I propose that: 1. The jdbcFriendly and convert_real... methods on MappedDateTime be changed to return java.sql.Timestamp instead of java.sql.Date 2. Change the BySQL clause to use a setTimestamp for the parameter if the passed data is java.sql.Timestamp or java.util.Date, and use setDate only if the passed data is already java.sql.Date. That way people can be more explicit about which type they actually want 3. Make a similar change to DB.runQuery's parameter handling 4. Add a MappedDate and MappedTime for people who explicitly only want a Date or Time respectively Thoughts? I'll go ahead and get this done this week unless anyone can explain why we wouldn't want to do this. Sounds like a great analysis. Looking forward to the fixes. Derek -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Vscaladoc not grokking new documentation
It works if I removed the first p, so I'll put together a small test case project and create an issue. Also, if I want to use tables in the scaladoc it seems that the CSS for it makes them have no borders, etc. Do you have a special class for comment tables, or could I submit a patch for them? Thanks, Derek On Mon, Jun 8, 2009 at 8:24 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'll try removing the first p pair and add the colorization like you suggested here. I'll open an issue after I confirm whether removing the p fixes the issue. Thanks! Derek On Sat, Jun 6, 2009 at 7:41 AM, David Bernard david.bernard...@gmail.comwrote: Hi, It's a bug, I'll try to add a test case. (you could open issue at http://github.com/davidB/vscaladoc/issues) From the source code of the page the doc is present. I suggest you remove the p tag from the comment (at least the first pair). a side note. you could have colorized code if you use pre name=code class=scala or textarea name=code class=scala instead of simple pre /davidB PS: I'm was off-line several days. On Mon, Jun 1, 2009 at 00:05, Timothy Perrett timo...@getintheloop.euwrote: Try shooting David B a mail offline – he’s the vscaladoc master Not sure that he watches the lift list too much these days. Having said that I’ve not seen him on Gtalk for sometime so not sure what his movements are. Cheers, Tim On 31/05/2009 22:50, Derek Chen-Becker dchenbec...@gmail.com wrote: No, because they're intended to be formatting for the Scaladoc. Note that I escape entities within the table that should be displayed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Vscaladoc not grokking new documentation
OK, I opened issue #2, but the Markdown syntax isn't playing nice. I dug around and I think I figured out what the issue is: vscaladoc tries to only show the first line, and then adds an apiCommentsDetails div for the rest of the stuff so that it can show/hide it on demand. The issue is that with the p elements wrapping the first (long) paragraph, the div is partially nested in the p element (I can't remember the technical term for this), so that it isn't valid XHTML. For example, here's the output from the problem comment: div class=apiComments pGet a list of current attributes a href=javascript:// class=detailsBtn onclick=jQuery(this).next().toggle()[details]/a div class=apiCommentsDetails Each attribute item is a pair of (key,value). The key is an Either that depends on whether the attribute is prefixed or not. If the attribute is prefixed, the key is a Right((prefix, name)). If the attribute is unprefixed then the key is a Left(name). For example, the following table shows how various tag attributes would be represented:/p If I get rid of the p then it works fine. Thanks, Derek On Mon, Jun 8, 2009 at 4:21 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: It works if I removed the first p, so I'll put together a small test case project and create an issue. Also, if I want to use tables in the scaladoc it seems that the CSS for it makes them have no borders, etc. Do you have a special class for comment tables, or could I submit a patch for them? Thanks, Derek On Mon, Jun 8, 2009 at 8:24 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'll try removing the first p pair and add the colorization like you suggested here. I'll open an issue after I confirm whether removing the p fixes the issue. Thanks! Derek On Sat, Jun 6, 2009 at 7:41 AM, David Bernard david.bernard...@gmail.com wrote: Hi, It's a bug, I'll try to add a test case. (you could open issue at http://github.com/davidB/vscaladoc/issues) From the source code of the page the doc is present. I suggest you remove the p tag from the comment (at least the first pair). a side note. you could have colorized code if you use pre name=code class=scala or textarea name=code class=scala instead of simple pre /davidB PS: I'm was off-line several days. On Mon, Jun 1, 2009 at 00:05, Timothy Perrett timo...@getintheloop.euwrote: Try shooting David B a mail offline – he’s the vscaladoc master Not sure that he watches the lift list too much these days. Having said that I’ve not seen him on Gtalk for sometime so not sure what his movements are. Cheers, Tim On 31/05/2009 22:50, Derek Chen-Becker dchenbec...@gmail.com wrote: No, because they're intended to be formatting for the Scaladoc. Note that I escape entities within the table that should be displayed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: YA menu question: separate menus
If I have some time tomorrow I'll look into getting both of these working. I think that with a little refactorization of the Menu.builder code into common methods that this should be pretty simple. Derek On Mon, Jun 8, 2009 at 3:24 PM, glenn gl...@exmbly.com wrote: I have a similar request: namely, being able to apply expandAll=true attribute not just to lift:Menu.builder.../ but to lift:Menu.group name=mygroup/ and lift:Menu.item name=myMenu/, or, as Joe requests below, to any siteMap that is not the root siteMap. Glenn... On Jun 8, 2:06 pm, Joe Wass j...@folktunefinder.com wrote: Sorry for yet another menu question. I have scoured this list first, I promise! I'm trying to do something I think is quite simple: Two [or any nuumber of] menus (with children). Two different templates. One menu and children shows up on one template, one shows up on another. They are each nested menus (i.e. I have two Menus, each with child menu items). You can directly go to any page you want, but only certain Menu items show up on certain templates. I had thought I could put a guard (the last argument of the Loc) to only show a menu when the request string contains part of the path, but of course, that prevents you from navigating there in the first place so that's out. I've seen this post : http://groups.google.com/group/liftweb/browse_thread/thread/dbdf6a17b... but it doesn't quite do what I want: I want to be able to show a whole Menu at a time, not have to list each individual item in the template. I'd like to do something like this: lift:Menu.builder menuName=menu_name/ Any ideas? I'll accept a hack, I'm short on time! Bonus marks: how do you set a menu to be expanded by default (without having to be on the root node's page)? I saw `expandAll=true` somewhere, but that doesn't do anything... Thanks! Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: YA menu question: separate menus
What I really wanted was a menu group. Doing things in groups has solved my particular question. Glenn, can you not just use groups? Do you need the hierarchal behaviour of nested menus? Joe On Jun 8, 10:24 pm, glenn gl...@exmbly.com wrote: I have a similar request: namely, being able to apply expandAll=true attribute not just to lift:Menu.builder.../ but to lift:Menu.group name=mygroup/ and lift:Menu.item name=myMenu/, or, as Joe requests below, to any siteMap that is not the root siteMap. Glenn... On Jun 8, 2:06 pm, Joe Wass j...@folktunefinder.com wrote: Sorry for yet another menu question. I have scoured this list first, I promise! I'm trying to do something I think is quite simple: Two [or any nuumber of] menus (with children). Two different templates. One menu and children shows up on one template, one shows up on another. They are each nested menus (i.e. I have two Menus, each with child menu items). You can directly go to any page you want, but only certain Menu items show up on certain templates. I had thought I could put a guard (the last argument of the Loc) to only show a menu when the request string contains part of the path, but of course, that prevents you from navigating there in the first place so that's out. I've seen this post :http://groups.google.com/group/liftweb/browse_thread/thread/dbdf6a17b... but it doesn't quite do what I want: I want to be able to show a whole Menu at a time, not have to list each individual item in the template. I'd like to do something like this: lift:Menu.builder menuName=menu_name/ Any ideas? I'll accept a hack, I'm short on time! Bonus marks: how do you set a menu to be expanded by default (without having to be on the root node's page)? I saw `expandAll=true` somewhere, but that doesn't do anything... Thanks! Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Great pictures from the Scala Lift Off
On Mon, Jun 8, 2009 at 12:37 PM, Viktor Klang viktor.kl...@gmail.comwrote: On Mon, Jun 8, 2009 at 8:09 PM, Timothy Perrett timo...@getintheloop.euwrote: w00t!! Marius, Viktor, Heiko... You think you guys will be able to make the trip to EPFL? I'll be there with bells on! I'll check the budget! ;) The beer budget or the travel budget? Cheers, Tim Sent from my iPhone On 8 Jun 2009, at 18:43, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker dchenbec...@gmail.com dchenbec...@gmail.com wrote: I'm still pushing for a Scala on Skis conference out here in Colorado ;) It's looking like Scala on Skis will be held in Lausanne, Switzerland in Spring 2010. We'll also have a Scala Lift Off in the Washington, DC area in October 2009. Maybe we'll have a Denver-based conference in 2010. Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures:http://picasaweb.google.com/ilyas239/Scalaliftoff09# http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://lifthttp://liftweb.net web.net Beginning Scalahttp:// http://www.apress.com/book/view/1430219890 www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpphttp://twitter.com/dpp Git some: http://github.com/dpphttp://github.com/dpp -- Lift, the simply functional web framework http://liftweb.net http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpphttp://twitter.com/dpp Git some: http://github.com/dpphttp://github.com/dpp -- Viktor Klang Rockstar Developer -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: JTA
Jonas, i just got back from a week of Guitar on Raft Island. So, i just saw this message. If you want any help, design review, code review, peanuts from the peanut gallery, just give me a shout. Also, i wanted to reiterate that i think you can also provide an annotation-style solution over the top of a monadic solution -- which i think would solve some concerns Josh might have raised (if my music-addled brain has grasped them). i'm looking forward to see what you come up with. Best wishes, --greg On Sat, May 30, 2009 at 1:15 PM, Jonas Bonér jbo...@gmail.com wrote: Thanks a lot Greg. That's sounds like a great idea. I'll see what I can come up with. /Jonas 2009/5/30 Meredith Gregory lgreg.mered...@gmail.com: Jonas, i applaud the effort. i agree with DPP sentiments regarding annotations. That said, i feel pretty comfortable that transactions fit entirely in a monadic context. Since LINQ demonstrates that query fits into monadic context, and there's already at least one Scala implementation of LINQ, might i suggest that you come up with a monadic presentation first and then map the sugar to that. My guess is that the sugar will be informed by the monadic presentation. To be suggestive... think of a context with a Tx object, TxCtxt, as like an Option widget. Then you do stuff inside a transaction via for ( myTransactedWidget - TxCtxt if someCondition ) yield { someOperationsThatNeedToBeTransacted } If you implement flatMap, yada, on TxCtxt you can have fun with nested transaction semantics. The point is that this should just work with a LINQ-like presentation of query. Best wishes, --greg On Fri, May 29, 2009 at 6:54 AM, Jonas Bonér jbo...@gmail.com wrote: I'll go for closures. Much simpler and less intrusive into Lift. The current impl is based on Atomikos and Hibernate, I'll start with pushing that in and we can make it pluggable later. For example for Hibernate one need to add a line to the hibernate config to register the org.hibernate.transaction.TransactionManagerLookup class in order to make Hibernate aware of our TX manager. Should I fork the github repo and submit patches or how do you guys work? /Jonas 2009/5/29 Derek Chen-Becker dchenbec...@gmail.com: I'd vote for closures. We use annotations for JPA because we have to, but IMHO closures provide a nicer semantic approach because they syntactically enclose the block where the action is occurring. Derek On Fri, May 29, 2009 at 7:44 AM, Jonas Bonér jbo...@gmail.com wrote: No perf difference. The annotations are turned into the same exact closures. 2009/5/29 Timothy Perrett timo...@getintheloop.eu: Are there any performance implications considering closures vs annotations? Agreed that closures are more lift like however. Cheers, Tim On 29/05/2009 10:21, marius d. marius.dan...@gmail.com wrote: 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 jbo...@gmail.com wrote: Hi guys. I have been talking with David Pollak the rest of the lift team about adding JTA to Lift. I have implemented that for a product written in Scala some time ago. Now some of that code is OSS at:http://github.com/jboner/skalman/tree We used using two different APIs. 1. Annotations (would require Lift to support proxied objects, e.g. grab them from a factory): @TransactionAttribute(REQUIRED) def transactionalMethod = { ... } 2. Call-by-name: withTxRequired { ... // do transational stuff } But I don't know what fits Lift and would like to know how you guys would like to have JTA integrated. At which level? Which APIs? Etc. -- Jonas Bonér twitter: @jboner blog:http://jonasboner.com work: http://crisp.se work: http://scalablesolutions.se code: http://github.com/jboner -- Jonas Bonér twitter: @jboner blog:http://jonasboner.com work: http://crisp.se work: http://scalablesolutions.se code: http://github.com/jboner -- Jonas Bonér twitter: @jboner blog:http://jonasboner.com work: http://crisp.se work: http://scalablesolutions.se code: http://github.com/jboner -- L.G. Meredith Managing Partner Biosimilarity LLC 1219 NW 83rd St Seattle, WA 98117 +1 206.650.3740 http://biosimilarity.blogspot.com -- Jonas Bonér twitter: @jboner blog:http://jonasboner.com work: http://crisp.se work: http://scalablesolutions.se code: http://github.com/jboner -- L.G. Meredith
[Lift] Re: Great pictures from the Scala Lift Off
http://scalaliftoff.com/happening/Reston+VA+09 October 30th, 2009 On Mon, Jun 8, 2009 at 1:06 PM, Dean Wampler deanwamp...@gmail.com wrote: Is the date set for the Washington, DC meeting? On Mon, Jun 8, 2009 at 12:43 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Jun 8, 2009 at 10:29 AM, Derek Chen-Becker dchenbec...@gmail.com wrote: I'm still pushing for a Scala on Skis conference out here in Colorado ;) It's looking like Scala on Skis will be held in Lausanne, Switzerland in Spring 2010. We'll also have a Scala Lift Off in the Washington, DC area in October 2009. Maybe we'll have a Denver-based conference in 2010. Derek On Mon, Jun 8, 2009 at 11:14 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sweet! So jeleous of you guys cant wait to have a EMEA scala geek meet! Then myself, Viktor and Heiko can really hit the beers ;-) Cheers, Tim On Jun 8, 5:53 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Ilya not only writes great IDE plugins, he takes good pictures: http://picasaweb.google.com/ilyas239/Scalaliftoff09# Thanks, David -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Git some:http://github.com/dpp -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp -- Dean Wampler coauthor of Programming Scala (O'Reilly) twitter: @deanwampler, @chicagoscala Chicago-Area Scala Enthusiasts (CASE): - http://groups.google.com/group/chicagoscala - http://www.meetup.com/chicagoscala/ (Meetings) http://www.objectmentor.com http://www.polyglotprogramming.com http://www.aspectprogramming.com http://aquarium.rubyforge.org http://www.contract4j.org -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: YA menu question: separate menus
Yes, I would like the expandAll behavior to work for groups and for non- root siteMaps. Here's a specific use-case. The MenuWidget in the lift-widgets package just passes everything through as def render : NodeSeq = { head ++ lift:Menu.builder expandAll=true top:class= {style.toString} / } So, even though the MenuWidget object has factory methods for using a non-root siteMap, only the root siteMap is ever used. That's because Menu.builder calls a private function renderWhat, like so: val toRender = renderWhat(expandAll) which iterates through the root siteMap. There is no way, really, to subclass that to use a different siteMap. The problem with the Menu.group snippet is that it just works off the named group in the root siteMap, creating a parent node, but not the kids. It would be nice to use MenuWidget, or some subclass, to create a superfish-style nav-bar or horizontal menu for groups or non-root siteMaps just as easily as for the entire root siteMap. Glenn... On Jun 8, 3:51 pm, Joe Wass j...@folktunefinder.com wrote: What I really wanted was a menu group. Doing things in groups has solved my particular question. Glenn, can you not just use groups? Do you need the hierarchal behaviour of nested menus? Joe On Jun 8, 10:24 pm, glenn gl...@exmbly.com wrote: I have a similar request: namely, being able to apply expandAll=true attribute not just to lift:Menu.builder.../ but to lift:Menu.group name=mygroup/ and lift:Menu.item name=myMenu/, or, as Joe requests below, to any siteMap that is not the root siteMap. Glenn... On Jun 8, 2:06 pm, Joe Wass j...@folktunefinder.com wrote: Sorry for yet another menu question. I have scoured this list first, I promise! I'm trying to do something I think is quite simple: Two [or any nuumber of] menus (with children). Two different templates. One menu and children shows up on one template, one shows up on another. They are each nested menus (i.e. I have two Menus, each with child menu items). You can directly go to any page you want, but only certain Menu items show up on certain templates. I had thought I could put a guard (the last argument of the Loc) to only show a menu when the request string contains part of the path, but of course, that prevents you from navigating there in the first place so that's out. I've seen this post :http://groups.google.com/group/liftweb/browse_thread/thread/dbdf6a17b... but it doesn't quite do what I want: I want to be able to show a whole Menu at a time, not have to list each individual item in the template. I'd like to do something like this: lift:Menu.builder menuName=menu_name/ Any ideas? I'll accept a hack, I'm short on time! Bonus marks: how do you set a menu to be expanded by default (without having to be on the root node's page)? I saw `expandAll=true` somewhere, but that doesn't do anything... Thanks! Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: your first Lift application on GAE/J
Hi, On Mon, Jun 8, 2009 at 11:38 PM, Amit Kumar Vermacdac.a...@gmail.com wrote: $ mvn package ... --- T E S T S --- Running test.test.test.AppTest [Fatal Error] :3:4: The markup in the document following the root element must be well-formed. I guess that the problem has happened in parsing your src/main/web/app/WEB-INF/appengine-web.xml That message says that the problem has occurred at line 3rd and column 4th. Please check it again. And what is the meaning of STEP 4 and STEP 5 $ appengine-java-sdk-1.2.0/bin/dev_appserver.sh target/test-1.0- SNAPSHOT $ appengine-java-sdk-1.2.0/bin/appcfg.sh update target/test-1.0- SNAPSHOT where is this appengine-java-sdk-1.2.0 is located ??? You can grab it at http://code.google.com/intl/en/appengine/downloads.html#Google_App_Engine_SDK_for_Java , and the latest version is 1.2.1 at the present time. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---