-------------------------------------
Randinn<ran...@gmail.com> wrote:
Does anyone know of some sample code that shows Json extract with a
mapper model?
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
http://paste.pocoo.org/show/165511/
http://paste.pocoo.org/show/165532/
On Jan 28, 6:10 am, Naftoli Gugenheim <naftoli...@gmail.com> wrote:
> Do you have a question about lift-json per se, or lift-mapper per se? Or do you want to know whether there is some built in integration?
>
> -------------------------------------
>
-------------------------------------
On Jan 28, 6:38 am, Naftoli Gugenheim <naftoli...@gmail.com> wrote:
> So it's a mapper question?
>
> -------------------------------------
>
-------------------------------------
On Jan 28, 8:58 am, Naftoli Gugenheim <naftoli...@gmail.com> wrote:
> Okay, so can you clarify a bit more? Do you have a mapper class with fields defined? Do you know how to instantiate it? To set the value of its fields? To save it (back) to the database?
>
> -------------------------------------
>
-------------------------------------
Randinn<ran...@gmail.com> wrote:
I think so, the code on the paste site is the model and the snippit (I
have made some minor changes since I posted those), the trouble I'm
having is figuring out how to save it (to take it from the extracted
Json).
On Jan 28, 8:58 am, Naftoli Gugenheim <naftoli...@gmail.com> wrote:
> Okay, so can you clarify a bit more? Do you have a mapper class with fields defined? Do you know how to instantiate it? To set the value of its fields? To save it (back) to the database?
>
> -------------------------------------
>
> Randinn<rand...@gmail.com> wrote:
>
> Yes, it seems so.
>
> On Jan 28, 6:38 am, Naftoli Gugenheim <naftoli...@gmail.com> wrote:
>
>
>
> > So it's a mapper question?
>
> > -------------------------------------
>
On Jan 28, 9:13 am, David Pollak <feeder.of.the.be...@gmail.com>
wrote:
> Have you looked at .asJs which will render your component as a JsExp?
>
> If you're looking for bi-directional stuff, please seehttp://groups.google.com/group/liftweb/browse_thread/thread/80e8b2e87...
>
>
>
> On Wed, Jan 27, 2010 at 11:23 AM, Randinn <rand...@gmail.com> wrote:
> > Well, I have this snippit and model and need to figure out how to take
> > the extracted information and paste it into the model. I was just
> > looking for some example code to discern how to do it.
>
> >http://paste.pocoo.org/show/165511/
>
> >http://paste.pocoo.org/show/165532/
>
> > On Jan 28, 6:10 am, Naftoli Gugenheim <naftoli...@gmail.com> wrote:
> > > Do you have a question about lift-json per se, or lift-mapper per se? Or
> > do you want to know whether there is some built in integration?
>
> > > -------------------------------------
>
> > > Randinn<rand...@gmail.com> wrote:
>
> > > Does anyone know of some sample code that shows Json extract with a
> > > mapper model?
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Lift" group.
> > > To post to this group, send email to lif...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > liftweb+u...@googlegroups.com<liftweb%2Bunsu...@googlegroups.com>
> > .
> > > For more options, visit this group athttp://
> > 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 lif...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > liftweb+u...@googlegroups.com<liftweb%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/liftweb?hl=en.
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890