Skip to content

Misleading note on readonly and disabled flags in spring-form.tld [SPR-13397] #17977

@spring-projects-issues

Description

@spring-projects-issues

Manuel Jordan opened SPR-13397 and commented

Hello

Considering if I have the following:

<td><form:input path="name" size="50" readonly="true" /></td>

in my IDE (STS) with 'Ctrl + Space' to complete the attribute for readonly it shows the following description:

HTML Optional Attribute. Setting the value of this attribute to 'true' (without the quotes) will make the HTML element readonly.`

Really is mandatory include the quotes. If I do (see no quotes)

<td><form:input path="name" size="50" readonly=true /></td>

The JSP file throws error:

org.apache.jasper.JasperException: /WEB-INF/views/jsp/showpersona.jsp (line: 22, column: 57) quote symbol expected


Affects: 3.2 GA, 4.0 GA, 4.1 GA, 4.2 GA

Issue Links:

Referenced from: commits c4a9abb, b15da37, eaba794

Backported to: 4.1.8, 3.2.15

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions