xpages

ViewPanel filter by StartKeys…but pager don't Update

邮差的信 提交于 2019-12-24 18:21:50
问题 I use attribute StartKeys into ViewPanel control..but the pager are not refreshed for go to the correct Page by SartKey. Have you any suggest? My pager is inside ViewPanel <xp:viewPanel rows="30" id="viewPanel1" var="rowData" showUnreadMarks="true"> ......column value.... <xp:pager partialRefresh="true" layout="Previous Group Next" id="pager1" styleClass="vhead3" for="viewPanel1" alwaysCalculateLast="true" partialExecute="true"> </xp:pager> </xp:viewPanel> 回答1: There is not a bug here. If you

by clicking on one button invoke two other buttons

荒凉一梦 提交于 2019-12-24 18:21:40
问题 I would like by clicking on a button to "activate" the clicking of 2 other buttons. I've put this ccjs in the onclick event: document.getElementById("#{id:button28}").click();document.getElementById("#{id:button29}").click(); But then only button 28 gets clicked ! Then I tried putting this part1 of the code under the onclick event and part2 under the onmousedown event. Then I have to click 2 times this button before he actually does the job. the code so far: <xp:button value="Save" id=

The File Upload control from the Extension Library doesn't seem to localize. Where can I change that?

淺唱寂寞╮ 提交于 2019-12-24 17:12:32
问题 I'm using the Extension Library File Upload control in a localized application. As you can see in the screen shot, most elements are "automagically" localized, but the File Upload control is not. It seems the download control has properties to override the names for "Created on" and such, which is perfect, I can localize those, but the "Browse" button on the upload control doesn't seem to have any property to change what is displayed. Any way I can override that? 回答1: There is no way. It's a

XPages getEntryCount vs getAllEntries().getCount()

纵然是瞬间 提交于 2019-12-24 16:56:11
问题 I have a view with 59 documents. I verified this in the client. In the beforePageLoad event of my XPage I have the following code: var db:NotesDatabase = session.getDatabase(sessionScope.serverPath,sessionScope.dbName); var v:NotesView = db.getView(sessionScope.allEntriesView); viewScope.vwEntryCount = v.getEntryCount(); viewScope.vwCollCount = v.getAllEntries().getCount(); As you can see from the screenshot below, the collection count is correct but the getEntryCount has 3 more documents

XPages getEntryCount vs getAllEntries().getCount()

给你一囗甜甜゛ 提交于 2019-12-24 16:55:09
问题 I have a view with 59 documents. I verified this in the client. In the beforePageLoad event of my XPage I have the following code: var db:NotesDatabase = session.getDatabase(sessionScope.serverPath,sessionScope.dbName); var v:NotesView = db.getView(sessionScope.allEntriesView); viewScope.vwEntryCount = v.getEntryCount(); viewScope.vwCollCount = v.getAllEntries().getCount(); As you can see from the screenshot below, the collection count is correct but the getEntryCount has 3 more documents

Xpages get component value in extlib dialog box

陌路散爱 提交于 2019-12-24 16:35:16
问题 I defined a document datasource(called document1) in a panel in my extlib dialog box. Within this panel, it contains dialog content and dialog butotn bar. Within the dialog content, in contains a custom control that has all the components likes dojo edit box, list box, radio butotn etc. Within the dialog button bar, it contains a Save button. On save, I could not get the value from any component by the following getComponent, document.getDocument.getxxx: print (getComponent.getValue("control"

Custom login forms in xpages?

久未见 提交于 2019-12-24 16:14:04
问题 How do I do a custom login form in xPages? I found this http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=Xpages%20Dojo%20Login%20Custom%20Control in openntf. Perhaps it is just me but it seems that the documentation is not real clear. It seems you still need to use an old notes form? If so it is not real clear to me how his form connects to the xpage. The documentation does not appear to show what the acl should be set to. For example if the acl is set to No

Creating slideshow in Xpages

吃可爱长大的小学妹 提交于 2019-12-24 15:57:19
问题 I am about to create a image slideshow in XPages, all images will refer at the lotus notes database. I don't know how am I going to start on this. 回答1: I think you require an image carousel . If that is what you are looking for then here are some options - On OpenNTF there is a project called Home Page Template which has an image carousel Another OpenNTF project called XPages for Presentation. This is not a carousel per se but may give you some ideas. dojox.image.SlideShow - This demo page

How to give public access to files under webcontent in lotus domino

拜拜、爱过 提交于 2019-12-24 15:49:34
问题 I have a domino application with XPages that i want to be public. So, i set in the ACL the "Default" to Depositor level with read public documents option, so as to make it public. When i want to use an image resource i go to its properties security tab and i enable the "available to public access users" checkbox. Now, I want to use font-awesome in my application and i have font-awesome's folder with its subfolders and files under webcontent folder. How can i make them public? (in a non-public

How can you (partly) hide the design of your XPages application?

天大地大妈咪最大 提交于 2019-12-24 15:41:23
问题 Can you (partly) hide the design of your XPages application when distributing them and how should you do so? 回答1: Patrick we hide the entire design for our IQJam and IdeaJam evaluations and all works fine. Not sure about how to hide only "portions" of the app. 回答2: Not possible to partly hide specific objects, use these steps to hide the application design completly Create a two new templates (ntf's) from your nsf application do replace design using one of the templates to the other with the