Is LongMappedMapper now superfluous? ------------------------------------- David Pollak<feeder.of.the.be...@gmail.com> wrote:
On Wed, Jan 13, 2010 at 8:06 AM, Guy <dnd1...@gmail.com> wrote: > hi all, > > stupid question about MappedForeignKey - it seems that it must be > interacted with by setting the value with the actual key (as opposed > to the 'object' that the key belongs to). is there an equivalent so > that the value can be set with the actual object (a la Hibernate)? > > i arrived at this in a roundabout way - i'm trying to validate a form > field against another form field that maps to an object - both fields > are being updated. during the validation phase, the key value in the > MappedForeignKey has been updated (x.is) but x.obj is still caching > the 'old' value. is there a way around this (apart from just doing a > lookup against the new key)? > Sounds like you're using Lift 1.0 This behavior was changed around Lift 1.1 M6. > > cheers > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. 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 lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.