WARNING: This tutorial is being written! Do not hesitate to report any errors or suggestions.
Quick access: The various stages of the life cycle
NWS is qualified of "framework": this is not just a library of Web application development, but this really a development system of web applications imposing a strong frame of programming. Among the different items imposed by this framework, we can mention the life cycle of a web page. This life cycle imposes the invocation of particular methods at any strong moments of the treatment cycle of the web page. The chart below attempts to synthesize this life cycle.
To better understand the situation, we will now resume one by one the different points of the life cycle of a NWS page.
corelib.services.web.server.WebPage
<include file="partOfPage.wp" />
<corelib.services.web.components.Button />
corelib.services.web.server.DataRepeater
id
component_init
javax.servlet.http.HttpServletRequest
page_init
component_load
page_load
WebComponentEventLevel.FIRST
BEFORE
DEFAULT
AFTER
LAST
page_preRender
page_render
component_preRender
component_renderBegin
component_renderChildren
VisualComponent
component_renderEnd
component_postRender
page_postRender
finalize
Dominique LIARD - © 2007 SARL Infini Software - All rights reserved Other brands and product names in these documents are the property of their respective owners.