Polishing
This commit is contained in:
@@ -246,6 +246,9 @@ public class InputTag extends AbstractHtmlInputElementTag {
|
||||
|
||||
public static final String AUTOCOMPLETE_ATTRIBUTE = "autocomplete";
|
||||
|
||||
@Deprecated
|
||||
public static final String READONLY_ATTRIBUTE = "readonly";
|
||||
|
||||
|
||||
@Nullable
|
||||
private String size;
|
||||
@@ -381,7 +384,7 @@ public class InputTag extends AbstractHtmlInputElementTag {
|
||||
String type = null;
|
||||
Map<String, Object> attributes = getDynamicAttributes();
|
||||
if (attributes != null) {
|
||||
type = (String) getDynamicAttributes().get("type");
|
||||
type = (String) attributes.get("type");
|
||||
}
|
||||
if (type == null) {
|
||||
type = getType();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -227,6 +227,9 @@ public class TextareaTag extends AbstractHtmlInputElementTag {
|
||||
|
||||
public static final String ONSELECT_ATTRIBUTE = "onselect";
|
||||
|
||||
@Deprecated
|
||||
public static final String READONLY_ATTRIBUTE = "readonly";
|
||||
|
||||
|
||||
@Nullable
|
||||
private String rows;
|
||||
|
||||
Reference in New Issue
Block a user