[Lift] Re: Register new StatefulSnippet

2009-10-30 Thread Naftoli Gugenheim
Hi. I tried the new functionality. Step 1 works: In my edit client link function I call S.setSnippetForClass(Clients, editSnippet) and it brings up the page, using the correct snippet. Now the editing page has a submit button, Duplicate, which for testing purposes I commented out its function

[Lift] Re: Register new StatefulSnippet

2009-10-30 Thread David Pollak
File a ticket with a code sample. On Fri, Oct 30, 2009 at 11:03 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: Hi. I tried the new functionality. Step 1 works: In my edit client link function I call S.setSnippetForClass(Clients, editSnippet) and it brings up the page, using the correct

[Lift] Re: Register new StatefulSnippet

2009-10-30 Thread Naftoli Gugenheim
Do you need a complete project? On Fri, Oct 30, 2009 at 2:09 PM, David Pollak feeder.of.the.be...@gmail.com wrote: File a ticket with a code sample. On Fri, Oct 30, 2009 at 11:03 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: Hi. I tried the new functionality. Step 1 works: In my

[Lift] Re: Register new StatefulSnippet

2009-10-30 Thread Naftoli Gugenheim
I added the following comment: Adding println(names) in the submit function (even after calling S.setSnippetForClass) prints Set(). On the other hand if the snippet was instantiated by Lift then it prints as expected (in my case Set(Clients). On Fri, Oct 30, 2009 at 3:16 PM, Naftoli Gugenheim

[Lift] Re: Register new StatefulSnippet

2009-10-28 Thread Naftoli Gugenheim
Thanks. I greatly appreciate it. - David Pollakfeeder.of.the.be...@gmail.com wrote: I opened a ticket for this. I'll expose functionality so you can register stateful snippets as part of the request process. On Sun, Oct 25, 2009 at 1:09 PM, Naftoli

[Lift] Re: Register new StatefulSnippet

2009-10-27 Thread David Pollak
I opened a ticket for this. I'll expose functionality so you can register stateful snippets as part of the request process. On Sun, Oct 25, 2009 at 1:09 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: This may be more of a feature request than a question. I generally use StatefulSnippets