Using detachable models in edit pages

2008-02-01 Thread Sam Barnum
Good explanation, I wasn't aware that was how it worked. Time to switch all my edit pages to use detachable models! One more question on this topic (changing the subject of the thread) Consider the scenario: * Your edit page uses a detachable model to hold your business object. * The user

Re: Using detachable models in edit pages

2008-02-01 Thread Igor Vaynberg
how i have handled this so far: if load fails it throws EntityNotFoundException, in requestcycle.onruntimeexception() i check if this is in the stack, and if it is i redirect the user to object you are working on has been deleted by another user error page. -igor On Feb 1, 2008 8:24 AM, Sam