Excellent. He's already where I was headed :)
On Wed, Nov 25, 2009 at 8:51 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
Kris blogged about a really nice pattern: http://logji.blogspot.com/
On Wed, Nov 25, 2009 at 3:16 PM, Jim Barrows jim.barr...@gmail.comwrote:
I'm using JPA, and
Agreed - Kirs' idea is a nice one. It would be good to incorporate such a
pattern in the lift examples.
Cheers, Tim
On 26 Nov 2009, at 15:42, Jim Barrows wrote:
Excellent. He's already where I was headed :)
On Wed, Nov 25, 2009 at 8:51 PM, David Pollak feeder.of.the.be...@gmail.com
I don't think that that should be happening, but I would need to see the
code for PersonSnippets to really see what's going on.
Derek
On Wed, Nov 25, 2009 at 4:16 PM, Jim Barrows jim.barr...@gmail.com wrote:
I'm using JPA, and need to do a One-Many, or master detail view. So I
tried the
package com.nsfw.snippet
import _root_.net.liftweb._
import common.{Empty, Full, Box}
import sitemap.{Loc}
import http._
import js.{JsCmd, JsCmds}
import JsCmds._
import S._
import SHtml._
import util._
import Helpers._
import _root_.javax.persistence.{EntityExistsException,
Lift does not use markup like that - there is no magic mapping between
persistence and view.
You would most likly have to construct the appropriate master - detail code in
your snippets and work like that.
Cheers, Tim
On 25 Nov 2009, at 23:16, Jim Barrows wrote:
I'm using JPA, and need to
On Wed, Nov 25, 2009 at 4:26 PM, Timothy Perrett timo...@getintheloop.euwrote:
Lift does not use markup like that - there is no magic mapping between
persistence and view.
You would most likly have to construct the appropriate master - detail
code in your snippets and work like that.
That markup should be in a template file somewhere, which would then call
the snippets appropriately. I don't see markup for a second form, but I
might just be missing it.
A couple of other notes:
- Generally, on links, omit the suffix and Lift will then do I18N lookup
for you as needed.
ARGGG
It's contactMechanism:comment not contactMechanism.comment
It's colons not dots in xhtml
It's colons not dots in xhtml
It's colons not dots in xhtml
It's colons not dots in xhtml
It's colons not dots in xhtml
it's colons not dots in xhtml
It's colons not dots in xhtml
It's
Well, except for after the snippet class name in lift:Snippet tags ;-)
-Ross
On Nov 25, 2009, at 7:45 PM, Jim Barrows wrote:
ARGGG
It's contactMechanism:comment not contactMechanism.comment
It's colons not dots in xhtml
It's colons not dots in xhtml
It's colons not dots
Kris blogged about a really nice pattern: http://logji.blogspot.com/
On Wed, Nov 25, 2009 at 3:16 PM, Jim Barrows jim.barr...@gmail.com wrote:
I'm using JPA, and need to do a One-Many, or master detail view. So I
tried the obvious:
lift:PersonSnippets.save form=post
!-- form --
10 matches
Mail list logo