Hi, I use currently Wicket 7 and want to create an settings page which will have some webforms and options. This I would like to deploy on an jboss-wildfly-server. Now there is a problem with the submit of the forms itself with the exception.
java.lang.RuntimeException: io.undertow.util.ParameterLimitException: UT000047: The number of parameters exceeded the maximum of 1000 at io.undertow.core@2.0.29.Final//io.undertow.server.handlers.form.FormData.add(FormData.java:95) at io.undertow.core@2.0.29.Final//io.undertow.server.handlers.form.FormData.add(FormData.java:85) at io.undertow.core@2.0.29.Final//io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.addPair(FormEncodedDataDefinition.java:223) at io.undertow.core@2.0.29.Final//io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.doParse(FormEncodedDataDefinition.java:175) at io.undertow.core@2.0.29.Final//io.undertow.server.handlers.form.FormEncodedDataDefinition$FormEncodedDataParser.parseBlocking(FormEncodedDataDefinition.java:294) at io.undertow.servlet@2.0.29.Final//io.undertow.servlet.spec.HttpServletRequestImpl.parseFormData(HttpServletRequestImpl.java:835) at io.undertow.servlet@2.0.29.Final//io.undertow.servlet.spec.HttpServletRequestImpl.getParameterMap(HttpServletRequestImpl.java:789)<mailto:io.undertow.servlet@2.0.29.Final//io.undertow.servlet.spec.HttpServletRequestImpl.getParameterMap(HttpServletRequestImpl.java:789)> ... 20 more Caused by: io.undertow.util.ParameterLimitException: UT000047: The number of parameters exceeded the maximum of 1000 ... 81 more The reason is that for each input field which underlines in org.apache.wicket.markup.html.form.Form, an data-entree form in dataForm is generated in the frontend. This FormData list will be send back to the webserver as parameter list additional to the parameters which will caused to this error. The FormData includes each input-field (it doesn't matter is it manipulated/filled or not) with its values). How can I minimize the amount of FormData in wicket or how can I prevent this error without splitting the settings-website in different parts? Or what is the best solution without changing the whole page? (The page self is generated dynamically) Thank you very much for an answer Best regards, Stefan