2 Replies Latest reply on Jun 21, 2007 11:40 AM by Fumihiko Sugiyama

    NonFacesRequest.invokeApplication() never invoked?

    Fumihiko Sugiyama Newbie

      Hi,

      The invokeApplication() method in the following code seems not to be invoked.

      public class FooTest extends SeamTest {
       @Test
       public void testFoo() throws Exception {
      
       new NonFacesRequest() {
      
       @Override
       protected void invokeApplication() {
       System.out.println("invokeApplication not called.");
      
       }
      
       @Override
       protected void renderResponse() {
       System.out.println("renderResponse called.");
       }
      
       }.run();
       }
      }
      


      NonFacesRequest#invokeApplication() is never invoked?
      If so, why can we override this method?
      SeamTest.NonFacesRequest class doesn't support applyRequest(), processValidations() and updateModelValues().
      Why supports invokeApplication()?

      [my environment]
      -JBoss Seam CVS(1.3.0a)
      -seam gen-Generated project

      Thanks.