You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by al...@apache.org on 2007/06/19 14:02:25 UTC
svn commit: r548700 -
/incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ButtonPage.html
Author: almaw
Date: Tue Jun 19 05:02:24 2007
New Revision: 548700
URL: http://svn.apache.org/viewvc?view=rev&rev=548700
Log:
immediate -> defaultFormProcessing
Modified:
incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ButtonPage.html
Modified: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ButtonPage.html
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ButtonPage.html?view=diff&rev=548700&r1=548699&r2=548700
==============================================================================
--- incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ButtonPage.html (original)
+++ incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ButtonPage.html Tue Jun 19 05:02:24 2007
@@ -22,9 +22,9 @@
want it called before the button's onSubmit method), you can override Form.delegateSubmit.
</p>
<p>
- One other option you should know of is the 'immediate' property of Button components.
- When you set this to true (default is false), all validation and formupdating is bypassed
- and the onSubmit method of that button is called directly, and the onSubmit method of the
+ One other option you should know of is the 'defaultFormProcessing' property of Button components.
+ When you set this to false (default is true), all validation and form updating is bypassed,
+ the onSubmit method of that button is called directly, and the onSubmit method of the
parent form is not called. A common use for this is to create a cancel button.
</p>
@@ -32,7 +32,7 @@
<form wicket:id="form">
<input type="submit" value="non wicket submit button" />
<input wicket:id="button1" type="submit" value="default wicket button" />
- <input wicket:id="button2" type="submit" value="wicket button with immediate == true" />
+ <input wicket:id="button2" type="submit" value="wicket button with defaultFormProcessing == false" />
</form>
<span wicket:id="feedback">feedbackmessages will be put here</span>
</p>