12-07-2008 03:21 PM
I'm getting an error when using the displaypage method. I'm using a FilterBaseInterface, when a URL is passed and certain parameters aren't correct some static HTML is passed instead of the actual page (similar to the precanned example). The user is prompted to correct these background parameters on a FullScreen and once entered an attempt is made to reopen the page as below.
BrowserSession visit = Browser.getDefaultSession(); visit.displayPage(urlToGo);
This works fine, however if the user once again inserts the incorrect parameters, the FullScreen prompts them once again then another attempt is made to reopen the page. When trying to reopen the page the following error occurs on the browser.
A communication failure occurred with the selected Mobile Data Service. The server may be busy, please try again later. If the problem persists contact your administrator.
I have looked closely on the MDS logs and no attempt to contact the MDS server is made. If you click OK to this error message and select Refresh from the browser menu the user is prompted by the FullScreen but the error occurs on the next displayPage attempt. However if you select Go To... from the browser menu and select the exact same URL, once again the FullScreen prompts the user but on the next displayPage, unlike the refresh, no error occurs until the next time a displayPage attempt is made.
12-09-2008 02:33 PM