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.

__________________________________________________________________________

startup photo 3photophotocal   

If you would like more information on this product please visit, http://hughesconnect.com

Friday, October 9, 2009

Announcing ITANA or “iPhone Tasks and Notebook Access for Lotus Notes”

With the release of the Lotus Domino 8.5.1 server on Monday, I am making ITANA for Lotus Notes available for purchase.  This application will allow you to access you Lotus Notes To Do’s(Tasks), and your Lotus Notes Journal(Notebook) from your iPhone.  It does not require any modification to the mail file, and can run on a separate server than the users mail file.

It is an X-Page application, therefore there is not any offline access to your information.  I know some of you see this as a big limitation, but remember the iPhone is almost always connected to the internet, and on an airplane a laptop is always better to get work done on than an iPhone.

This product does require a Domino 8.5.1 server CD8 or Gold code to run correctly!

To purchase this product, or for more details and a demonstration video, please visit http://Hughesconnect.com .

Thursday, October 8, 2009

Xpages: Alternate View Row Colors Made Easy

This may be old news to some, but for me a tip from Paul Hannan made a big improvement to how my views look in X-Pages.

First open the view in designer on your x-page, then click on All Properties, look for rowClasses

enter in two or 3 classes like - even, odd

designer

now add some css to your style sheet

.odd {
background-color: rgb(248, 248, 248);
}

.odd:Hover {
background-color: rgb(288, 250, 221);
}

.even {

}
.even:Hover {
background-color: rgb(288, 250, 221);
}




That’s it, really simple alternate row colors in X-pages

The results will look something like this, depending on the contrast level on your screen you may or may not see the alternate line colors as they are very light gray with the hover color light yellow.

sample