For those of you who would like to use Declan Sciolla-Lynch’s XPage framework as a default development template I have a warning when using View controls. It will lack the default presentation layer as you expect it would look like.
Here is how it shall look like:
I guess you rather would like that it will look something like this:
The reason for it is that the oneUI Theme does not extend the oneui theme. So in that theme add the following line:
<theme extends=”oneui”>
What you will notice then is that the application name will break the design:
Add an extra DIV to the bar section and clear any floating:
The ‘location’ bar is now back in line with the ‘application’ bar but a whitespace is noticeable.
In the custom.css you need to overwrite the default styling for h2:
.lotusForm h2 {
margin:0px 15px 0px 0px;
}
There you have it! You have the styling for a View control back.
Ps. I rather advice to take a look at examples provided by IBM (maybe the discussion template for 8.5 give help) or does somebody else have a good clean development template available?






After an x number of years working in the same environment I have decided to look for a new challenge. Are you looking for a smart companion?

sean cull said
I looked for a clean view example but couldn’t find one. I ended up using the repeat from Xpages ( prtview ) – note that this needs the custom.css resource
Sean
Declan Lynch said
I have a rewritten version of that app that uses all the theme stuff properly, extended the real oneui theme. Once 8.5.1 is out I’ll be releasing it.
quintessens said
hej Declan, could you send it to me?
We’re participating in the Design Program so we have access to beta versions. internally we’re preparing ourselves for 8.5.1 with a good development template.
Thanks in advance.