Actually, I think we should talk about this one before fixing it -- I would prefer to keep the onCreate and onDestroy methods out of the Page Flow Tutorial. They're definitely interesting in the context of a document on a JPF's lifecycle, but IMHO, they're not something to cover when someone is writing their first Page Flow from scratch.
Rich or Daryl, what do you think? Eddie Steve Hanson (JIRA) wrote:
[ http://issues.apache.org/jira/browse/BEEHIVE-908?page=all ] Steve Hanson reassigned BEEHIVE-908: ------------------------------------ Assign To: Steve Hansonmissing "onCreate()" and "onDestroy()" methods in pageflow_tutorial Controller.java ----------------------------------------------------------------------------------- Key: BEEHIVE-908 URL: http://issues.apache.org/jira/browse/BEEHIVE-908 Project: Beehive Type: Bug Components: Documentation Versions: V1 Environment: WinXP SP2 Reporter: Yongqin Xu Assignee: Steve Hanson Priority: Minorin step 2, section "Examine the Controller.java and index.jsp Files", the Controller.java from netui-blank is missing: /** * Callback that is invoked when this controller instance is created. */ protected void onCreate() { } /** * Callback that is invoked when this controller instance is destroyed. */ protected void onDestroy(HttpSession session) { }
