You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by John Patterson <jd...@gmail.com> on 2007/11/19 07:21:04 UTC
Deployment mode Javascript error
Hello users,
I am in the process of deploying a wicket site and found that the
cool scriptalicious effect I am using does not work when I am in
Deployment mode. In the Safari console it shows:
SyntaxError: Parse error
http://www.blahblah.com/resources/
org.wicketstuff.scriptaculous.ScriptaculousAjaxBehavior/prototype.js
Line 3661
I guess this is due to some error in the compression?
Thanks,
John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Deployment mode Javascript error
Posted by TH Lim <ss...@gmail.com>.
Why being not stripping the comments and whitespaces makes a difference in
Effect.js i.e.
getResourceSettings().setStripJavascriptCommentsAndWhitespace(false)?
Thanks.
Matej Knopp-2 wrote:
>
> Are there still compression problems with current trunk? I've been
> testing that with YUI and DOJO and had no problem.
>
> -Matej
>
> On Nov 19, 2007 2:34 PM, Al Maw <wi...@almaw.com> wrote:
>> Frank Bille wrote:
>> > The easy solution is to disable javascript cleanup:
>> >
>> > INIT:
>> > getResourceSettings().setStripJavascriptCommentsAndWhitespace(false);
>> >
>> > I have been too lazy to actually try to fix the problem, I'm afraid.
>>
>> :-(
>>
>> Is there a JIRA issue for this?
>>
>> Regards,
>>
>> Al
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Deployment-mode-Javascript-error-tp13828471p17618998.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Deployment mode Javascript error
Posted by Matej Knopp <ma...@gmail.com>.
Are there still compression problems with current trunk? I've been
testing that with YUI and DOJO and had no problem.
-Matej
On Nov 19, 2007 2:34 PM, Al Maw <wi...@almaw.com> wrote:
> Frank Bille wrote:
> > The easy solution is to disable javascript cleanup:
> >
> > INIT:
> > getResourceSettings().setStripJavascriptCommentsAndWhitespace(false);
> >
> > I have been too lazy to actually try to fix the problem, I'm afraid.
>
> :-(
>
> Is there a JIRA issue for this?
>
> Regards,
>
> Al
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Deployment mode Javascript error
Posted by Al Maw <wi...@almaw.com>.
Frank Bille wrote:
> The easy solution is to disable javascript cleanup:
>
> INIT:
> getResourceSettings().setStripJavascriptCommentsAndWhitespace(false);
>
> I have been too lazy to actually try to fix the problem, I'm afraid.
:-(
Is there a JIRA issue for this?
Regards,
Al
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Deployment mode Javascript error
Posted by Frank Bille <fr...@apache.org>.
The easy solution is to disable javascript cleanup:
INIT:
getResourceSettings().setStripJavascriptCommentsAndWhitespace(false);
I have been too lazy to actually try to fix the problem, I'm afraid.
Frank
On Nov 19, 2007 7:21 AM, John Patterson <jd...@gmail.com> wrote:
> Hello users,
>
> I am in the process of deploying a wicket site and found that the
> cool scriptalicious effect I am using does not work when I am in
> Deployment mode. In the Safari console it shows:
>
> SyntaxError: Parse error
> http://www.blahblah.com/resources/
> org.wicketstuff.scriptaculous.ScriptaculousAjaxBehavior/prototype.js
> Line 3661
>
> I guess this is due to some error in the compression?
>
> Thanks,
>
> John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>