Now I work with JSF and Primefaces, how can I reduce code when I use panel to show list member edit, delete and add? I have 10 panels in 1 page, because I want to create application the same desktop (Ubuntu desktop, Windows desktop, Mac desktop). If I have 10 panels in one page, then I must repeat the same code 10 times to create and handle 10 panels.
How can I reduce this code?