Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4282708

JEditorPane: INPUT TYPE=PASSWORD does not allow backspacing.

XMLWordPrintable

      When using <INPUT TYPE=PASSWORD> text fields, you cannot use the backspace key or the delete key to edit the field in JEditorPane. The text field won't respond.

      Here is a sample HTML file to demonstrate this:

      <!DOCTYPE HTML PUBLIC "-//HotJava QA//DTD HTML 3.2//EN">
      <HTML>
      <HEAD>
      <TITLE>Testing HotJava based on the 3.2 html spec</TITLE>
      </HEAD>
      <BODY bgcolor="white" >
      <h1>Tests Form Element Input Hidden Attribute</h1>
      <h2>Definition </h2><em>type=hidden
      </em>
      These fields should not be rendered and provide a means for
      servers to store state information with a form. This will be
      passed back to the server when the form is submitted, using the
      name/value pair defined by the corresponding attributes. This is a
      work around for the statefulness of HTTP. Another approach is to use "Cookies".

      <hr>
      <h2>Expected Results</h2>
      The Form Should Behave as Described Below and No HTML Errors Should be Found
      <p>This form field contains input type attribute set to hidden
      submitting the form should return query results
      your password= what you entered and customerid = tests passes

      <FORM METHOD="POST" ACTION="http://hoohoo.ncsa.uiuc.edu/htbin-post/post-query">
      <H2>Logging In To A Remote Service</H2>


      Type in your password: <INPUT TYPE="password" NAME="password"> <P>
      <input type=hidden name=customerid value="testpasses">

      To log in, press this button: <INPUT TYPE="submit"
      VALUE="Log In To Remote Service">. <P>

      </FORM>


      </BODY>
      </HTML>


      edmund.lou@eng 1999-10-19

            svioletsunw Scott Violet (Inactive)
            elousunw Edmund Lou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: