[Lift] Re: Mapper and Primary Keys

2009-09-02 Thread Somindra Bhattacharya
On Sep 2, 2:24 pm, Somindra Bhattacharya somind...@gmail.com wrote: On Jul 30, 3:36 am, David Pollak feeder.of.the.be...@gmail.com wrote: I had to add a property on MappedField for dbGenerated_? which has to be set to false. Here's the change set and the revised, working (wait for an hour

[Lift] Re: Mapper and Primary Keys

2009-09-03 Thread Somindra Bhattacharya
are in order at give it another spin :) Cheers, Indrajit On Sep 2, 7:29 pm, Somindra  Bhattacharya somind...@gmail.com wrote: Hi again, I just wanted to mention that I cannot override dbAutogenerated_?. I get the following error: error: method dbAutogenerated_? overrides nothing     override

[Lift] Mapper tries to insert entry instead of updating fetched entry

2009-09-07 Thread Somindra Bhattacharya
Hi Everyone, I am writing a simple application which, given a HTTP PUT request, attempts to retrieve an entry from the database (MySql in this case), update the entry and respond appropriately. The entry in question has an unique primary key. Here is the code in question: def update(serial:

[Lift] Re: Mapper tries to insert entry instead of updating fetched entry

2009-09-07 Thread Somindra Bhattacharya
 Bhattacharyasomind...@gmail.com wrote: On Sep 7, 1:12 pm, Somindra  Bhattacharya somind...@gmail.com wrote: Hi Everyone, I am writing a simple application which, given a HTTP PUT request, attempts to retrieve an entry from the database (MySql in this case), update the entry and respond

[Lift] Re: Mapper tries to insert entry instead of updating fetched entry

2009-09-07 Thread Somindra Bhattacharya
will be grateful if someone could give me some pointers on how to debug this issue. Thanks, Som On Sep 7, 7:00 pm, Somindra Bhattacharya somind...@gmail.com wrote: On Sep 7, 6:23 pm, Naftoli Gugenheim naftoli...@gmail.com wrote: What is the return value of saved_? on the mapper? Also I

[Lift] StatefulComet example code?

2009-09-10 Thread Somindra Bhattacharya
Hi Folks, Please could someone point me to any example code that uses the StatefulComet? It would be very helpful. Thanks, Som --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send

[Lift] Re: StatefulComet example code?

2009-09-10 Thread Somindra Bhattacharya
Thank you! On Sep 10, 2:16 pm, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Thu, Sep 10, 2009 at 5:46 PM, Somindra Bhattacharyasomind...@gmail.com wrote: Hi Folks, Please could someone point me to any example code that uses the StatefulComet? It would be very helpful.

[Lift] Binding a snippet in a comet actor?

2009-10-06 Thread Somindra Bhattacharya
Hi Everyone, I have a comet actor that binds XHTML. The XHTML corresponds to a snippet: XHTML for comet actor - lift:comet type=RCActor Act:act / /lift:comet When the comet actor receives a certain message, the render method of the comet actor binds the following XHTML -

[Lift] Re: Binding a snippet in a comet actor?

2009-10-07 Thread Somindra Bhattacharya
:52 AM, Somindra  Bhattacharya somind...@gmail.com wrote: Hi Everyone, I have a comet actor that binds XHTML. The XHTML corresponds to a snippet: XHTML for comet actor -  lift:comet type=RCActor    Act:act /  /lift:comet When the comet actor receives a certain message

[Lift] Re: Binding a snippet in a comet actor?

2009-10-07 Thread Somindra Bhattacharya
Apologies for bumping this. Is there a way to get the submit button (or an ajaxButton) to work if the snippet which was not originally part of the page is bound by a comet actor? Thanks, Som On Oct 7, 12:32 pm, Somindra Bhattacharya somind...@gmail.com wrote: Thanks for responding, Naftoli

[Lift] Re: Binding a snippet in a comet actor?

2009-10-09 Thread Somindra Bhattacharya
code. On Wed, Oct 7, 2009 at 9:13 PM, Somindra Bhattacharya somind...@gmail.comwrote: Apologies for bumping this. Is there a way to get the submit button (or an ajaxButton) to work if the snippet which was not originally part of the page is bound by a comet actor? Thanks, Som

[Lift] Re: Binding a snippet in a comet actor?

2009-10-09 Thread Somindra Bhattacharya
Thanks David! On Oct 10, 12:17 am, David Pollak feeder.of.the.be...@gmail.com wrote: This is a defect.  I've opened a ticket:http://github.com/dpp/liftweb/issues#issue/93 I'll have a fix checked in later today On Fri, Oct 9, 2009 at 1:02 AM, Somindra Bhattacharya somind...@gmail.comwrote