Fixing the Tooltip function in XPages

A colleague noticed that the tooltip function on a Xpage stopped working after submitting the page to the server and when the validation did not pass. The same behaviour occurred when I added a computed text control that would spit out an anchor reference using a tooltip. Odd.

I found an old post of mine where I described the use of the xe:tooltip control. This control seems to keep working even when the XPage fails to validate. So that is a win.

However, in my case I would have to apply the control on many places which does not make me happy.

I also wanted to alter the layout of the tooltip a bit via a template so I found this piece of code. To my delight I noticed that the tooltip also kept working after a failed validation!

So a simple bit of code can fix tooltip again:

So after applying a template for the tooltip and applying some CSS my tooltip looks a bit more readable and less boring:

Note that I have to set the xp:this.title property for the inputTextArea control. Adding an additional attribute for the placeholder won’t do for the template.

Wiki markup support for XPages wiki on Domino 852

I experienced a problem with the support of wiki markup in the XPages Wiki available on OpenNTF. In the discussion area Sean Cull comes with a temporary solution: go back from the CKEditor to the Dojo editor.

Okej, you will miss some functionality from the CKeditor but if your content is in wiki markup and your editors are instructed to write in wiki markup and basically you want your wiki content to be in wiki markup there is not so much other you can do 😕

Can an application that does not support wiki markup be considered as a wiki application?

Here is what you have to do.

  • Open custom control prtContent
  • Select the rich text field, content1
  • In the Dojo properties tab specify as Dojo type: ibm.xsp.widget.layout.RichText

More information on rich text in Designer 8.5.1 +2 you can read in the Information Center.

At Lotusphere a lot was being talked as positioning Domino as an application platform instead of a mail platform. @IBM: please fix your sink (applications) first since maintaining such a platform with such applications is getting pretty messy 😦