domino-designer-eclipse

can anyone please tell how to deal with inline images in lotus notes

梦想的初衷 提交于 2019-12-24 02:12:25
问题 Hi guys i am working on sending an email in lotus notes through java.I am able to send an email.For external attachments i am constructing an rich text item.but i am not getting how to deal with inline attachments such as an image inside a mail body part. Here is the code i am using.thanks Document doc = null; RichTextItem rti = null; try{ doc = db.createDocument(); doc.replaceItemValue(ServiceConstants.FROM,getFrom() ); doc.replaceItemValue(ServiceConstants.FORM, getForm()); doc

Conflicting CLASS files

99封情书 提交于 2019-12-23 16:10:50
问题 In our production environment we encounter Error 500 with some XPage - using Java bean. I have traced the problem to this: when application is built/clean by one of our developers, we get this conflict in classes: RESViewBean$Kocka(985FB00AF0EEE24BC1258028004C47FE).class RESViewBean$Kocka.class RESViewBean$Resource(34A92B0BA75D7267C1258028004C47FC).class RESViewBean$Resource.class Build/clean by other developers (including me) removes these conflicting two classes. My thought - something with

Deploying OSGi Servlet to Domino

南笙酒味 提交于 2019-12-20 04:15:17
问题 I have written a servlet using the directions in this tutorial: http://www.slideshare.net/fiorep/domino-osgi-development slides 34 to 57. This worked well and was easy to debug when deployed via the pde.launch.ini. Now I want to work out how to deploy it to another server. From what I can figure out, I think the preferred way is to create an OSGi bundle and deploy it via an updatesite.nsf. When I try to add a new local update site to the update site, it prompts me for a site.xml. This is

Unable to start the process of nhttp.exe on my local machine using Notes 9

喜夏-厌秋 提交于 2019-12-13 16:15:24
问题 I have IBM Notes 9.0.1 (Revision 20131022.1138) installed on my Windows 8.1. Whenever I start my Domino Designer and try to preview a page it does not show up. I tried to start the local HTTP process using the command nhttp.exe -preview but it gave me an error as: HTTP Server: Error - Unable to Bind port 80, port may be in use or user needs net_privaddr privilege Using the command of netstat -o I was able to find Toaster.exe process bound to 80. I disabled it using instructions from here. But

Difference between two date/time fields - Lotus Notes

为君一笑 提交于 2019-12-12 15:27:41
问题 I have three editable date/time fields which the first two is (field1 and field2), style: Calendar/time control. Both of them are showing the time: hour and minutes, eg: 15:51. The third field also (editable) which I want to show the difference between field1 and field2. Eg: If field1 is 14:41 and field2 is 14:30, then field3 = 00:11. I've tried field1-field2 but isn't working. The form has automatic refresh fields property. Thanks! 回答1: Your third field needs to be computed, not editable. If

How to specify agent / formula to retrieve documents by criteria

馋奶兔 提交于 2019-12-12 06:16:11
问题 The form contains "searchInputField" and simple button for it. Below the button, there is a view. How can i specify SELECT formula in VIEW according to searchInputCriteria? I want to refresh VIEW when button is clicked after setting "searchInputField". It should be like simple custom search. On button click i have done: @SetEnvironment("criteria", "searchInputField"); @Command([RunAgent];"searchAgent"); @Command([ViewRefreshFields]); My agent does: SELECT @Like(propertyA, @Environment(

Deploying OSGi Servlet to Domino (IBM presentation) - 404 error

浪尽此生 提交于 2019-12-11 18:28:52
问题 I´m trying to deploy an OSGi container in Domino using PDE tool with Equinox. I´m following the instruction in this IBM slideshow: http://www.slideshare.net/fiorep/domino-osgi-development?next_slideshow=1 However (as per slide #52) when I browse to http://localhost/simpledemo (after clicking Debug from Debug Configuration), I get a "404 file not found" error. "simpledemo" is the alias mapped in the puligin.xml file (slide 44). The servlet name is however SimpleServlet. Any ideas what is going

View will show all list updated form every time changes made

和自甴很熟 提交于 2019-12-11 14:59:08
问题 I'm new with lotus notes. Basically, I have a form. I want to create a situation where when I edit the form, that form will not be overwritten but it will automatically create a new form with an updated form. But when I open the new updated form, we can see all list of history from the old form. I can't think of any way to create it. Any suggestion would help me. Thanks! 回答1: First of all: you need to know the difference between FORM and DOCUMENT. The FORM is the design element in designer

how to access textfield value in lotus script for Domino designer

橙三吉。 提交于 2019-12-11 13:22:51
问题 I am new to Domino designer and lotus script, I tried to access my text field by: Sub Click(Source As Button) Dim myText As String myText = Inputbox("insert some text :","Testing Heading","Default value test",100,100) Msgbox "you have entered : "+myText [myfield].text = myText //error End Sub but it shows an error: named product field does not exist Googled for it but can't find the solution. One more, searched for tutorials for creating forms,views,database in domino designer for beginners.

Unable to fix “Syntax error, 'for each' statements are only available if source level is 1.5”

别来无恙 提交于 2019-12-10 17:27:45
问题 I am writing a Java Agent which uses parameterized collection types and enhanced-for loops. Domino Designer 8.5.3 then tells me to change the project's compliance level to 1.5 in a quick-fix action. If I do that, the project rebuilds and nothing changes. Nothing happens if I go to the project's Java Compiler settings to set it manually, or change it in the workspace settings either. How can I get rid of this error? 回答1: There is an annoying bug in Domino Designer. The "Compiler Compliance