Terry Bailey wrote: if I can parameterize the bean method then the code would be a lot neater...
Actually, I'd argue the opposite.
First, because there would be a 1-to-1 correspondence between the tabs and methods, which would make more sense to maintenance personnel.
Second, because although there would be more methods, each method would be simpler.
Third, because the more conditional statements you code, the more potentials for wrong turns, missed code (or the opposite - code that shouldn't be executed).
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.