/**
*
*/
public void testWithBorder2()
{
TextField textfield = (TextField)tester.getLastRenderedPage().get("border:textfield1");
tester.getServletRequest().setParameter(textfield.getInputName(), "abcde");
tester.executeAjaxEvent("border:form2:submit", "onclick");
tester.assertNoErrorMessage();
assertFalse(((MyBorder)tester.getLastRenderedPage().get("border")).hitOnError);
assertTrue(((MyBorder)tester.getLastRenderedPage().get("border")).hitOnSubmit);
}