File tree 1 file changed +11
-0
lines changed
wicket-core/src/main/java/org/apache/wicket/markup/html/form
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1006,6 +1006,9 @@ public void process(IFormSubmitter submittingComponent)
1006
1006
// Update model using form data
1007
1007
updateFormComponentModels ();
1008
1008
1009
+ // after updating, call the interception method for clients
1010
+ afterUpdateFormComponentModels ();
1011
+
1009
1012
// validate model objects after input values have been bound
1010
1013
internalOnValidateModelObjects ();
1011
1014
if (hasError ())
@@ -1297,6 +1300,14 @@ protected void beforeUpdateFormComponentModels()
1297
1300
{
1298
1301
}
1299
1302
1303
+ /**
1304
+ * Template method to allow clients to do any processing after the actual updating of form
1305
+ * component models is done.
1306
+ */
1307
+ protected void afterUpdateFormComponentModels ()
1308
+ {
1309
+ }
1310
+
1300
1311
/**
1301
1312
* Called (by the default implementation of 'process') when all fields validated, the form was
1302
1313
* updated and it's data was allowed to be persisted. It is meant for delegating further
You can’t perform that action at this time.
0 commit comments