xpages

Is there a way to generate JavaDoc from within Domino Designer?

浪子不回头ぞ 提交于 2019-12-07 10:22:12
问题 I export my Domino Designer Java code to Eclipse in order to generate JavaDoc but this is cumbersome. I have tried on several occasions to do the same thing from inside DDE but the process fails and have not found a solution. Is there a way to generate JavaDoc for managed beans from DDE? 回答1: JavaDoc is available as an ANT task. Domino Designer can run ANT tasks manually or as part of the build process. Only catch: ANT doesn't know the Eclipse Virtual File system. You have 2 options to

XPages mobile controls not working with iOS 8

自作多情 提交于 2019-12-07 09:55:19
问题 We have a couple of simple apps that use the XPages mobile controls that no longer work on iOS 8 devices. Tapping on outline entries, dataview entries, buttons in the header, etc. doesn't seem to do anything. Tapping on a category to expand or collapse it in a categorized view is the only thing that seems to work. The apps are running on a Domino 9.0 server with the openntf essentials package installed. iOS 7 and Android devices work fine. Anybody else having problems with the mobile controls

How do I display the copyright symbol in an XPage?

萝らか妹 提交于 2019-12-07 05:35:33
问题 This seems like it should be simple. Using the escape sequence of © doesn't work when I enter this as text. The XPages engine keeps escaping the ampersand character, causing the string to be written as a literal. 回答1: XPages is XML and it doesn't know the HTML escape characters, hence the "escaping" of the © symbol. I stumble over the same problem when designing XSLT stylesheets that output HTML. What should work is: © . Are you planting the code in the source of the XPage or do you compute

Adding numbering to documents in Xpages

前提是你 提交于 2019-12-07 00:26:36
I needs some tips on this one, since I couldn't find anything on this, though it's probably pretty simple to do, but I can't think of a way. Ok, so I need a hidden field which will automatically compute so called id numbers for every document, the numbers must start from 00001 and forward and must never ever repeat. For instance i create a document with numberId = 00001 and another document which creates numberId = 00002, if I ever delete the first or second document, the third created document should have numberId = 00003. No matter how many documents get deleted, the next document created

How do I get the value of nth Edit box in a repeat control?

做~自己de王妃 提交于 2019-12-06 21:02:50
I have an EditBox control in a repeat control. Its iteration formula is: return 5; It is successfully displaying 4 edit boxes (the starting index is set to 1). In SSJS, how can I get the value of the nth Edit Box? You could set a sessionScope variable (or any scope variable) on the onchange event of the edit box and then in your SSJS reference the sessionScope variable. Here is some sample code, the bottom bit just shows your sessionScope variables on the page. <?xml version="1.0" encoding="UTF-8"?> <xp:repeat id="repeat1" rows="30" value="#{javascript:5}" indexVar="rptIndex"> <xp:inputText id

Debug information for javax.net is not written to Domino server console

荒凉一梦 提交于 2019-12-06 16:46:13
In my XPages application, I want to debug a problem related to javax.net . Therefore I set the system property javax.net.debug=all . Unfortunately, the debug information is not written to the Domino server console and I cannot find it in any of the logs on the server. Can anybody tell me how to get that debug output? 1) In your Notes.ini, create an entry for an options file, i.e. JavaOptionsFile=C:\IBM\Domino9\MyJavaOptions.txt 2) Create this file and add this line -Djavax.net.debug=all 3) Save it & restart the server 4) Open log.nsf to see what happens - the server console is no longer

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

XPages Extension Library Create an event with room reservation via Data Calendar Service API

主宰稳场 提交于 2019-12-06 15:53:52
I'm trying to create an event with a room reservation via the Xpages Calendar Services APIs, with a valid JSON object. Details of the request I am using : URL : [server-path]/mail/administ.nsf/api/calendar/events Operation : POST Headers : Content-Type : application/json JSON Body : { "events": [ { "summary": "Meeting 1 Added via API Call", "location": "Conference Room 2/Site@domain", "description": "Test description", "CalendarDateTime":{ "date":"2014-02-11", "time":"17:00:00", "utc":true }, "start": { "date":"2014-02-11", "time":"17:00:00", "utc":true }, "end": { "date":"2014-02-11", "time":

XPages [TypeError] Exception at view.getNextDocument(curDoc)

给你一囗甜甜゛ 提交于 2019-12-06 15:52:23
Here's my set-up: In my XPage, I have an embedded view which opens a document in the adjacent Panel. Clicking the doc link in the view sets the doc's UNID in a viewScope variable, and refreshes the Panel. The UNID variable is used to define the Page's Data Source Document ( doc ). Now in a Button, I want to get a handle to the next document in the view, but when the following SSJS code is run an error occurs at the last line: var v:NotesView = database.getView("ViewByYear"); var curDoc:NotesDocument = doc.getDocument(); // curDoc = v.getFirstDocument(); /* if this line is uncommented the error

Submit search on ENTER not working in IE

落爺英雄遲暮 提交于 2019-12-06 15:09:19
to perform a fulltext search users want to simply enter their query into a simple inputText. Then as soon as they hit ENTER the search itself should kick in. Currently we tried to solve it like this: the inputText is bound to a sessionScope variable myQuery the input also has an OpenPage action bound to its onchange event the page that is to be opened contains a viewPanel with a search filter bound to our sessionScope variable, as well as some more FT filtering fields. This works fine in Firefox and Chrome but not in IE ; obviously IE isn't recognizing the ENTER key as an onchange -trigger. So