Re: FXML Scripting and Nashorn Error Messages

2013-07-17 Thread A. Sundararajan
Hi, Addressing one of the questions: * importClass : by default, Nashorn does not support importClass. But, it is possible to load "mozilla_compat.js" to support rhino extensions like importClass. load("nashorn:mozilla_compat.js"); importClass(java.util.Vector); Also, it is possibl

Re: FXML Scripting and Nashorn Error Messages

2013-07-17 Thread Jim Laskey (Oracle)
Going to forward to the fx experts. On 2013-07-17, at 1:55 PM, TA Hubbard wrote: > Dear Sirs; > > A fundamental feature of JavaFX's FXML is scripting. The process is simple; > add the 'processing instruction' to standard FXML > processing instructions (JavaFX import declarations or stateme

FXML Scripting and Nashorn Error Messages

2013-07-17 Thread TA Hubbard
Dear Sirs; A fundamental feature of JavaFX's FXML is scripting. The process is simple; add the 'processing instruction' to standard FXML processing instructions (JavaFX import declarations or statements) then script. As you know, some of the scripting languages include JavaScript, JavaFX,