Turning off debugging in DHTML means that errors the debugger was catching and reporting will be fatal. (swf8 is very lenient about errors, it just ignores them; not so Javascript in web browsers.)
1) If you cannot fix the errors, you can insert at try/catch around the error and ignore the error in your program. 2) There is an option in WEB-INF/lps/config/lps.properties # Tell compiler to catch errors in debug mode #compiler.catcherrors=true If you un-comment compiler.catcherrors=true, restart and recompile your application, then the compiler will automatically insert try/catch blocks for you. This is not recommended, as it will decrease performance, but it can be used as a stop-gap to get compatibility with swf8 behavior. On 2010-07-05, at 08:08, Gireesh Subramaniam wrote: > All, > > I am facing an issue if I try a SOLO deployment using DHTML without debug > enabled.first,with debug Enabled on lps properties ,the application works > fine.I see some warnings/messages on the debug Screen.This however does not > stop the application from working.Now,when I am trying to deploy without the > debugger window on DTHML,the application stops to load,corresponding to > those error messages which i see on firebug.Flash 8 does not have this > issue.It works correctly inspite of the error messages.But ,I am interested > to make it work using DHTML. > > One related point,On probing further on these errors/message.I see that some > are fixed in 4.8 ,some in 5.0.I am currently using 4.7.1.I am not very > confident on upgrading the version of OL ,that I am using.Is there a way to > make DHTML deployment work inspite of the errors/messages without debug > enabled on OL 4.7.1 itself ? > > Any inputs ? > > -- > Regards, > Gireesh.
