K
kal
I am a JSF programmer, inheriting a project from someone else.
We have a lot of duplicated code in several places, where the only
difference is a different managed bean.
There are over 10 pages where you could cut and paste page A into page
B, and search and replace the bean (that is probably what someone did).
I am wondering what is the right way to handle this?
My coworker said she wanted me to write a custom tag that would serve
the purpose of the duplicated code, we would just give a different
bean.
I thought that was overkill.
I was just wondering what is the "correct" way to handle this issue?
Thanks
Kal
We have a lot of duplicated code in several places, where the only
difference is a different managed bean.
There are over 10 pages where you could cut and paste page A into page
B, and search and replace the bean (that is probably what someone did).
I am wondering what is the right way to handle this?
My coworker said she wanted me to write a custom tag that would serve
the purpose of the duplicated code, we would just give a different
bean.
I thought that was overkill.
I was just wondering what is the "correct" way to handle this issue?
Thanks
Kal