How about:

myMappedObject.runSafe {
     myMappedObject.allFields.foreach(_.resetDirty)
}

?

-Ross

On Feb 4, 2010, at 2:50 PM, harryh wrote:

> At least in my use case this is not idea as I am loading JSON
> serialized mapper objects from memcached and the fields are not, in
> fact, dirty.  There should possibly be some sort of higher level
> mechanism that I can use to indicate that this is the case?
> 
> -harryh
> 
> -- 
> 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.

Reply via email to