I am using form's Dirty flag to set dirty flag on the domain bean, domain bean relates to a record in the database. In my situation I have 2 beans on a page, these beans relate to different tables, I need to set dirty flags on these beans, but if I have one form model I have not way to separate "dirtiness" of domain beans.
I was trying to pass Nested form model to a form derived from AbstractForm and add child, but I cannot do this, getFormModel returns Validating form model.
What shold I do? Thanks.