The IEngine has been initialised. But just before the initialize method is called , the page is detached from the engine. (Please see p305 in TIA.) That is why you are getting a null pointer exception.
You can do the initialization in Page pageBeginRender method or the AbstractComponent method protected void finishLoad() Shing --- "Scott F. Walter" <[EMAIL PROTECTED]> wrote: > I am trying to access the global object (I have it > holding a reference > to a Spring ApplicationContext object) from the > initialize() method from > a page. I keep getting a null pointer exception. > It seems that the > IEngine instance associated with the page is not yet > initialized. Is > there another method that I can use for one time > page initialization > that has the IEngine instance properly initialized? > > thanks, scott. > > > > -- > > Scott F. Walter Scott F. Walter > Principal Consultant > Vivare, Inc. > > E: [EMAIL PROTECTED] > E: [EMAIL PROTECTED] > Visit scottwalter.com <http://scottwalter.com> > --Point. Click. Explore! > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Home page : http://uk.geocities.com/matmsh/index.html Send instant messages to your online friends http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
