On Thu, Feb 4, 2010 at 11:50 AM, harryh <[email protected]> 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?
>

There are a couple of options:


   - A global flag indicating that the fields are marked clean/dirty on
   deserialization
   - Serializing the dirty-state of each field (e.g., field_name_$dirty:
   true)
   - A thread-local flag for the default dirty/clean

Got a preference?


>
> -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]<liftweb%[email protected]>
> .
> 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 [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