Medium DWR failed to read input

DWR project used asynchronous, sometimes there will be failed to read input prompt box, my sun.

Online to find a solution, as follows:

At DWR's engine.js inside the code is as follows:

dwr.engine.defaultErrorHandler = function (message, ex) (
dwr.engine._debug ( "Error:" + ex.name + "," + ex.message, true);

if (message == null | | message == "") alert ( "A server error has occured. More information may be available in the console.");
/ / Ignore NS_ERROR_NOT_AVAILABLE if Mozilla is being narky
else if (message.indexOf ( "0x80040111")! = -1) dwr.engine._debug (message);
else alert (message);
);

Solution is: add judge. .
Filter failed to read input

  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of Medium DWR failed to read input

  • DWR's Hello world

    Add a package to dwr.jar project, and modifying the web.xml file, add: 2 in the web-inf following documents dwr.xml add. 3 Medium <head> the page add: 4 DWR add the implementation class

  • javascript implementation of telecommunications network automatically select two-lane

    javascript implementation of telecommunications network automatically select two-lane

  • Manual configuration in UBUNTU under ruby on rails environment

    Careless mistake for the day before yesterday, the sources, the results after 810 error after the upgrade, the loss of response button. On google found a lot of trouble really, lucky point modification under the / etc/X11/xorg.conf to restore both, b ...

  • javascript package

    When I see other people's js framework that can be var gmarket = new GMarket (); I feel very strange, how so, like java! Gmarket and in the use of the time, gmarket.getLog (), I would very much want to study how the package! Finally, learned toda ...

  • rails provinces cascade implementation

    Page code is as follows: Provinces in the list box: City list box: js: action in the code are as follows:

  • javascript built-in functions Info

    48. In the old browsers do not perform this JS :<!-- //--> 49. To quote a document-style JS: <script type="text/javascript" src="/blog/aaa.js"> </ script> 50. Specified in the script does not support the browser displ

  • SUI-JavaScript rich UI library integration solution

    Introduction: SUI is not a class implementation of the UI, nor is it a standard set of UI markup language, it is just to help the existing UI frameworks (such as Ext, YUI like) to mark the way to the statement and the creation of UI. The names of these ta

  • Msxml2.XMLHTTP version problem

    Projects with an import feature prototype.js of Ajax functionality to update the prompt, the code is very simple, do not have the framework of the background on a jsp to output Text, future use of timers and to update the page Ajax.request encountere ...

  • JS after ajax request return of the problem can not be implemented

    1: Send ajax request, in the onComplete, if back when the html contains a javascript, then these javascrip and will not be realized, it does not mean not to implement. This problem has troubled me for a long time, behind the hair and then put this kn ...

  • Use Ext JS to read the JsonReader complex object json

    Today was how to resolve the following complex json object to the difficult living over a long time .. did not find documentation how to read JsonReader Ways json object (possibly also because of their limited level of E the text did not correctly underst

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries