I Would like to know how to set inside execStore
function that "dirty" flag is still on.
I see that in scout function for saving markSaved()
is called after execStore()
. But what if I have some logic in execStore()
, that can prevent save. In this case I would like not to be marked as saved.
Is there a way to avoid setting form as markSaved() ? Is there aright scout way for handling this?
You can:
ProcessingException
or VetoException
) during execStore()
setFormStored(false);
[it works with Eclipse Mars]See also in the Scout Forum: execStore() and Confirmation
PS: I did not test it with Eclipse Neon. Please report if this behavour has changed with Neon. I am interested in your findings.