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)?

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.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to