Auth after request failed


I want to load Data from an standard WebDav/HTTP Server. To get the Data an Login is required. I want to catch the error with onLoadError from Dataprocessor, ask the User for Username/Password and resend the request with Username/Password.

Has somebody done this already ? Is it possible in this way ?

You can use code like next to intercept data loading errors

dhx4.attachEvent("onAjaxError", function(xhr, url){ /*code here*/ });