[Lift] Re: Another convert

2010-02-19 Thread Luke Nezda
shameless plug :) On Feb 18, 11:34 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Feb 18, 2010 at 5:25 AM, czerwonka andy.czerwo...@gmail.com wrote: Just an fyi for the group... http://www.andyczerwonka.com/platform Another convert added to the list... Welcome! --

[Lift] redirectTo in (Stateful)Snippets

2010-02-19 Thread Restel, Hannes
Hi, I am new to Lift (and Scala) and need help with dispatching/redirecting to a page after processing a form. My problem: I get a The Requested URL /search was not found on this server error message although the page search.html does exist. When adding the page search.html to the

[Lift] Comet issue for Lift-2.0-scala280-SNAPSHOT

2010-02-19 Thread tbje
Hi, I've been testing out the Lift-2.0-scala280-SNAPSHOT a little bit and found a issue with Comet actor, setHtml and ajaxInvoke. When trying to invoke the following partial update nothing seems to happen: partialUpdate(SetHtml(field, input type=button onclick={ajaxInvoke(() =

[Lift] Re: redirectTo in (Stateful)Snippets

2010-02-19 Thread Nico Tromp
Hannes, did you registered the page in the in the Boot class? Below is a small example. === class Boot { def boot { // where to search snippet // LiftRules.addToPackages(enter your package) // Build SiteMap val entries = Menu(Loc(Home, List(index),

[Lift] Re: redirectTo in (Stateful)Snippets

2010-02-19 Thread Nico Tromp
Hannes, did you register your page in the site menu? See below for an example. class Boot { def boot { // where to search snippet // LiftRules.addToPackages(enter your package here) // Build SiteMap val entries = Menu(Loc(Home, List(index), Home)) :: Menu(Loc(Search,

[Lift] Re: Comet issue for Lift-2.0-scala280-SNAPSHOT

2010-02-19 Thread Marius
Can you also try with Scala 2.7.7 ? On Feb 19, 2:26 pm, tbje trond.bjerkestr...@gmail.com wrote: Hi, I've been testing out the Lift-2.0-scala280-SNAPSHOT a little bit and found a issue with Comet actor, setHtml and ajaxInvoke. When trying to invoke the following partial update nothing seems

[Lift] Re: redirectTo in (Stateful)Snippets

2010-02-19 Thread Nico Tromp
Hannes, sorry for the strange :) sentence. It should read: did you register the page in the Boot class? If you want to know more about the SiteMap have a look at chapter 5 from the lift book. At the bottom of the page (http:// groups.google.com/group/the-lift-book) there is a link to the PDF

[Lift] Re: Comet issue for Lift-2.0-scala280-SNAPSHOT

2010-02-19 Thread tbje
Hi Marius, I discovered the issue while porting a working application from 2.7.7 to lift 2.0-scala280-SNAPSHOT and scala 2.8.0.Beta1. In the example application I provided it's possible to change the pom.xml by replacing scala.version2.8.0.Beta1/scala.version

Re: [Lift] Re: Comet issue for Lift-2.0-scala280-SNAPSHOT

2010-02-19 Thread David Pollak
Please open a ticket at https://liftweb.assembla.com/spaces/liftweb/tickets(you have to be an Assembla registered user and a watcher of the project to create tickets). Please mark it as a defect and assign it to me (Marius or others can steal it at will). Next week is a Lift ticket closing week

[Lift] Re: Comet issue for Lift-2.0-scala280-SNAPSHOT

2010-02-19 Thread Marius
Yeah AFAIK Scala 2.8 integration is not 100% done and fully tested. Br's, Marius On Feb 19, 3:52 pm, tbje trond.bjerkestr...@gmail.com wrote: Hi Marius, I discovered the issue while porting a working application from 2.7.7 to lift 2.0-scala280-SNAPSHOT and scala 2.8.0.Beta1. In the example

[Lift] Re: Comet issue for Lift-2.0-scala280-SNAPSHOT

2010-02-19 Thread tbje
Thank you for rapid replies and a great framework. I opened ticket #357 for this issue. Best regards Trond On 19 Feb, 15:22, Marius marius.dan...@gmail.com wrote: Yeah AFAIK Scala 2.8 integration is not 100% done and fully tested. Br's, Marius On Feb 19, 3:52 pm, tbje

Re: [Lift] Re: Comet issue for Lift-2.0-scala280-SNAPSHOT

2010-02-19 Thread Indrajit Raychaudhuri
Trond, From cursory glance it appears that some old form of archetype (pre Lift 2.0) had been used to generate the project. What command line option did you use in mvn archetype:generate to create the project? This is just a request for qualification. Cheers, Indrajit On 19/02/10 8:22 PM,

[Lift] Documenting the source code / supplementing the API docs

2010-02-19 Thread Stuart Roebuck
I've had a bit of a break from Lift and coming back I find myself annoyed that I didn't write some notes last time and am having to go back to searching through the various bits of documentation to figure things out. Anyway, after much thought I decided that the best way to write my notes would

Re: [Lift] Documenting the source code / supplementing the API docs

2010-02-19 Thread Ross Mellgren
If you can get an established standard on what the content and format should be, I can work with you reviewing the patches and applying them. But, need to get a concordance from the list on the content first. -Ross On Feb 19, 2010, at 10:53 AM, Stuart Roebuck wrote: I've had a bit of a break

Re: [Lift] Documenting the source code / supplementing the API docs

2010-02-19 Thread Timothy Perrett
This could work - although, some parts of lift are very non-trivial and require good knowledge of lift internals. Do you have such knowledge or are you just hoping to contribute where you can with helpful information? Both are good, just trying to establish what you had in mind. Lift-util

[Lift] Re: serializing and deserializing a json object through Lift-JSON

2010-02-19 Thread Ali
Hi, I am wondering, could you please let me know what is wrong in the following code: case class X(vv:String) val sample = new X(A) implicit val formats = net.liftweb.json.DefaultFormats import net.liftweb.json.JsonAST._ import net.liftweb.json.Extraction._ import

[Lift] Re: translate doc to Russian

2010-02-19 Thread DChenBecker
I say yes. Adel, if you need something more concrete I've written up a signed statement for you. Derek On Feb 18, 1:26 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Feb 18, 2010 at 11:55 AM, TylerWeir tyler.w...@gmail.com wrote: I grant permission for the Russian translation.

[Lift] Re: serializing and deserializing a json object through Lift-JSON

2010-02-19 Thread Joni Freeman
Hi, Can't reproduce that. Those lines should work just fine. From which line do you get that exception (please attach full stack trace too)? Cheers Joni On Feb 20, 12:16 am, Ali saleh...@gmail.com wrote: Hi,  I am wondering, could you please let me know what is wrong in the following code:

[Lift] Re: serializing and deserializing a json object through Lift-JSON

2010-02-19 Thread Joni Freeman
Is X perhaps an inner class? Inner class has an implicit reference to outer instance. Serializing those is not supported. If so, please move definition of X outside of class. Cheers Joni On Feb 20, 12:16 am, Ali saleh...@gmail.com wrote: Hi,  I am wondering, could you please let me know what

[Lift] Potential breaking changes - lift-record's support for JSON

2010-02-19 Thread Ross Mellgren
Hi all, I'm wondering how many people are using lift-record's support for JSON: Record.fromJSON Record.asJSON MetaRecord.createRecord(json) MetaRecord.fromJSON MetaRecord.asJSON Field.asJs The reason I'm wondering is that the JSON support should really use lift-json, and I'd like

[Lift] Re: serializing and deserializing a json object through Lift-JSON

2010-02-19 Thread Ali
Thanks for your reply. Actually I was trying to build an exception I am receiving in our product. case class X(yy:Y) case class Y(ss:String) def from(in:String):X={ implicit val formats = net.liftweb.json.DefaultFormats import net.liftweb.json.JsonAST._ import