Author: mgrigorov Date: Tue Jan 11 21:08:14 2011 New Revision: 1057866 URL: http://svn.apache.org/viewvc?rev=1057866&view=rev Log: WICKET-2829 Fix test expectation
Ajax precondition is : Wicket.$$(this)&&Wicket.$$('formId') Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html?rev=1057866&r1=1057865&r2=1057866&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html Tue Jan 11 21:08:14 2011 @@ -12,7 +12,7 @@ Wicket.Ajax.baseUrl="wicket/bookmarkable <form wicket:id="form" id="form1" method="post" action="../page?0-1.IFormSubmitListener-form"><div style="width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden"><input type="hidden" name="form1_hf_0" id="form1_hf_0" /></div> <input type="text" wicket:id="txt1" value="foo" name="txt1"/> <input type="text" wicket:id="txt2" value="bar" name="txt2"/> - <input type="submit" value="Submit" wicket:id="submit" name=":submit" id="submit2" onclick="var wcall=wicketSubmitFormById('form1', '../page?0-1.IBehaviorListener.0-form-submit', ':submit' ,function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$$(this)&amp;&amp;Wicket.$$('form1')}.bind(this));;; return false;"/> + <input type="submit" value="Submit" wicket:id="submit" name=":submit" id="submit2" onclick="var wcall=wicketSubmitFormById('form1', '../page?0-1.IBehaviorListener.0-form-submit', ':submit' ,function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$$(this)&&Wicket.$$('form1')}.bind(this));;; return false;"/> </form> </body> </html> \ No newline at end of file