Hi all,
I try to understand the Issue-Tracker example, and hope that someone could explain me a little bit more about the page and object flow.
Esspecially I'm interested how the DataModel / dataTable works, because I need this in an application
Therefore I took the ProjectFinderBean, ProjectSelectorBean and ProjectEditorBean and extended them with some debug messages.
So I could figured out the dependencies between this 3 classes, if I click on one of the "View"-button:
Caller: ProjectFinder #1 - (Create) JSF(@Factory) -------------> findProjects ProjectSelector #1 JSF ----------------------------------------------> (Create) ProjectEditor #1 @In ---------------------------> (Create) JSF ----------------------------------------------> getButtonLabl (x-times) JSF ----------------------------------------------> isCreateEnabled (x-times) EndOfRequest (1) destroy EndOfRequest (2) getIssueList EndOfRequest (3) destroy ProjectEditor #2 "View"-button (4) @In --------------------------> (Create) ProjectFinder #2 (5) (Create) <---------------- @In isCreateEnabled (x-times) select (6) getSelection <------------ ------------------------------> setInstance JSF getIssueList . . .