Silly question: did you declare that zzzz implements  PageBeginRenderListener? 

Inge Solvoll <[EMAIL PROTECTED]> wrote: If my pageBeginRender method looks like 
this, my form listener is reached:

  public void pageBeginRender(PageEvent event) {
    log.debug("Entered pageBeginRender");
      initData();
      validateData();
      generateReport();
  }

If it looks like this, the form listener is not reached, and there is no
indication of error, not in the tomcat log and not on the screen. The page
is just rendered again.

  public void pageBeginRender(PageEvent event) {
    log.debug("Entered pageBeginRender");
    if (!event.getRequestCycle().isRewinding()) {
      initData();
      validateData();
      generateReport();
    }
  }

I assume that the reason why the listener not being called is a NPE or
something because I'm skipping the initalization in pageBeginRender, but why
isn't there any trace of an Exception anywhere?

Inge



Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

Reply via email to