Package javax.faces.event

Examples of javax.faces.event.PreRemoveFromViewEvent


  }

  @Test
  public void shouldNotCaptureOtherEvent() throws Exception {
    UIComponent component = mock(UIComponent.class);
    SystemEvent event = new PreRemoveFromViewEvent(component);
    this.listener.processEvent(event);
    assertThat(MvcNavigationSystemEventListener.getLastPreRenderComponentEvent(this.context), is(nullValue()));
  }
View Full Code Here


        fireAndAssert("17a", new PreDestroyViewMapEvent(uiViewRoot));
    }

    @Test
    public void testObservePreRemoveFromView() {
        fireAndAssert("18", new PreRemoveFromViewEvent(component));
    }
View Full Code Here

        fireAndAssert("18", new PreRemoveFromViewEvent(component));
    }

    @Test
    public void testObservePreRemoveFromViewComponent() {
        fireAndAssert("19", new PreRemoveFromViewEvent(component));
    }
View Full Code Here

TOP

Related Classes of javax.faces.event.PreRemoveFromViewEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.