October 28, 2010

[XPages] Tip When Using CKEditor On Site Behind IIS

A quick tip if you are building an XPages site that is placed behind IIS.
When you are using the CKEditor (default RichText editor in 8.5.2), remember to edit your plugin-cfg.xml to direct requests to  "/ckeditor/*" to the Domino server.

This is achieved by adding a line to plugin-cfg-xml looking like this:
<Uri Name="/ckeditor/*" />

Hints that this is required include the faact that the rich text editor is not displayed and that your browser displays error messages like this:

For more info on the plugin-cfg.xml file and XPages, have a look here and here.

October 4, 2010

HTTP JVM: com.ibm.xsp.acl.RedirectSignal - What does it imply?

After upgrading the Domino server to 8.5.2, we've occasionally been getting entries like these in log.nsf on the server:

04.10.2010 14:07:39 HTTP JVM: com.ibm.xsp.acl.RedirectSignal
04.10.2010 14:07:50 HTTP JVM: com.ibm.xsp.acl.RedirectSignal
04.10.2010 14:09:08 HTTP JVM: com.ibm.xsp.acl.RedirectSignal

I've been trying to ask Google for help on this, but without any luck. In fact, if you google the phrase "com.ibm.xsp.acl.RedirectSignal", you get a single hit (!): http://www.timtripcony.com/xpages_ext_api_javadoc/serialized-form.html

Does anyone of you Lotus Notes experts out there have some more info on this topic?

Might not be a big problem, but I'm a bit paranoid when it comes to entries in the log.nsf... :-)

Update: I've also created a topic at the Notes 8.5 forum over at lotus.com - LINK

XPages: Edit multi-value fields in existing documents - A frustrating battle!

It's been a while since I last wrote something on here, I'm blaming it on a very busy schedule, but now there's something I would very much like to share with the rest of the XPages Community: During the last couple of months, I've been (amongst other things) working on implementing an "edit news article"/"edit user profile" feature on website I'm creating. I've previously developed a "create news article". This XPage contains the usual "heading", "lead paragraph" and "body" fields, but also some multi-value fields to select category and target audience for the news article.

The creation of these multi-value fields were fairly straight-forward, and creating news articles worked like a dream. However, trying to edit these fields on an XPage was to be a more painful experience. Changing the values and hitting the save button on the site would not have the desired effects on the saved Notes document, the multi-value fields would remain unchanged. The whole thing was getting very frustrating, but fortunately there are some explaining and helpful articles out there on the web:

  • Sean Cull has created a page that demonstrates the the differences between a field's value and submitted value. Take a look here.
  • IBM have written something themselves about the topic, have a look here.
  • YouAtNotes.de writing about getting and setting field values and value bindings here.
I hope these links will prove to be as helpful to some of you as they were to me!