Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 35907 invoked from network); 5 Jan 2004 20:27:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Jan 2004 20:27:09 -0000 Received: (qmail 71242 invoked by uid 500); 5 Jan 2004 20:26:51 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 71022 invoked by uid 500); 5 Jan 2004 20:26:50 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 71008 invoked from network); 5 Jan 2004 20:26:50 -0000 Received: from unknown (HELO um0004.unimaas.nl) (137.120.1.4) by daedalus.apache.org with SMTP; 5 Jan 2004 20:26:50 -0000 Received: from mail001.unimaas.nl (mail001.unimaas.nl [137.120.1.31]) by um0004.unimaas.nl (Postfix) with ESMTP id 0C53851366 for ; Mon, 5 Jan 2004 21:26:55 +0100 (CET) Received: by mail001.unimaas.nl with Internet Mail Service (5.5.2657.72) id ; Mon, 5 Jan 2004 21:26:55 +0100 Message-ID: From: H.vanderLinden@MI.unimaas.nl To: users@cocoon.apache.org Subject: RE: [cocoon forms] Javascript error Date: Mon, 5 Jan 2004 21:26:54 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Just a wild guess but could it be that it's trying to access the CalendarPopup.js file and cannot find it? I came across this error when a page was loaded which had passed through the woody-sample-styling.xsl file and it couldn't find the Calendarpopup.js where it was expected. Other error I came across: I added an action to my form that was not related to any sitemap pattern. Bye, Helma > -----Original Message----- > From: Alex Romayev [mailto:romayev@yahoo.com] > Sent: Monday, 05 January 2004 19:08 > To: users@cocoon.apache.org > Subject: [cocoon forms] Javascript error > > > Hi, > > I'm getting a Javascript error when I submit my form. > The functionality works fine, except for this error > briefly comes up while the browser is openning the > next page. Any idea why it's happening? > > Here is the error: > Line: 44 > Char: 1 > Error: Object expected > Code: 0 > > Javascrip file: > cocoon.load("resource://org/apache/cocoon/woody/flow/javascrip > t/woody2.js"); > > function change_language() { > var form = new > Form("portal/xforms/login/language.form-def.xml"); > form.showForm("language.display.resource"); > var locale = cocoon.request.get("locale"); > > cocoon.sendPage("/site/login?locale=" + locale); > > } > > Cheers, > -Alex > > ===== > Alex Romayev > Software Architect > http://www.romayev.com > romayev@yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org