lotus-domino

Lotus Domino: View pagination on web

安稳与你 提交于 2019-12-11 08:23:45
问题 I read on many forums about how to implement a solution for view pagionation, but I didn't solve it. I created $$ViewTemplateDefault containing some personalized hotspotbuttons for Next , Previous and a text field $$ViewBody . ( or, alternatively, an embedded view ). Any tips and help will be really appreciated. I will explain in a couple words, just to be clear: So, initially: the first 30 lines will appear => in a right corner: Page 1. If Next is clicked => the next 30 lines => Page 2. and

Writing temp files on domino server using java: what is the best practice for the temp directory?

心不动则不痛 提交于 2019-12-11 07:52:21
问题 I am writing a Java Agent which does some attachment manipulations and I am looking for a 'clean' place where I can do the manipulations - i.e. won't have too much hassles with admins setting special permissions. Is there a best practise for the location of the temp directory? In Lotusscript I would use Environ("Temp") which would give me the temp directory of the local machine. There is also the possibility of using the data directory, but that makes me uneasy... var d = session

newline not coming in mail body in Notes

隐身守侯 提交于 2019-12-11 06:36:42
问题 I am new to Notes. I am trying to send a mail from my application using Lotus Notes with an attachment,mail goes properly and attachment also goes but the problem is with the body content,the body looses its format and comes in a straight line i expect as follows Dear Sir, please check the attachment. Regards, NewConcept Infotech Pvt.Ltd., but it comes like this Dear Sir,please check the attachment.Regards,NewConcept Infotech Pvt.Ltd., i tried everything googled a lot but no use. this is my

How to call a java shared script library from a Java agent in Xpages?

社会主义新天地 提交于 2019-12-11 06:27:40
问题 I have an agent that is set to run every day at 8:00 I want to write a java code (in a shared library) and call that library from the agent with parameters. For Example: Agent code: // .... checkAndSendMail(email_1); checkAndSendMail(email_2); // .... java library code: public class Check{ public void checkAndSendMail(String email_param){ // ... mail.send(email_param); // ... } } Can I call a java shared script library from a Java agent in Xpages? if yes, then how to call? 回答1: You can do

How do I get attachments from a Lotus Notes email using VB.NET?

送分小仙女□ 提交于 2019-12-11 05:39:41
问题 I am trying to retrieve an attachment from a lotus notes email using the EmbeddedObjects array off of a NotesDocument object. In my test, I've set up an email with an attachment and am trying to process it. The HasEmbedded property of the NotesDocument object is returning true however the EmbeddedObjects array of the NotesDocument object is always nothing (null). Any ideas what could be going on here? Why is the EmbeddedObjects array always nothing? 回答1: I think in my last response I gave a

How can I login to Domino via Ajax?

廉价感情. 提交于 2019-12-11 05:08:32
问题 How can I login to Domino via Ajax? without using DOJO? 回答1: I found the code. I have published it here: http://domino-mobile.blogspot.com/2011/02/authenticating-to-domino-via-ajax-in.html 回答2: ok, jquery can? $("#login_form").submit(function() { $("#login_result").removeClass().addClass('process').text('checking....').fadeIn(1000); var xhr = $.post($("#login_form").attr('action'), { username:$('#username').val(),password:$('#password').val(),rand:Math.random() } ,function(data) { if((xhr

Is possible to add annotation @ManagedBean in XPages?

假装没事ソ 提交于 2019-12-11 04:58:21
问题 I try to add annotations in a Java class to take the bean in XPages. But when I try this: @ManagedBean(name="photoBean") @SessionScoped public class PhotoBean implements Serializable { private static final long serialVersionUID = -6839844250507324282L; private String idPhoto; private String nomPhoto; public String getIdPhoto() { return idPhoto; } public void setIdPhoto(String idPhoto) { this.idPhoto = idPhoto; } } it doesn't compile: @ManagedBean(name="photoBean") @SessionScoped Is there

How to get the underlying view of a form using lotusscript

吃可爱长大的小学妹 提交于 2019-12-11 04:14:17
问题 I am a newbie in lotusscript . We have a legacy lotus notes/domino system. We need to migrate the data from lotus notes to oracle. Lotus domino's data model is entirely different than that of oracle's data model. So, we are creating a relational table per Lotus notes form . I can access the views programmaticaly using lotusscript. But I couldn't get the views associated with a Notes form using lotusscript. Could anyone please give a code snippet or explain the relation between from and view?

java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\IBM\Lotus\Notes\nlsxbe.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

允我心安 提交于 2019-12-11 03:26:51
问题 I am trying to connect Lotus Notes Domino (8.5.1) objects from a java web application which uses eclipse (indigo, jdk1.7). this is what I did: 1. add notes.jar to Librairies of Java Build Path in eclipse, 2. add path variable of "C:\Program Files (x86)\IBM\Lotus\Notes" to path of Envrionment variable of my local computer. then I created this simple java codes in eclipse as below: import lotus.domino.*; public class platform3 { public static void main(String argv[]) { try { NotesThread

xpages number converter with combobox in ND9

别等时光非礼了梦想. 提交于 2019-12-11 03:05:29
问题 I'm having trouble using number conversion with numberConvert in a combo box in xpages on a Domino 9 server. This used to work on the 8.5 server. When I submit the values I get: Validation Error: Value is not valid I also tried to populate the values with "new javax.faces.model.SelectItem" but that didn't make any difference. Does anyone know how to use numbers in combo boxes in ND9? Here is the source (I removed everything unneccesary for this example): <xp:comboBox id="combo" value="#