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

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


The following commit(s) were added to refs/heads/wicket-8.x by this push:
     new f1766e6  WICKET-6658 allow non-form tag for nested forms
f1766e6 is described below

commit f1766e60de791acd51323328c1aaf1d6f9ed7f8e
Author: Sven Meier <[email protected]>
AuthorDate: Wed Apr 24 09:41:35 2019 +0200

    WICKET-6658 allow non-form tag for nested forms
    
    ignore case when comparing tag name
---
 wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
index 19cce91..5858db4 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
@@ -1632,7 +1632,7 @@ public class Form<T> extends WebMarkupContainer
                else
                {
                        // WICKET-6658 form is not allowed, anything else can 
stay as is
-                       if ("form".equals(tag.getName()))
+                       if ("form".equalsIgnoreCase(tag.getName()))
                        {
                                tag.setName("div");
                        }

Reply via email to