No I don't believe it. It seems to me as if it is a clientside javascript
problem. A function is called that even does not exists.

Markus

> -----Ursprungliche Nachricht-----
> Von: Alex Romayev
> Gesendet: Montag, 5. Januar 2004 22:08
> An: [EMAIL PROTECTED]
> Betreff: RE: [cocoon forms] Javascript error
>
>
> Hi Helma,
>
> The error actually happens after the form is
> submitted, so I would imagine, the control is passed
> back to the flowscript.  It seems like the error is
> coming from:
>
> resource://org/apache/cocoon/woody/flow/javascript/woody2.js.
>
> Thanks,
> -Alex
>
> --- [EMAIL PROTECTED] wrote:
> > 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:[EMAIL PROTECTED]
> > > Sent: Monday, 05 January 2004 19:08
> > > To: [EMAIL PROTECTED]
> > > 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
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> =====
> Alex Romayev
> Software Architect
> http://www.romayev.com
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to