/** * Click the {@link Link} in the last rendered Page. * <p> * Simulate that AJAX is enabled. * * @see WicketTester#clickLink(String, boolean) * @param path * Click the <code>Link</code> in the last rendered Page. */ public void clickLink(String path) { clickLink(path, true); }
/** * Click the {@link Link} in the last rendered Page. * <p> * Simulate that AJAX is enabled. * * @see WicketTester#clickLink(String, boolean) * @param path * Click the <code>Link</code> in the last rendered Page. */ public void clickLink(String path) { clickLink(path, true); }
/** * Click the {@link Link} in the last rendered Page. * <p> * Simulate that AJAX is enabled. * * @see WicketTester#clickLink(String, boolean) * @param path * Click the <code>Link</code> in the last rendered Page. */ public void clickLink(String path) { clickLink(path, true); }
/** * Click the {@link Link} in the last rendered Page. * <p> * Simulate that AJAX is enabled. * * @see WicketTester#clickLink(String, boolean) * @param path * Click the <code>Link</code> in the last rendered Page. */ public void clickLink(String path) { clickLink(path, true); }
/** * A convenience method to submit the Form via a SubmitLink which may inside or outside of the * Form. * * @param path * The path to the SubmitLink * @param pageRelative * if true, than the 'path' to the SubmitLink is relative to the page. Thus the link * can be outside the form. If false, the path is relative to the form and thus the * link is inside the form. * @return This */ public FormTester submitLink(String path, final boolean pageRelative) { if (pageRelative) { tester.clickLink(path, false); } else { path = this.path + ":" + path; tester.clickLink(path, false); } return this; }
/** * A convenience method to submit the Form via a SubmitLink which may inside or outside of the * Form. * * @param path * The path to the SubmitLink * @param pageRelative * if true, than the 'path' to the SubmitLink is relative to the page. Thus the link * can be outside the form. If false, the path is relative to the form and thus the * link is inside the form. * @return This */ public FormTester submitLink(String path, final boolean pageRelative) { if (pageRelative) { tester.clickLink(path, false); } else { path = this.path + ":" + path; tester.clickLink(path, false); } return this; }
/** * A convenience method to submit the Form via a SubmitLink which may inside or outside of the * Form. * * @param path * The path to the SubmitLink * @param pageRelative * if true, than the 'path' to the SubmitLink is relative to the page. Thus the link * can be outside the form. If false, the path is relative to the form and thus the * link is inside the form. */ public void submitLink(String path, final boolean pageRelative) { if (pageRelative) { baseWicketTester.clickLink(path, false); } else { path = this.path + ":" + path; baseWicketTester.clickLink(path, false); } }