You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Sergey Didenko <se...@gmail.com> on 2009/05/28 20:24:34 UTC

TAP-712: Form component: javascript error in IE when submitting form

T5.1


Apparantly "Tapestry" javascript variable is unavailable in certain
circumstances, so the following line gives errors:

<form enctype="application/x-www-form-urlencoded"
onsubmit="javascript:Tapestry.waitForPage(event);" action=... '

I was suprised to see that Firefox does not show anything, so first I
decided this error is related to IE.

It looks like tapestry js library is not loaded when <t:form> is used
in some conditions.

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


Re: TAP-712: Form component: javascript error in IE when submitting form

Posted by Sergey Didenko <se...@gmail.com>.
Thanx!

It seems the presense of <t:zone> somehow helps me for a while.

>
> Check the logs, I assume there will be some errors.
> I had similar problems but these were solved once using the following
> settings :
>
> -Dtapestry.combine-scripts=false -Dtapestry.gzip-compression-enabled=false
>

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


Re: TAP-712: Form component: javascript error in IE when submitting form

Posted by Joachim Van der Auwera <jo...@progs.be>.
Hi,

Check the logs, I assume there will be some errors.
I had similar problems but these were solved once using the following 
settings :

-Dtapestry.combine-scripts=false -Dtapestry.gzip-compression-enabled=false

when I start the application (you could also contribute these values).

I am not sure you need both, quite possibly turning off gzip compression 
is enough (there was some gzip related error in my case).

Kind regards,
Joachim

Sergey Didenko wrote:
> T5.1
>
>
> Apparantly "Tapestry" javascript variable is unavailable in certain
> circumstances, so the following line gives errors:
>
> <form enctype="application/x-www-form-urlencoded"
> onsubmit="javascript:Tapestry.waitForPage(event);" action=... '
>
> I was suprised to see that Firefox does not show anything, so first I
> decided this error is related to IE.
>
> It looks like tapestry js library is not loaded when <t:form> is used
> in some conditions.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>   


-- 
Joachim Van der Auwera
PROGS bvba, progs.be


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