|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2012 the original author or authors. |
|
|
|
* Copyright 2002-2018 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -44,7 +44,7 @@ public class CheckboxesTag extends AbstractMultiCheckedElementTag { |
|
|
|
tagWriter.writeAttribute("type", "hidden"); |
|
|
|
tagWriter.writeAttribute("type", "hidden"); |
|
|
|
String name = WebDataBinder.DEFAULT_FIELD_MARKER_PREFIX + getName(); |
|
|
|
String name = WebDataBinder.DEFAULT_FIELD_MARKER_PREFIX + getName(); |
|
|
|
tagWriter.writeAttribute("name", name); |
|
|
|
tagWriter.writeAttribute("name", name); |
|
|
|
tagWriter.writeAttribute("value", processFieldValue(name, "on", getInputType())); |
|
|
|
tagWriter.writeAttribute("value", processFieldValue(name, "on", "hidden")); |
|
|
|
tagWriter.endTag(); |
|
|
|
tagWriter.endTag(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|