You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2009/01/31 22:48:08 UTC

svn commit: r739634 - /wicket/trunk/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java

Author: ivaynberg
Date: Sat Jan 31 21:48:08 2009
New Revision: 739634

URL: http://svn.apache.org/viewvc?rev=739634&view=rev
Log:
WICKET-1855

Modified:
    wicket/trunk/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java

Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java?rev=739634&r1=739633&r2=739634&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java (original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java Sat Jan 31 21:48:08 2009
@@ -28,8 +28,8 @@
  * A link that submits a form via ajax. Since this link takes the form as a constructor argument it
  * does not need to be inside form's component hierarchy.
  * 
- * <p/> It works by splitting the javascript/Ajax calls from the normal non-ajax requests by
- * generating:
+ * <p/>
+ * It works by splitting the javascript/Ajax calls from the normal non-ajax requests by generating:
  * 
  * <pre>
  * &lt;a href=&quot;normal action url&quot; onclick=&quot;ajax javascript script; return
@@ -83,7 +83,7 @@
 	 */
 	public AjaxSubmitLink(String id, final Form<?> form)
 	{
-		super(id);
+		super(id, form);
 
 		add(new AjaxFormSubmitBehavior(form, "onclick")
 		{