On 3/15/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> the problem is most of the time with model objects
>  is that when you have set it. Then that is also a database operation
>  So going back into history with the browser and revering the model object
>  doesn't make much sense then
>  because then you also have to revert the database ooperation
>
>  So model object versioning only makes sense when the object is in mem (like
>  your counter)
>
>  onClick()
>  {
>   Integer counter = getModelObject()
>   setModelObject(counter+1)
>  }

Ok, cool.  Thanks for the help.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to