Hi Everyone. I recently found a way to have links in the Application Layout that comes with the Xpages Extension Library, to open in their own Window if you so wish. You can see a working example of this on my Xpages Showcase. Below I explain how I achieved this.
Let’s say you created a Footer Link in the Properties of the Application Layout Custom Control called “My Page“, and the href parameter is “http://www.mypage.com“, it would look something like this:
This will work perfectly, except that it will open the URL in the current window, overwriting your Xpage.
1. Make sure that the href property is empty. Otherwise it will take preference over the onClick property.
And that’s it. I hope this all made sense. Until next time….Happy Coding.