I'm still working on this. It's sticky.
Open to any ideas. Somehow the DHTML debugger which is in an iframe,
has to run js in the dhtml app, which is in a sibling iframe. And
the debugger kernel in the app has to send the answer back to the
debugger iframe. The only thing I have found that they can both talk
to is 'top', but that does not work if the wrapper comes from a
different domain (security issue). Not sure why it is not working in
the explorer, but probably has something to do with the iframes being
even more deeply nested there...
Max: any ideas? Dojo have anything that can help me?
On 2006-12-04, at 13:38 EST, P T Withington wrote:
I take that back. Someone is smarter than me, and the debugger
frame _does_ get instantiated... hang on, lemme dig a bit.
On 2006-12-04, at 13:28 EST, P T Withington wrote:
This is probably the LFC trying to communicate with the DHTML
'debug window' which is really just a frame. The l-in-10 example
surely does not realize that it needs to create the debug frame
(it is created in app-console.xslt, not html-response.xslt).
One approach would be to try compiling (and using) the embedded
debugger in DHTML. Another would be to special-case this example
in l-in-10 to include the necessary debugger frame.
At least I think this is what is going on.
---
BTW, while you are in there, would you please remove any explicit
height and width in canvas tags? That will let the canvas size to
the viewer pane automatically, so you can stretch your browser
window to see better.
You can also remove the <debug> tag, because the debugger will
automatically default to taking the bottom half of the window and
will also resize if you do that.
On 2006-12-04, at 10:37 EST, Philip Romanik wrote:
Hi Tucker, Max,
When I try and run the l-in-10 debugger example (Scripting-
>Debugger) in dhtml, I get an error when typing something into
the debugger window:
$modules is not defined
This is coming from /WEB-INF/lps/templates/app-console.xslt. Do
you have any ideas of what the problem may be? If I open the file
directly, it works just fine:
http://localhost:8080/legals/laszlo-explorer/scripting/
debugger.lzx?lzr=dhtml
Thanks!
Phil