Page and form lifecycles [message #987260] |
Sun, 25 November 2012 04:53  |
Eclipse User |
|
|
|
Hello,
I have created a Scout project using the outline template and i added several pages.
Some of the pages are not following the paradigm of detailForm and searchForm. Instead of it i have created my own forms and adding them to the page as follows
protected void execPageActivated() throws ProcessingException {
itemForm = new RecomsItemTableForm();
itemForm.startModify();
drForm = new RecomsDoctorTableForm();
drForm.startModify();
hintForm = new RecomsHintTableForm();
hintForm.startModify();
Obviously this is very simplistic, because it does not maintain a life cycle for the forms, and subsequently when the user navigates from one page to other those forms remaining open and the interface cluttering.
I would really appreciate if someone could give me a hint about the lifecycle of page and if it is possible a best practice to show and hide the forms.
Best regards
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.30613 seconds