xpages

XPages RichText Links

我的梦境 提交于 2019-12-25 02:20:04
问题 I have an XPage to display document data. To display RichText data I added a RichText control. What I found out is that database / view / document links are displayed with the appropriate icon but are converted to http-links. I would like to have these links being transformed to notes://-links to make sure that these links are being opened in the user's notes client rather than in the user's browser. Any suggestions how to accomplish this from a technical point of view? Many thanks in advance

Xpages - Bean does not exist error

拈花ヽ惹草 提交于 2019-12-25 01:55:36
问题 I am using Name picker provided by extension library. Since I need to retrieve names for active directory instead of names.nsf, I used beanNamePicker to get names from Active Directory. It is working fine, but sometime I am getting the below error. The error goes off if I refresh the database in designer. Any idea on how to avoid this error without refresh? com.ibm.xsp.FacesExceptionEx: !BeanNamePickerData.Bean0doesnotexist! !BeanNamePickerData.Bean0doesnotexist! Domino Version : 8.5.3 UP1.

What are the pitfalls in when moving a 8.5.2 XPages application to 8.5.3

你。 提交于 2019-12-25 01:23:39
问题 Any suggestions on what to look for before moving to 8.5.3? For example XSP.partialRefreshGet or XSP.partialRefreshPost commands should take a second parameter (even an empty one) after 8.5.3. Are there any other known things to check for ? 回答1: Heads up for upgraders : 8.5.3 cannot support > 1 rich text editor per xpage if the image upload feature is used. 回答2: After 8.5.2 (not 8.5.3!), viewScope should be getting serializable variables by default. http://lotusnotus.com/lotusnotus_en.nsf/dx

Change style class by changing scoped variable value

こ雲淡風輕ζ 提交于 2019-12-25 01:22:49
问题 I have a button inside an xpages div and I am trying to compute the style class of that button based on a scoped variable. Initially, the scoped variable's value is 'blue' and the background color of the button inside the div is blue as well. When I click on a second button, I set the value of the scoped variable to 'green' and do a partial refresh of the div. Now, I would expect the button to turn green, but the class is not being changed. Here is the SSJS for computing the style class: if

Making a viewEntryCollection an objectDataSource

佐手、 提交于 2019-12-25 01:21:50
问题 I have some SSJS that does a FTSearch on a view and I get a viewEntryCollection returned: var veCol:NotesViewEntryCollection = thisAppDB.getView("vwFTSearch").getAllEntries() veCol.FTSearch(queryString); viewScope.vsColCount = veCol.getCount(); I know that veCol contains the viewEntries that I want and they are in the correct order. Now I would like to define a dataSource that I will use as the dataSource for a repeat control. I think the answer involves creating an Object Data Source but I

xpages Custom Control “fileDownload” don't display “modified file” in reader mode

你离开我真会死。 提交于 2019-12-25 01:19:16
问题 I am using a "document library" (template: StdXLWebXDocLib). When I modify the Custom Control "fileDownload" and I put the <displayLastModified option = "true"> , the modification date does not appear in Reader mode while it is displayed when i am in Edit mode. Is this a XPAGES bug ? Anyone know the solution? 回答1: There are two different fileDownload control on that page, inside different facets of a dynamic content container. You should modify both. 来源: https://stackoverflow.com/questions

JSPDF-autotable : jsPDF is not defined

杀马特。学长 韩版系。学妹 提交于 2019-12-25 01:04:26
问题 Trying to give the possibility to generate a pdf in xpages The code I have : <?xml version="1.0" encoding="UTF-8"?> <xp:view xmlns:xp="http://www.ibm.com/xsp/core"> <xp:this.resources> <xp:script src="generate.js" clientSide="true"></xp:script> </xp:this.resources> <script type='text/javascript' src='js/jspdf.min.js'></script> <script type="text/javascript" src="js/jspdf.plugin.autotable.js"></script> <button onclick="generate()">Generate PDF</button> <xp:br></xp:br> <xp:br></xp:br> <table id

HTTP JVM Error - Unable to get document page name

╄→гoц情女王★ 提交于 2019-12-24 23:40:30
问题 Xpage Application - In the domino server log, I am getting the error as HTTP JVM: com.ibm.xsp.webapp.FacesServlet$ExtendedServletException: com.ibm.xsp.FacesExceptionEx: Unable to get document page name for 7EC37B533FC6F7CE65257BDE0038ECDC What may be the reason behind of this error? Thanks in advance 回答1: Open the Form design element associated with the document in question, and bring up the Form Properties infobox. On the second tab, set the "Display XPage instead" option to the page that

XPages: Get the contents of a - this._partialRefresh AJAX call?

别等时光非礼了梦想. 提交于 2019-12-24 23:29:01
问题 I'm doing a partialrefresh of an XPage (Domino 8.5.1) but need to get the contents of the response. The reason is that IE8 seems to (sometimes) have an issue with partial refreshed HTML not showing. I can see that the response is correct but the DOM isn't updated. There's an easy fix for this: div.innerHTML = div.innerHTML But for me to apply this I need the content so I can insert it in the first place. So, is it possible to get the returned HTML from a partialRefresh? Or is there another

No scrolling/paging of entries in Name Picker (Ext.Lib)

泄露秘密 提交于 2019-12-24 23:28:59
问题 When using the Ext.Lib Name Picker control connected to the NAB, the default is to view the first 50 entries from selected view (depending on whether groups/Persons is selected in property). But there are no scroll/paging buttons on the dialog. If I want to pick an entry from the NABPicker and the entry is after the first 50 I must use the Search button to find it. Is this working as designed or a feature not yet added? /Mike 回答1: As far as I know this is working as designed. The server only