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 do a One->Many, or master detail view. So I tried > the obvious: > <lift:PersonSnippets.save form="post"> > <!-- form --> > </lift:PersonSnippets.save> > <lift:PersonSnippets.addContactMechanism form="post"> > </lift:PersonSnippets.addContactMechanism> > > However, the HTML that gets generated is the same form for both. > Is there an example somewhere I've missed about how to do this? > -- > James A Barrows > > > -- > > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
