This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I want to use an action to accept the details for a CandidateBean - this bean wants to be abstract, and I want to have some sort of control that allows me to receive a bean of a child type of the candidate bean instead.
What are my first couple of steps - I'm confused as to how I might do this - should I point the form off to different actions depending on the bean type to be supplied (thus triplicating the effort) or is there an nice way to do this.