Looks like some of the ChenilleKit code is unhappy to run inside an
Ajax update; I'm not sure why.

On Fri, Mar 5, 2010 at 6:20 PM, Henry Chen <hc...@peacocknine.com> wrote:
>
> Sorry, I edited it later but looks like it only saved on Nabble. Here is the
> complete post.
>
>
> I got this error.
>
> Client exception processing response: SyntaxError: missing ; before
> statement
>
> Below is the "script" section from one of the ajax response.
>
> ------------------------------------------------------------------------
> "script":"new Confirm('eventlink_2-12730bcfdc5', 'Are you sure you want to
> delete this subtopic and its responses?');\nvar src-12730bcfdc5 = new
> Ck.Rounded('src-12730bcfdc5', '#FFFFFF', '#F8F1E4', 'big',
> 'both');\nsrc-12730bcfdc5.round();\n"
> ------------------------------------------------------------------------
>
> The error occurred when executing the following code.
>
> Tapestry.ScriptManager.addScripts(reply.scripts,
>                function()
>                {
>                    callback.call(this);
>
>                    // After the callback updates the DOM
>                    // (presumably), continue on with
>                    // evaluating the reply.script
>                    // and other final steps.
>
>                    if (reply.script) eval(reply.script);  <-- exception
>
>                    Tapestry.onDomLoadedCallback();
>
>                });
> --
> View this message in context: 
> http://n2.nabble.com/Render-large-page-tp4677583p4684690.html
> Sent from the Tapestry Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

Reply via email to