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

The inspector should check for the presence of a language PI before accepting script expressions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 7u40
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      See DTL-5418.
      If a script is entered when no Process Instruction is present in the FXML file (e.g. <?language javascript?>), we should raise a warning message.
      Or perhaps better, warn the user as soon as the event handler editor is switched to "Script Mode".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jcambon Jerome Cambon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: