3 Replies Latest reply on Jan 15, 2013 4:52 AM by user6714790

    Add controller to FXML

      I have two menu items named "Name" and "Help" in my fxml file with a Menuitem controller.

      on Clicking of "Name" menu item , I load a fxml document with Gridpane as its root.

      When I add a controller to this newly loaded fxml document , I get the following error :

      javax.xml.stream.XMLStreamException: ParseError at [row,col]:[14,271]
      Message: http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?GridPane&fx:controller&fx

      Kindly help me resolve this error.