You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Robby Pelssers <ro...@ciber.com> on 2010/09/15 13:18:42 UTC

Implicit declaration of global variable 'form' forbidden. Please ensure all variables are explicitely declared with the 'var' keyword

When invoking below flowscript function from the sitemap, i always get an exception which i can't explain. I'm not using the var keyword but in this case there is no need to.  And the weirdest part is that i have other pages where i don't run into this issue using the exact same code.

function MultipleDownload() {
    this.form = new Form("cocoon://multipledownloadform");
    this.form.showForm("multipledownload");  
} 

Anyone some idea of why i'm getting this org.mozilla.javascript.JavaScriptException.

Kind regards,
Robby Pelssers

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org