Archive for August, 2009

UI Example LN application

Even though Notes 8.5.1 can be expected soon reality learns us however that a lot of users are still on versions 7 or even 6. Ofcourse you could use the limitations in the UI as an argument to force them to upgrade to newer versions of Notes, but then still a lot would run the basic client, not the standard one, so nice looking Java Views are still a long way to go.

I wrote before something about UI’s in Lotus Notes but now I was thinking about adding an example so those who are interested can test it and give feedback or use it for their projects. Whatever.

Here is the link to the download. Below you can find some snapshots of the UI:

Notes View used as horizontal menu

Notes View used as horizontal menu

Collapsible Vertical Menus

Collapsible Vertical Menus

Vertical Menu placed in preview pane

Vertical Menu placed in preview pane

Preview on bottom by default

Preview on bottom by default

Option to switch place for preview pane

Option to switch place for preview pane

Form example 1

Form example 1

Form example 2

Form example 2

Form example 3

Form example 3

Form example 4

Form example 4

Well hopefully one day we have a “CSS Zen Garden” equivalent somewhere one OpenNTF where people can post good UI examples. Further may we say:

with every Notes Client installation with a version of Notes 7 or older a kitten dies?

faster pussycat

faster pussycat

Comments (13)

Displaying a Domino view in the dojo dijit.tree

Just before I will stamp some time in displaying a categorzied Domino View in a dojo dijit.tree I am wondering if anyone has done this before and is willing to share the code? Google brought me do far no fortune (allthough I was near).

For now I have managed to display a flat view in the dijit.tree, for generating the proper JSON I use an agent that collects the data in a View. Calling directly a view via the ?ReadViewEntries&OutputFormat=JSON delivers an overload of information.

As source I woud like to use a View with documents in a response hierarchy like I described before here.

Comments (3)

XPages – getting a doc in Edit mode. Best way?

Me and my colleague got quiet frustrated today with getting a document into edit mode. Why? In one database the routine works in another database it doesn’t.

What is the best way to be able to get a document from for example:

  • a View control or
  • a Table control

into Edit mode (after opening the document first for reading)?

It seems adding a link on the XPage which is used for opening the Document (in read mode) and applying an Action on the onClick event (Change Document Mode) has some uncertain behaviours.

Comments (4)

View control messed up in Declan’s template

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:

bug01

I guess you rather would like that it will look something like this:

bugfix

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:

bug02

Add an extra DIV to the bar section and clear any floating:

bug03

The ‘location’ bar is now back in line with the ‘application’ bar but a whitespace is noticeable.

bug04

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.

bugfix2

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?

Comments (3)

XPages – how to add an agent as the source for a script?

In a previous post I explained how a jQuery script can be used to transform a Notes view into treeview.

At this moment I am trying to implement the same functionality into an Xpage but some questions rise.

In the old-fashioned way you would invoke the script by adding some script tags on your form:

<script src=”/<Computed Value>/WEBOutputCategoryView?openagent&category=Home&viewname=(LUDocs)”></script>

However if I copy and paste the code on an XPage i get the error message:

error

The reference to entity “category” must end with the ‘;’ delimiter.

Has anyone a clue what the exact code should be like?

Comments (5)

Poverty (again) at IBM Lotus forums

I guess it has been discussed and complained before about IBM Lotus but since a week or so my proxy repeats asking my login credentials. I have no idea what is running on the background at IBM Lotus Forums.

When I login I even get the error message:

OpenForm&login
HTTP Web Server: Couldn’t find design note – Main+Topic

Select a view from the Browse By list, on the right, to return to the forum views.

I am trying to create a new topic on the 8.5 forum…

After all those years of annoyance, it feels awfully cheap still have to locate information this way IBM.

Comments (2)