lotus-domino

XPages disableOutput tag issue

旧城冷巷雨未停 提交于 2019-11-30 17:09:39
问题 Has anyone experienced an issue with disableOutputTag property where if you disable output tag for a computed field control inside a repeat control and have ssjs computed content inside that tag, it won't compute the content? Is disableOutputtag property only meant to work with static content inside a repeat control or is it a bug? 回答1: I don't know whether its a bug or not, but you can emulate the behavior of disableOutputTag by removing the ID attribute from and setting the disableTheme

Xpages Date Time Picker field defaults to today's date

若如初见. 提交于 2019-11-29 12:00:28
Running a ND9 server and when browsing a Xpage with a date field, the default value for this field is always today's date. On a 8.5.3 server the control is rendered like this: <input class="dijitReset dijitInputInner" dojoattachpoint="textbox,focusNode" autocomplete="off" type="text" aria-valuenow="undefined" aria-invalid="false" id="view:_id1:_id2:main:fromTDate" tabindex="0" value=""> <input style="display: none;" type="text" name="view:_id1:_id2:main:fromTDate"> On a ND9 server the same control renders like this: <input class="dijitReset dijitInputInner" type="text" autocomplete="off" data

Xpages can't load, Error 500; java.util cannot be resolved

十年热恋 提交于 2019-11-29 08:08:37
I recently moved a couple of applications to a server that is running Domino 9.0.1FP8 (JVM version: JRE 1.8.0 Windows Server 2008 R2 amd64-64). Since I did this I've been unable to load any, but the most basic of Xpages. I get the "Error 500 HTTP Web Server: Command Not Handled Exception" page. Via the ...IBM\Domino\data\IBM_TECHNICAL_SUPPORT\xpages_exec I get Exceptions such as: The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files The

Changing Sent By in Mail Document in Lotus Notes

百般思念 提交于 2019-11-28 13:08:28
I would like to also change the field "sent by" (displaying when there is a mailDoc.Principal) in the mail being sent by a triggered agent created in lotus script. Is it possible to change it I already tried the following codes mailDoc.SentBy = strFrom mailDoc.tmpDisplaySentBy = strFrom mailDoc.FROM = strFrom mailDoc.SendFrom = strFrom Still I couldn't change that part.. Is it possible or is there some limitation?.. Thanks You can't change it. The server puts always the current username into field Principal/From. But there is a workaround: instead of sending the mail save the mail document

Are JAR files in WebContent/WEB-INF/lib available to Java design elements in Domino Designer?

岁酱吖の 提交于 2019-11-28 12:38:30
When using Domino Designer 8.5.3, I have a bunch of custom classes added using the Java design element. I want to use a 3rd party JAR in my custom classes in the same way you would when using external JARs in xPages SSJS, via Package Explorer: WebContent-->WEB-INF-->lib However my custom classes aren't picking the JAR up. Is this a known limitation or have I got my configuration screwed up somewhere? They are after you do: Project -> Properties -> Java Build Path -> Libraries -> Add JARS... update: Frantisek Kossuth tells us about a nice shortcut in his comment: in Package Explorer view (Java

Java NullPointerException in Java Agent

我的未来我决定 提交于 2019-11-28 11:49:44
问题 I'm developing a java agent. I have an NullPointerException error which I do believe should not happen. Here is the debug console message: java.lang.NullPointerException at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:719) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:646) at COM.ibm.JEmpower.applet.http.HttpURLConnection.getInputStream(HttpURLConnection.java:411) at COM.ibm.JEmpower.applet.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:703) at java.net

How to create an auto incrementing field in lotus domino?

二次信任 提交于 2019-11-28 02:14:19
I have an application in lotus domino with a field UNIDID -number(computed)... I want that every time a new entry is created, this field to increment by 1 and the new value should be stored in new record document.. I have a @dbcolumn formula which will get me the last entry in the UNIDID field- mFind:=@DbColumn("" : "NoCache" ; @DbName ; "lkpEmpMasterbyOnlyUnidCode";1); How do I increment mFind and submit it in form of ' UNIDXXXX '? Employ document locking to assure number uniqueness in sequential document numbering solution To answer your specific question: lastEntry := @Subset(mFind;-1);

How to export Rich Text fields as HTML from Notes with LotusScript?

拜拜、爱过 提交于 2019-11-27 20:56:13
I'm working on a data migration task, where I have to export a somewhat large Lotus Notes application into a blogging platform. My first task was to export the articles from Lotus Notes into CSV files. I created a Agent in LotusScript to export the data into CSV files. I use a modified version of this IBM DeveloperWorks forum post . And it basically does the job. But the contents of the Rich Text field is stripped of any formatting. And this is not what I want, I want the Rich Text field rendered as HTML. The documentation for the GetItemValue method explicitly states that the text is rendered

Lotusscript: From address when sending email as web user

爷,独闯天下 提交于 2019-11-27 06:23:00
问题 I have a lotus-script agent which runs as Web User since I need to know who the current user is and process information accordingly. The problem is that when sending a email in this agent the From email address shows the web user email address rather than the one I have defined. I am setting the following fields before I send the email (as mime): mailDoc.Form = "Memo" mailDoc.Subject = strSubject mailDoc.InetSendTo = strFrom mailDoc.PostedDate = Now mailDoc.Principal = strFrom mailDoc.FROM =

Meaning of java.lang.ClassCastException: someClass incompatible with someClass

五迷三道 提交于 2019-11-27 02:04:46
I was experiencing occasional exceptions in XPages application: java.lang.ClassCastException: someClass incompatible with someClass. Both mentioned classes are the same, it is class used as session bean. I was not able to google anything covering my problem. Usual explanation for this was change in design elements, not my case. The XPage application become unusable (pages using session bean someClass) since that moment, until restart of http task, or resave of faces-config.xml. In some cases this is related to other exception: com.ibm.jscript.InterpretException: Script interpreter error, line