Using XPages? - want to disable Dojo?

John Dalsgaard • 23. maj 2013

This is a small very technical tip. It has been documented elsewhere. However, today I came across someone who did not know and, therefore, I decided to write it here.


If you are developing XPages using IBM Domino Designer from time to time you may want to stop the loading of the "fat" Dojo libraries. You may have decided to use jQuery Mobile for your mobile solution (as I do for a mobile app). On the other hand you may not want to disable Dojo for the entire application (in the xsp.properties file). So what do you do?


You can add the following SSJS code to the beforePageLoad event of your XPage:


facesContext.getRequestParameters().setJsLibrary(0);


... and you are done!


Blog

Af John Dalsgaard 8. september 2025
So I had this idea to test out Nomad Web on a brand-new v.14.5 Domino server as an alternative to the normal Notes client - but it had to fit into the "normal" way I give access to our servers...
Af John Dalsgaard 26. maj 2025
Efter lang ventetid og 3 EAPs (early access products) bliver den nye version snart frigivet