Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-13397

Misleading note on readonly and disabled flags in spring-form.tld

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Complete
    • Affects Version/s: 3.2 GA, 4.0 GA, 4.1 GA, 4.2 GA
    • Fix Version/s: 3.2.15, 4.1.8, 4.2.1
    • Component/s: [Documentation], Web
    • Labels:
    • Last commented by a User:
      true

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              dr_pompeii Manuel Jordan
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 30 weeks, 2 days ago