applet PARAM tag: value of NAME must be lower case

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.0
    • Component/s: core-libs
    • sparc
    • solaris_2.4

      It appears that the name of a parameter to an applet (as in <PARAM
      NAME=foo value=bar>) must be lower case in order for getParameter() to
      pick up its value.

      Assume a document containing

       <APPLET ...><PARAM NAME=startup VALUE="a bunch of text"></APPLET>

      We run it through the AppletViewer. In the applet's init() method,
      getParameter("STARTUP") and getParameter("startup") both return "a
      bunch of text".

      But if the document contains

       <APPLET ...><PARAM NAME=STARTUP VALUE="a bunch of text"></APPLET>

      then both getParameter("STARTUP") and getParameter("startup") return null.

      Is this a problem with the DTD, or should it be documented to work this way?

            Assignee:
            Arthur Hoff (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: