-
Sep 25th, 2006, 04:47 AM
#1
AbstractWizardController and hibernate subclass
I have a Contact, which the user may wish to change to a CompanyContact - which extends Contact. On a postProcessPage for a new page '3' (which basically means that the user wants a company contact) I'd like to change the command object - create a new one based on the new super-class.
When I create the new object, setting command = new CompanyContact, the scope after the postProcessPage method seems to revert back to the Contact class. Is there any way of getting round this? Or should I look for alternatives which don't confuse spring and the error wrapper etc?
hmmm
Adam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules