The new XPages Extension Library from OpenNTF really does make development a lot easier so I thought I’d take some time out from coding the next version of Blogsphere to show everybody some of the places where I have used the features from the library in my code.
In the configuration areas you’ll find the xe:navigator control being used to created the menus. Simply dragging the control to the XPage and then setting up a tree of menu options in the controls properties quickly results in a oneUI styled menu.
Here I’m using the xe:slider control in the blogs layout configuration page to allow the owner of the blog to quickly and easily select how many entries should appear on the home page. This is much nicer then having an edit box and hoping that the blog owner will enter in a number.
The slide blocks themselves are created using the xe:widgetContainer control. Again the coding is done for you, just drag on the control and give it a title for the most simplest of implementations. You can add an actions menu to the right side of the control by creating a number of ‘tree nodes’ similar to the way the xe:navigator control is created.
This isn’t part of the XPages Extension Library but I just wanted to point it out. This is the new CKEditor control for Richtext items but I’m using a custom toolbar. For comments on blog entries I don’t think it is necessary for the blog reader to have to select fonts and font sizes so I removed the from the toolbar along with a few other default menu options.
There’s a lot more to come…
How did you control what buttons display on the toolbar? I’m not sure I’ve seen any details on that yet.
I like your breadcrumbs components at the top of the page. is it something you’d like to contribute back to the library?
I’m looking for a good runtime design for defining the current path, and make it easy to use. Any idea will be welcome!
I Agree, using the Pages Extension Library from OpenNTF does make things easier.
I figured out my problem.
There is a new article in the Lotus Wiki