xpages

CKEditor 3.6.2 version issue in IE 10

邮差的信 提交于 2019-12-12 00:06:11
问题 CKEditor component doesn't work in Internet Explorer 10. See http://dev.ckeditor.com/ticket/9741 Does anyone have any advice how to do any workaround? Or do someone know when they will fix it? Thanks in advance, JiKra 回答1: First of all, IBM Domino 9 and IBM XWork Server 9 use CKEditor 3.6.3 where this bug with IE10 is fixed. For 8.5.3 I am using the following to make IE10 run as IE9 in order for the CKEditor to work: <xp:this.beforeRenderResponse><![CDATA[#{javascript: if (context

Need to disable loading resources on login page of XPages application

谁说我不能喝 提交于 2019-12-12 00:06:08
问题 We are in the midst of troubleshooting intermittent 403 errors in our application. One of the issues that came up was that we are loading resources on our login page. The resources intermittently produce 401 errors in our Integration environment. None of these are needed until after the user has logged into the application. All of these resources are stored in the NSF, none use a CDN. These resources are loaded via a Theme on every page. Naturally, I thought the solution was to disable the

Convert Active Directory DistinguishedName to Domino Name

纵然是瞬间 提交于 2019-12-11 23:55:39
问题 We are integrating our lotus notes applications with Active Directory for authentication and mailing. Authentication works fine and once logged it return the name in the below format CN=Arumugam, Barath/OU=Users/OU=Region - North America/DC=mhf/DC=mhc However there is no attribute in active directory which matches the above format. The closest match is attribute called distinguishedName. It is in below format. CN=Arumugam\, Barath,OU=Users,OU=Region - North America,DC=mhf,DC=mhc Is there a

File Upload in a Xpages Extension Library Dialog Box

寵の児 提交于 2019-12-11 23:12:40
问题 Is there anyway to get the a File upload/download to work in a extension library dialog box? The file unload control seems to work but never stores the file in the document. The other controls(inputtext, computed and dates) in the dialog works correctly Thx 回答1: I don't have code to give you YET... but in the day job we use PLUpload instead of the built in controls. You can out PLUload inside a standard XPages dialog box. It gets connected to an XAgent of which this snippet: http://openntf

how to define a conditional xp:confirm?

假如想象 提交于 2019-12-11 20:54:38
问题 I would like to use the xp:confirm action on a conditional status. Is there a way to compute the rendered property of this control? I can compute the rendered property for the whole xp:eventHandler but not for an xp:actionGroup or xp:confirm. 回答1: xp:confirm just adds client-side JavaScript to the button with: if (!XSP.confirm("YOUR MESSAGE")){ return false; } XSP.confirm() is an XPages wrapper for JavaScript confirm. The most flexible approach is to code the client-side JavaScript you want

Hiding based on previous combo box choice in xpages?

孤者浪人 提交于 2019-12-11 20:39:10
问题 I have 3 comboboxes Combo1 Combo2 Combo3 If Combo1 is blank (no selection) then combo2 is hidden. If Combo2 is blank then Combo3 is hidden. If Combo1 is changed, it blanks Combo2, if Combo2 is changed it blanks Combo3. This is because Combo2 choices are determined by Combo1 and Combo3 choices by Combo2. This is all working well. What is happening if I change Combo1 then Combo2 and Combo3 are being blanked just as expected but Combo3 is not being hidden. If all I do is change Combo1 again,

How to set Xpages Navigation Bar (Bootstrap) basic leaf nodes to active

流过昼夜 提交于 2019-12-11 20:23:14
问题 I am trying to use the Responsive Navigation Bar in the latest version of the Xpages Extension Library. It seems to work well but I cannot figure out how to set a link to active. Below is part of my code. What should I do to make a leaf node be active (i.e. look selected)? <?xml version="1.0" encoding="UTF-8"?> <xp:view xmlns:xp="http://www.ibm.com/xsp/core" xmlns:xe="http://www.ibm.com/xsp/coreex"> <xe:navbar id="custom-navbar1" fixed="unfixed-top" pageWidth="fluid" inverted="true"

Has anyone seen this error? err.PersistenceServiceResourceProvider.Errorwritingtopersistedcontenttor

女生的网名这么多〃 提交于 2019-12-11 20:22:33
问题 On my Domino server (9.0.1, FP2) I am getting the following error. 11/20/2014 01:00:39 PM HTTP JVM: !err.PersistenceServiceResourceProvider.Errorwritingtopersistedcontenttor! . For more detailed information, please consult error-log-0.xml located in D:/Program Files/IBM/Lotus/Domino/data/domino/workspace/logs When I look in the log-0.xml file I see errors like the following. Anyone else ever see this before? I searched the web and only found something similar back around 8.5.2 days.

xpages: java.lang.ClassNotFoundException: Cannot find class org.apache.commons.httpclient.HttpMethod in NSF

你说的曾经没有我的故事 提交于 2019-12-11 20:08:56
问题 I have written a java class that utilises org.apache.commons.httpclient. Initially i imported the java files into my nsf along with codec dependencies; the application worked fine. I then found that these were available in the eclipse plugins directory; so i then added them as a dependency in the plugin.xml Now when i try to run the application i get an error 500 and the following is recorded in the xpages_exc tech support file: 22/06/12 14:33: Exception Thrown javax.servlet.ServletException:

XPages: How to create link to download file from filesystem

ε祈祈猫儿з 提交于 2019-12-11 19:37:04
问题 i have a pdf file in a folder and i want to download it from an xpage. Normally this is just html like this: <a href='file://10.1.0.2/folder1/myfile.pdf'>click and download</a> I tested that it works using this line in a simple html file. In my Xpage I created a computed field (HTML display) and i added the < a > as value. I see the correct link on hover but on click nothing happens. What is the problem? Thnx 回答1: I have recently solved this kind of problem by writing a download "servlet" as