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
October 4, 2010
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:
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!
Etiketter:
documentation,
edit document,
multi-value,
multivalue,
save document,
XPages
June 25, 2010
XPages: XSP Unit testing framework - anyone tried it?
After being "brainwashed" by Uncle Bob and Roy Osherove for 3 days about test driven development, I came back to work eager to try to use some of these techniques in my daily work with XPages. A quick Google search pointed me in the direction of XSP Unit, a "simple framework for xUnit style unit testing of Javascript in XPages Applications" developed by Lorcan McDonald.
My first impression is positive, but I was wondering if anyone else in the XPages community are currently using this framework?
What are your experiences?
Is it worth the hassle to set it up and start using it?
My first impression is positive, but I was wondering if anyone else in the XPages community are currently using this framework?
What are your experiences?
Is it worth the hassle to set it up and start using it?
Etiketter:
roy osherove,
tdd,
test,
uncle bob,
unit testing,
XPages,
xsp,
xsp unit
June 14, 2010
XPages: Default Value for Repeat Limit in Repeater Control Equals 30 ?
Last week, I stumbled upon a mysterious bug in XPages. I've created quite a few pages and custom controllers with repeater controls during the last months, but never seen this before:
When I didn't specify a repeat limit for the control, I would only get the first 30 entries from the data source!
I've developed the habit of not setting the repeat limit when I don't need it, believeing that it would provide me with all the entries from the data source. Checking the provided documentation in the Domino Designer comfirmed my thoughts:
Has anyone else experienced this bug? Or is there another way to limit the repeat control, that I might have done unintentionally?
For most cases, the work around is quite easy, just set the repeat limit field to some high value that you (probably?) will never exceed, but in some cases you might not know in what range the number of view entries will be when your application has been in use for a while...
When I didn't specify a repeat limit for the control, I would only get the first 30 entries from the data source!
I've developed the habit of not setting the repeat limit when I don't need it, believeing that it would provide me with all the entries from the data source. Checking the provided documentation in the Domino Designer comfirmed my thoughts:
Has anyone else experienced this bug? Or is there another way to limit the repeat control, that I might have done unintentionally?
For most cases, the work around is quite easy, just set the repeat limit field to some high value that you (probably?) will never exceed, but in some cases you might not know in what range the number of view entries will be when your application has been in use for a while...
June 8, 2010
XPages: Modifying Button Text in File Upload Control?
I'm currently working on create a page, using XPages, where the users amongst other things are able to upload files. Simply dragging and dropping a File Upload Control onto the page works fine, but I would also like to modify the text on the browse button that is automatically provided by the Dojo framework.
It seems to me that the text on the button is set to the default "browse text" of the system. On other buttons on the page, e.g. the submit button, I am able to set the label of the button (see picture below, which is then displayed as the button's text. This does not work for the browse button...
Does anybody know what I need to do to be able to set the text of the file upload control button to whatever string I want to?
It seems to me that the text on the button is set to the default "browse text" of the system. On other buttons on the page, e.g. the submit button, I am able to set the label of the button (see picture below, which is then displayed as the button's text. This does not work for the browse button...
Does anybody know what I need to do to be able to set the text of the file upload control button to whatever string I want to?
Subscribe to:
Posts (Atom)