How to clear page but not to delete object?

Hi, can someone answer me how to remove some data  on page but i want that data to be stored in domain model? when i use delete object it clears page but also remove that object from domain model even if option ‘keep object’ is selected
1 answers

Could you add an attribute and control visibility based on that? So if you want to hide an object from the page, but not delete it, set the attribute, and only display that object if that attribute is set to the correct value.