You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by sv...@apache.org on 2020/03/11 21:19:17 UTC

[wicket] 01/02: remove obsolete ajax setting

This is an automated email from the ASF dual-hosted git repository.

svenmeier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git

commit 227d42117fe64a7c7f439b1342fbd59b577a9141
Author: Sven Meier <sv...@apache.org>
AuthorDate: Wed Mar 11 21:35:37 2020 +0100

    remove obsolete ajax setting
---
 .../org/apache/wicket/protocol/http/WebApplication.java | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebApplication.java b/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebApplication.java
index 1eda219..6c777ed 100644
--- a/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebApplication.java
+++ b/wicket-core/src/main/java/org/apache/wicket/protocol/http/WebApplication.java
@@ -1115,19 +1115,4 @@ public abstract class WebApplication extends Application
 	{
 		return cspSettings;
 	}
-
-	/**
-	 * If true, auto label css classes such as {@code error} and {@code required} will be updated
-	 * after form component processing during an ajax request. This allows auto labels to correctly
-	 * reflect the state of the form component even if they are not part of the ajax markup update.
-	 * 
-	 * TODO in wicket-7 this should move into a settings object. cannot move in 6.x because it
-	 * requires a change to a setting interface.
-	 * 
-	 * @return {@code true} iff enabled
-	 */
-	public boolean getUpdateAutoLabelsOnAjaxRequests()
-	{
-		return true;
-	}
-}
+}
\ No newline at end of file