Yes, I've tested some more and I only get this error in my Ajax debug window
under IE. In Firefox, it correctly loads the modal window.
However, in Firefox it fails a few steps later because it is unable to
locate a form element by ID, when clearly the form element is coming back as
part of the
it should find the element once its been added to dom. perhaps you are
calling the javascript that needs that id a tad too early? try
target.appendjavascript instead of prepand
-igor
On 2/26/07, dukejansen [EMAIL PROTECTED] wrote:
Yes, I've tested some more and I only get this error in my
yeah, i'm not really doing anything custom for calling javascript or
anything.
this is all just standard ModalWindow show/hide behavior, and button onclick
events which launch new modal windows or update state of existing panels and
repaint.
i haven't written a single line of javascript or any
At the risk of pointing out the obvious,
1) Make sure you're not including a component in your AjaxRequestTarget
that might be invisible (i.e. not in the DOM) when the response is received.
2) Double check that any component added to your AjaxRequestTarget has a
markup id.
I'm just now
Lets add some more risk:
Ryan Holmes wrote:
2) Double check that any component added to your AjaxRequestTarget has a
markup id.
You do this by calling setOutputMarkupId(true) on the component
immediately after construction.
Erik.
--
Erik van Oosten
INFO: Response parsed. Now invoking steps...
ERROR: Error while parsing response: Unknown runtime error
INFO: Invoking post-call handler(s)...
INFO: Invoking failure handler(s)...
How can I dig deeper into this Unknown runtime error? I see nothing in the
server logs. Thought I'd ask for simple
Set a breakpoint in the Java code that handles the Ajax event and
then the problem is usually pretty obvious...
-Ryan
On Feb 25, 2007, at 3:54 PM, dukejansen wrote:
INFO: Response parsed. Now invoking steps...
ERROR: Error while parsing response: Unknown runtime error
INFO: Invoking
ive seen that in explorer before when it encounters something it cannot do
(like change outerhtml of a tr). it is a very helpful message :) i bet that
code looks like this
try {
processjavascript();
} catch (Throwable e) {
// we should never get here
throw new Exception(Unknown Error);
}
:)