I got a small xpage containing a button with the following on click event:
context.redirectToPage("http://server:8080/AWM.nsf/viewAllDocuments.xsp", false);
As soon as I click on the button I geht the following error message:
Error while executing JavaScript action expression Script interpreter error, line=1, col=9: [TypeError] Exception occurred calling method XSPContext.redirectToPage(string, boolean)
com.ibm.xsp.page.PageNotFoundException: Could not create the page /http://server:8080/AWM.nsf/viewAllDocuments.xsp because the class xsp.http_003a._002fserver_003a8080.awm.nsf.ViewAllDocuments could not
be found. Please check your spelling.
com.ibm.xsp.page.PageNotFoundException: Could not create the page /http://server:8080/AWM.nsf/viewAllDocuments.xsp because the class xsp.http_003a._002fserver_003a8080.awm.nsf.ViewAllDocuments could not
be found. Please check your spelling. Could not create the page /http://server.de:8080/AWM.nsf/viewAllDocuments.xsp because the class
xsp.http_003a._002fserver_003a8080.awm.nsf.ViewAllDocuments could not be found. Please check your spelling. Cannot find class xsp.http_003a._002fserver_003a8080.awm.nsf.ViewAllDocuments in NSF
I tried to rebuild the database and did a clean, but nothing changes. The xpage viewAllDocuments.xsp exists and if I copy the path of the error message and try to open the page directly, that works.
Can anybody give me a hint here?