Class AjaxLazyLoadPanelTester
- java.lang.Object
-
- org.apache.wicket.extensions.ajax.markup.html.AjaxLazyLoadPanelTester
-
public class AjaxLazyLoadPanelTester extends Object
Class to help testAjaxLazyLoadPanel
- Author:
- Antony Stubbs
-
-
Constructor Summary
Constructors Constructor Description AjaxLazyLoadPanelTester()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
executeAjaxLazyLoadPanel(BaseWicketTester wt)
Triggers loading of allAjaxLazyLoadPanel
's content in the last rendered page.static void
executeAjaxLazyLoadPanel(BaseWicketTester wt, Page page)
Triggers loading of allAjaxLazyLoadPanel
's content in a page.static Duration
loadAjaxLazyLoadPanel(BaseWicketTester wt, AjaxLazyLoadPanel<?> panel)
Triggers loading of a singleAjaxLazyLoadPanel
.
-
-
-
Constructor Detail
-
AjaxLazyLoadPanelTester
public AjaxLazyLoadPanelTester()
-
-
Method Detail
-
executeAjaxLazyLoadPanel
public static void executeAjaxLazyLoadPanel(BaseWicketTester wt)
Triggers loading of allAjaxLazyLoadPanel
's content in the last rendered page.- Parameters:
wt
- the tester
-
executeAjaxLazyLoadPanel
public static void executeAjaxLazyLoadPanel(BaseWicketTester wt, Page page)
Triggers loading of allAjaxLazyLoadPanel
's content in a page.- Parameters:
wt
- the testerpage
- contains theAjaxLazyLoadPanel
s to trigger
-
loadAjaxLazyLoadPanel
public static Duration loadAjaxLazyLoadPanel(BaseWicketTester wt, AjaxLazyLoadPanel<?> panel)
Triggers loading of a singleAjaxLazyLoadPanel
.- Parameters:
wt
- the testerpanel
- the panel- Returns:
- update duration or
null
of already loadedO
-
-