Class BaseWicketTester.StartComponentInPage

All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IManageablePage, IRequestableComponent, IRequestablePage, IHierarchical<Component>, IClusterable
Enclosing class:
BaseWicketTester

A page that is used as the automatically created page for BaseWicketTester.startComponentInPage(Class) and the other variations.

This page caches the generated markup so that it is available even after Component.detach() where the component's markup cache is cleared.

See Also:
  • Constructor Details

  • Method Details

    • getMarkup

      Description copied from class: Component
      Get the Markup associated with the Component. If not subclassed, the parent container is asked to return the markup of this child component.

      Components like Panel and Border should return the "calling" markup fragment, e.g. <span wicket:id="myPanel">body</span>. You may use Panel/Border/Enclosure.getMarkup(null) to return the associated markup file. And Panel/Border/Enclosure.getMarkup(child) will search the child in the appropriate markup fragment.

      Overrides:
      getMarkup in class Component
      Returns:
      The markup fragment
      See Also:
    • setPageMarkup

      public void setPageMarkup(IMarkupFragment markup)
      Parameters:
      markup -