I want to create an "extendable" user interface/action design that can quickly allow me to create new views for addtional custom products. These custom products need to have validation on certain fields etc.
Here is what I was thinking...
- Create an abstract "ProductAction" that handles the simple stuff
- Create a concrete "SomeCustomProductAction", that handles the saving etc.
The issue is that I need to have a new set of views for the "CustomProduct" so I can capture that information, however, I am finding that when I go down this road, my struts.xml is getting quite complex.
Is there a way in Struts "out of the box" to handle this? Are there any approaches anyone can propose to make extending "actions/views" easier?