About Lotus Notes and Domino and more... provided by the Emcon company.

OpenNTF - XPages Framework and OneUI

Fredrik Malmborg  May 28 2012 01:58:01 PM
Lately I have been comming up to speed with my own learning of XPages.

There  are many resources but unfortunately it seems like many are not updated with latest changes and features. The resource that helped me most so far was the OpenNTF project "XPages Framework".
http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=XPages%20Framework

I already had some knowledge about what you can do with XPages, but I had not yet really understood how you put together a nice base for an application with XPages. I knew I wanted something with OneUI.
http://infolib.lotus.com/resources/oneui/2.1/docPublic/examples.htm?content=2colGrid.htm

XPages Framework could be the answer and it was. Even if it took time to get to where I wanted.
Problem was that I could not get the View Panel to look good. I had searched for solution without luck.

Image:OpenNTF - XPages Framework and OneUI

Finally I read the instructions for the framework again and noticed that the version of OneUI used by the themes was v2 and not v2.1 and they were not complete. New search to find out how to complete the theme. Found some interesting reading in a RedBook Wiki. But still it felt more complicated that I thought it should be.
http://www.scribd.com/doc/57648900/4/Step-3-Incorporating-the-CSS-Framework-using-Themes

Finally I rebooted my brain and got a new idea. What if I write "oneuiv2.1" in the theme field in Application Properties. Yes, it works!

Image:OpenNTF - XPages Framework and OneUI

My conclusion is to use "oneuiv2.1" as theme in the XPages Framework if you have Notes/Domino 8.5.3 or later. The added Themes in the framework design does explain some features but for me as a beginner it is more confusing than using the standard.
Comments

1Patrick Kwinten  05/28/2012 5:04:22 PM  OpenNTF - XPages Framework and OneUI

why not use the application layout control for the oneuiv2.1 ?

less design elements = hopefully less support.

2David Leedy  05/29/2012 3:26:04 AM  OpenNTF - XPages Framework and OneUI

I would suggest that if your able to use ect. Library then go right into the app layout control. It makes the framework very easy to deal with.

If you can use ext. library then I'd skip oneUi all together and use blueprint CSS or one of the newer off shoots like twitter bootstrap framework.

I've done screencasts on notesin9.com on some of these frameworks.

3Fredrik Malmborg  05/29/2012 9:40:17 AM  OpenNTF - XPages Framework and OneUI

Thank you for your good advice, I will try the application layout control as well.

Maybe it is stupid but I like to try the old way before I go with the new. Then I think I get a better understanding and can make better decisions later on.