AnsweredAssumed Answered

Invalid template in the Gauge sample

Question asked by kramer_usc on Aug 5, 2013
Latest reply on Aug 5, 2013 by kramer_usc
Hi, I am working on building a custom widget in JavaScript.  I thought the best place to start was downloading the Gauge sample widget and implementing that in a test application.  I renamed everything to Gauge2, so that it didn't conflict with the one in the Esri library.  I am getting an "Invalid Template" error when I try to initialize the Gauge object.  The code is below.  I did put an alert box at the end of the constructor and it displays that fine.  I am using both the sample Gauge library and the HTML page from the sample site.  Has anybody seen this before?



            gauge = new esri.dijit.Gauge2(gaugeParams, "gaugeDiv");
            catch (err)
             txt="There was an error on this page.\n\n";
      txt+="Error description: " + err.message + "\n\n";
      txt+="Click OK to continue.\n\n";