Monday, December 7, 2009
Xpages: Free X-Page iPhone App Template
Friday, December 4, 2009
Snow in Houston! "That Al Gores Full of It Man!"
Tuesday, November 10, 2009
Xpages: Loading…. (images and masking)
Sometimes for various reasons, clicking on links in in X-page, or refreshing a view or a page may take several seconds to complete. So that users do not keep clicking on the button, or think the browser is not working, i have added a “loading image” and a mask to show people that the page is working, just a little slow.
I hope someone shows me a better way to do this… but here is my attempt.
1. In the css file for the page add
div.loading {
background-image: url(ajax-loader.gif);
background-repeat: no-repeat;
background-position: center;
background-color:black;
}
2. Add a JavaScript library and name it loading, then add these lines
dojo.require('dijit.Dialog')
function loading() {
underlay = new dijit.DialogUnderlay({'class': 'loading'});
underlay.show();
}
function stoploading(){
underlay.hide()
}
Now to implement this in a button that does not do a “full update”
1. In the outline on the button expand the button and click on event handler, then clcik the all properties tab.2. in the onStart event enter loading()
3. in the onComplete enter stoploading()
Now to implement this in a button that does a “full update”
1. In the onClick event, choose the client tab, then enter in loading()Now to implement this in view column link
1. First we have to change how it open a document, click on the onClick event.2. Create an action on the server side to execute a script.
3. set the script to:
doc = viewEntry.getDocument();
applicationScope.docid1 = doc.getUniversalID();
applicationScope.docid1
5. On the Client tab, enter in loading()
All of these will produce a mask covering the whole screen with a loading image in the middle like
Friday, November 6, 2009
Xpages: Web Dashboards made easy, I Love X-pages!!
Wednesday, November 4, 2009
Questions?: Want to use Safari as default browser for enterprise
Wednesday, October 28, 2009
@URLEncode and X-pages
I had a circumstance where i needed to encode a variable with spaces into a web link via ssjs. So i looked for @URLEncode(), it not there.... So I emailed Paul Hannan and asked if there was a way to do this, and as usual he came back with a quick response with an answer.
Here is the code i used in SSJS
attachmentnames = java.net.URLEncoder.encode(@AttachmentNames(),"UTF-8")
Wednesday, October 14, 2009
iPhone ToDo's and Notebook Access
I have had some questions recently about which version of the Domino server can run ITANA successfully.
Domino 8.5 will not work.
Domino 8.5.1 is required.
There are certain parts of SSJS that were not available in earlier versions of the Domino Server that I have taken advantage of. I will write soon about what these are and how to use them in your applications. Since this application is built on X-pages, the server has to be Notes 8.5.1CD8 or newer, but because the Gold release is out for Domino 8.5.1 it would be better to be running production code.
__________________________________________________________________________
If you would like more information on this product please visit, http://hughesconnect.com
