[Lift] Re: MetaRecord.asHtml

2008-11-23 Thread Marius
Right ... I think MetaRecord.asHtml should be renamed to toXHtml. This needs to call Field.toXHtml for each field. Now when we render a record to a field 2 templates can be used: 1. A default div based template that would suffice for simple forms 2. A user provided template we should probably ap

[Lift] Re: MetaRecord.asHtml

2008-11-23 Thread Marius
Hi Derek, Glad to see your working on it. MetaRecord.asHtml is not completed. Probably would make sense to add on the Field a toNode function that would be defaulted to Text as you mentioned. Hence MetaRecord.asHtml (should we rename it to toNode as well?) will combine the toNode from the record'

[Lift] MetaRecord.asHtml

2008-11-23 Thread Derek Chen-Becker
I'm writing up the chapter on Record right now (nothing like a moving target!) and I just wanted to confirm that the MetaRecord.asHtml is really intended to default to NodeSeq.Empty. Since there's a default "template" for form generation it seemed a little strange that there isn't a default for dis

[Lift] Re: Response file consolidation

2008-11-23 Thread Tim Perrett
> Excellent No worries > It would be great to having a collection of REST response for xml, json, etc > based on success failure etc As you know, im working on a lot of REST ROA stuff with bloglite - anything useful that can be applied at a framework level i'll add and commit back in. Cheers,

[Lift] One-to-Many mappings with Lift ORM

2008-11-23 Thread Juha L
Hi, I'm trying to learn some Scala and Lift, and I'm currently playing with the Lift mapper. I have however stumbled upon a problem for which I don't seem to be able to find answer from the examples or by using Google. How do you create one-to-many mapping with lift mapper? I have something like

[Lift] Re: Response file consolidation

2008-11-23 Thread David Pollak
Excellent It would be great to having a collection of REST response for xml, json, etc based on success failure etc On Nov 22, 2008 11:21 AM, "Tim Perrett" <[EMAIL PROTECTED]> wrote: Ok - i've done the re-factor and committed. On Nov 22, 7:03 pm, Marius <[EMAIL PROTECTED]> wrote: > As long

[Lift] Re: Derby ij quickstart?

2008-11-23 Thread David Stein
On Sun, Nov 23, 2008 at 10:58 AM, Alex Boisvert <[EMAIL PROTECTED]> wrote: > You also need to use the derbyclient.jar > > e.g. java -cp derbytools-10.2.2.0.jar:derbyclient-10.2.2.0.jar > > or use the derby-10.2.2.10.jar which includes all classes in a single .jar > instead of the module .jars. >

[Lift] Re: Derby ij quickstart?

2008-11-23 Thread Alex Boisvert
You also need to use the derbyclient.jar e.g. java -cp derbytools-10.2.2.0.jar:derbyclient-10.2.2.0.jar or use the derby-10.2.2.10.jar which includes all classes in a single .jar instead of the module .jars. alex On Sun, Nov 23, 2008 at 10:37 AM, David Stein <[EMAIL PROTECTED]> wrote: > > I

[Lift] Re: Query param for SQL "like"?

2008-11-23 Thread Mateusz Fiołka
So you mean I can start my weekend now ;) ? On Fri, Nov 21, 2008 at 8:06 PM, David Pollak <[EMAIL PROTECTED] > wrote: > I've just committed up a Like operator in Mapper. Please give it a try and > let me know how it works. > > > On Fri, Nov 21, 2008 at 8:02 AM, David Pollak < > [EMAIL PROTECTED

[Lift] Re: Query param for SQL "like"?

2008-11-23 Thread Joachim A.
David, it works well for me. Thank you very much for your quick response and implementation! Joachim On 21 Nov., 20:06, "David Pollak" <[EMAIL PROTECTED]> wrote: > I've just committed up a Like operator in Mapper.  Please give it a try and > let me know how it works. > > On Fri, Nov 21, 2008 at

[Lift] Derby ij quickstart?

2008-11-23 Thread David Stein
I added "derby.drda.startNetworkServer=true" to derby.settings as mentioned on http://liftweb.net/index.php/Cheat_Sheet, and I figured out to add the dependency for derbynet.jar in Maven. I can connect with DbVisualize and see various system tables, but I can't see any tables lift created. Not s