This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 3, 2011, 11:59 PM
57 Posts

Xpages JSF LifeCycle

  • Category: Other
  • Platform: Windows
  • Release: 8.5.2
  • Role:
  • Tags:
  • Replies: 2
 
Wonder if there is any senior developer / IBM interested in writing a similar life cycle for Xpages ? (following link is for JSF)
http://www.softwareengineeringsolutions.com/thoughts/frameworks/JSF-lifecycle.htm

Overwrite the part about data source, then we shall get the whole picture of Xpages lifecycle
 
regards
wei
Apr 4, 2011, 2:08 AM
41 Posts
this has already been implemented
 XPages implement the full JSF lifecycle... if you register a phase listener in the faces-config, you can define code that should run before and/or after each specific phase. Immensely useful for determining exactly when things occur during user interaction with a page, as well as providing custom intervention to skip certain phases when desired.
Apr 4, 2011, 6:56 AM
57 Posts
Re: this has already been implemented
HI Tim
 
Some misunderstanding, I did not mean the lifecycle implementation itself, but good description as in that article for JSF,   
http://www.softwareengineeringsolutions.com/thoughts/frameworks/JSF-lifecycle.htm

I know that we can developer Xpages application in the same way as in JSF, but still, there is difference since we got the data source part.
Mastering Xpages mentions it, but not in depth.......

If its written explicitly when Notes resource get binded with XSP runtime object, when does setter for runtime XSP objects get invoked, how xpages runtime object replace java bean as data transfer object managing application state and behavior, How datasource.save() corresponds to persist() in J2EE, it will benif to the people who intend to use naive API in development.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal