xpages-extlib

Dojo DataGrid (8.5.3 UP1) Returning Blank Rows - based on Readers field

懵懂的女人 提交于 2019-12-09 23:37:35
问题 Trying out a Dojo DataGrid control on an alternate XPage (so as not to impact production) for an existing View, which utilizes Readers fields in the documents. I've got the REST service implemented (xe:viewItemFileService) and connected to the Dojo DataGrid just fine (from 8.5.3 UP1 controls). I have two scenarios of user visibility (via Roles in the Readers field, assigned by NAB Group definition): All documents visible (user A). User A can see all documents, everything works perfectly fine

XPages Extensions library and Object Data Source usage

好久不见. 提交于 2019-12-06 16:10:44
Included in extensions library (default in Domino 9) there is an 'Object Data Source' feature. Its very handy thing but I cant find any documentation on this. I have a question on 'ignoreRequestParams' property ... what does it mean and how this can be used? By enabling this can URL params be automaticly bound to datasource object properties? The original two data sources (Domino Document and Domino View) both support a behavior that allows URL query string parameters to override property values. By default, the Document data source, for instance, looks for databaseName , formName , and

XPage Osgi plug in development

旧城冷巷雨未停 提交于 2019-12-06 07:06:41
问题 background I have designed many tools in the past year or so that is designed to help me program for XPages. These tools include primarily helper java classes, extended logging (making use of OpenLogger and my own stuff), and a few other things that I personally feel I cannot work without. It has been discussed with my employer, and we feel that it might be a good idea to start publishing these items to openNTF. Since these tools are made up of about 3 .nsfs, all designed to use the same java

Consume REST Service in XPage

天大地大妈咪最大 提交于 2019-12-06 06:35:41
问题 Can anyone point me to a article, tutorial, or walk-through of getting started with consuming REST services in XPages? I have seen a few that use the Domino Data Service or a Domino REST service, but I would like to see one consuming external REST services such as PayPal's. Please don't direct me to Social Business Toolkit, I have looked at it and even downloaded it but don't feel I should have to install J2EE and Eclipse to see a demo of 12 lines of JavaScript. 回答1: I know this is a bit

Extlib dialog appears to be pinned to the right window border

南笙酒味 提交于 2019-12-06 03:33:16
I'm having this strange phenomenon with an extlib dialog which I've never encountered before. The scenario is pretty much straight-forward: there's a link control calling the dialog.show() method through it's serverside conclick event. As soon as the dialog appears, however, it somehow is glued to the right edge of the browser's window. Dragging the dialog to the left doesn't actually move it but increases its width instead! I can't see anything special at all looking at the source code through firebug. AFAIK there's only one thing special about this application: the Xpage in question is

Can JDBC connection files contain computed properties?

浪尽此生 提交于 2019-12-05 17:47:46
In the book "XPages Extension Library", Chapter 12, page 409 there is an example of JDBC connection file: <jdbc> <driver>org.apache.derby.jdbc.EmbeddedDriver</driver> <url>jdbc:derby:${rcp.data}\derby\XPagesJDBC;create=true</url> <user>phil</user> <password>phil</password> </jdbc> It is also mentioned in the text that "notice in previous example the use of the configuration property rcp.data in the computed expression ${rcp.data}. The connection files can take advantage of computed properties in their definitions." My question is: what exactly are these "computed properties" and how are they

Dojo DataGrid (8.5.3 UP1) Returning Blank Rows - based on Readers field

爷,独闯天下 提交于 2019-12-04 18:55:54
Trying out a Dojo DataGrid control on an alternate XPage (so as not to impact production) for an existing View, which utilizes Readers fields in the documents. I've got the REST service implemented (xe:viewItemFileService) and connected to the Dojo DataGrid just fine (from 8.5.3 UP1 controls). I have two scenarios of user visibility (via Roles in the Readers field, assigned by NAB Group definition): All documents visible (user A). User A can see all documents, everything works perfectly fine for this one. User B can see some documents. ViewPanel control works fine, but once it's in the Dojo

Fixing “stretched” XPage extension library Name Picker in IE?

大兔子大兔子 提交于 2019-12-02 20:42:57
问题 Dalie came up with a great solution to stop the "stretched" to the right dialog boxes when they appear in IE. Fixing "stretched" XPage extension library dialog box in IE? Dalie's solution was to set the width of the dialog box. This worked great. But now I am having the same issue with the extension library Name Picker. It has a width property which I set but does not seem to solve the problem. To review, basically in IE dialog boxes are "stretched" all the way over to the right border of the

Save button using SSJS does not open xe:dialog in web xpage but works on mobile xpage

北城余情 提交于 2019-12-02 11:48:00
问题 The following save button code works well on mobile xpage: var checkBox31:com.ibm.xsp.component.xp.XspInputCheckbox = getComponent("checkBox31"); var customerID1:com.ibm.xsp.component.xp.XspInputText = getComponent("customerID1"); var a = checkBox31.getValue(); var b = customerID1.getValue() if (a == "" || a == null){ if (b == ""){ sessionScope.put("ITDialog","You must enter Customer ID"); var dialog1:com.ibm.xsp.extlib.component.dialog.UIDialog = getComponent("dialog1"); dialog1.show(); } }

Fixing “stretched” XPage extension library Name Picker in IE?

不羁岁月 提交于 2019-12-02 09:43:50
Dalie came up with a great solution to stop the "stretched" to the right dialog boxes when they appear in IE. Fixing "stretched" XPage extension library dialog box in IE? Dalie's solution was to set the width of the dialog box. This worked great. But now I am having the same issue with the extension library Name Picker. It has a width property which I set but does not seem to solve the problem. To review, basically in IE dialog boxes are "stretched" all the way over to the right border of the dialog box. No matter where you move the dialog box the right side stays anchored in place. Any