I made an application using the JSF-JPA archetype pattern for list and edit screens, extending from AbstractListPageBean
and AbstractEditPageBean
respectively, using Bookmark pages as a reference.
I saw the "New" and "Delete" buttons have actionListener
pointing to the clear()
method. In the editing screens the AbstractEditPageBean
has the same method but is not called.
Should%% be always called when exiting the screen to avoid accumulation of objects in memory?