Hosted By

Contact Me

Misc Links

OpenNTF BlogSphere LotusGeek CoComment Custom Button

Ads by Google

Welcome to keithstric.com!

I hope you find this site useful in some way or another. I strive to bring you all sorts of geeky information and solutions to your most frustrating of issues with the occasional rant on whatever topic, technical reviews and weblog. You'll also find many products that I've developed and make available for you to use however you like. So, grab a cup of coffee, sit down and visit for a while.

« First attempt at a background image | Home Page| XPages Domino Directory Type ahead »

XPages experience and resources

07/19/2009 9:24 AM By Keith Strickland

I've recently started messing with XPages and I think I like it. Now there is a rather steep learning curve for XPages, especially if your web development hat is as dusty as mine. I even had to bust out the "Beginning JavaScript" book by Paul Wilton (which is an excellent JavaScript reference). But learning them is certainly doable, and quite fun (in a geek sort-of way). But this trek started with an OpenSource project I've been working on which I mentioned a little over a month ago. I want a web gui to go with the project so I figured it was the perfect excuse to delve into XPages head first.

My first impression with XPages seems to be pretty good, it's easily implemented, looks nice and easily compartmentalized (is that a word?). As I said above the learning curve is pretty steep and when using the @Functions it is easy to make a mistake, since those are now serverside JavaScript it is case sensitive. I've also noticed any bad habits you have with using LotusScript and @Formulas that those bad habits really come back to bite you as you try to use that knowledge in the XPages world. As for all the controls, it seems that everything I've needed has been there in some form or fashion. My biggest issue so far has been trying to figure out how to use a checkbox. In the notes client a checkbox is a multi-value field with each value being a checked checkbox, in XPages they are individual elements and a field with values already there doesn't seem to translate over, at least I haven't been able to figure out a way yet, but I'm sure it's there somewhere. Radio buttons are similar but a little easier to figure out.

But something that has provided A LOT of help is the excellent XPages tutorial over on Declan Lynch 's site. This is a great reasource to get you moving in the right direction. Thanks Declan! Interestingly enough though there is no mention of how to use Check Boxes or radio buttons in this tutorial or any of the other tuturials I've come across.

Some other resources I've found are listed below:

I guess the biggest complaint I've had with this process is the quirks of the 8.5 designer. The double-clicking to open a design element is killing me. Also, sometimes it takes 4 clicks to get a group of design elements (say XPages) to open and show the XPages in that group. I know that isn't a very good description of what I'm talking about. But hopefully the resource list above will get you on your way to starting XPages. I am by no means really knowledgeable enough to really speak about XPages in any way other than my experiences so far, but this trek should be something new and interesting and produce some really nice applications. Plus it seems that this is really the next logical step for Domino development.


Comments

ID: 1
Date: 07/19/2009 12:34:52 PM
Name: Patrick Kwinten
Website: http://quintessens.wordpress.com

to my opinion the XPages editor is not really friendly, it is hard to see which panel etcetera your cursor is located in.

maybe a selector/invetsigator like in firefox firebug would be better, to see where you are in the source.

also the source (when looking in the source editor) is quiet messy.

so my general opinion is that its in some ways better/more modern than the previous domino designer elements, but is far from developer valhalla Emoticon

ID: 2
Date: 07/19/2009 12:40:13 PM
Name: Bruce Elgort
Website: http://elguji.com/products

Keith,

Have a look at TaskJam at { Link }

ID: 3
Date: 07/19/2009 02:13:26 PM
Name: Paul T Calhoun
Website: http://www.nnsu.com

There is not currently a native control for a radio button and check box group.

The trick is to use the listbox control to create your logic and list values and then edit the source to change the control type to a radioGroup or checkBoxGroup.

Detailed in this wiki article.

{ Link }


ID: 4
Date: 07/20/2009 02:51:39 AM
Name: Julian Buss
Website: http://www.juliusbuss.de

another resource: YouAtNotes XPages Wiki - { Link }

ID: 5
Date: 07/20/2009 11:25:30 AM
Name: Keith Strickland
Website: http://www.keithstric.com

@2 - Thanks Bruce!

@3 - I had found that article, but can't seem to get the values in the list to show as "Checked" based on the values from the multi-value field on an already existing document created with the Notes client

@4 - Thanks Julian!

@1 - I had noticed the same thing, but just figured that it was due to me running it in a virtual machine and it was just being quirky. But the UI is more modern but it brings it's own quirks with it.

@All - I will update the post with the resources you all provided

Post A Comment

:-D:-o:-p:-(:-):-\:-|:angry::cool::cry::dontknow::emb::hairout::laugh::rolleyes::whew:;-)

Subscribe to keithstric.com

OpenNTF

Disclaimer

The opinions and ideas posted on keithstric.com are not necessarily the opinions and ideas of my employer. The solutions, techniques and code provided here are not guaranteed or warranted in any way and are free for you to use at your own risk.