jQuery in XPages @IBMConnect demo fixed – and the problem explained
Posted by MarkyRoden on February 1, 2013
So I am in the middle of doing my presentation @ IBMConnect 2013 and everything is going relatively well…..and someone asks a question
Question: “Hey Marky – does jQuery work in XPiNC?”
Marky: “sure it does watch this”
404 – proxyServer Error
#CrowdLaughter (mostly from my loyal friends)….
I told the audience it was because I had obviously broken it and I thought I knew the problem – i apologized profusely and said that I would fix it ASAP. Well today is ASAP
It now works – you can download the sample database from http://demo.xomino.com and run it in XPiNC
Some genius…..had messed with the menu for IBMConnect and changed the menu links so they looked like this
And that works perfectly fine in a web browser – but locally on the XPiNC webserver causes the ProxyServer error above!! The fix is simple – change it so that it is not relative to the server.
The issue is the /xomino link which is interpreted by the browser as http://demo.xomino.com, SLASH xomino. This is good technique because it doesn’t name the server and is therefore portable to other servers. But apparently fails in the local XPiNC server.
Why? I have no idea unfortunately but I am more concerned with the solution than the cause. Changing the links as follows and we have a working demo database again
as all the demo pages are at the same level in the URL this is not a problem. Weird eh!
I will talk to some people smarter than I and see if I can find out why this problem is caused by the XPiNC server – but be aware that you should not use links relative to the XPiNC server….weird!
I am very sorry this screwed up in the demo but hopefully enough people will forgive me and we can all carry on