posted 17 years ago
Hi! In my webapplication a user can list items in a db. The Items can be fetched in many numerous ways. By brand, by category, subcategory, department etc. The view looks exactly the same but the top is slightly different.
When the items is viewed a user can filter the items to be more specific. The problem is I don't know exactly on how to design the Action class. Should I use one action class that has get,set for brand, department etc and check if the parameter is empty or what is the normal approach?
Sould I have a diffrent Action class when Brand, Department, Subcategory ( in a droplist in the view ).
Any suggestions