xpages

How to convert forms to xpages programatically?

痴心易碎 提交于 2020-01-06 14:02:43
问题 I need to convert Notes Form to Xpage programatically ? If anyone knows , please help me . Thanks in advance.. 回答1: There is a transformer from GBS that does this: http://www.gbs.com/en/GBS-Xcelerator-Suite Or an article (not programmatic) on how to do it: http://www-10.lotus.com/ldd/ddwiki.nsf/dx/XPages_with_large_notes_forms However i'd look at articles like the following which are arguing whether doing something like this is missing the point of XPages or not and whether it would be a

Calling HttpServlet class from xpages client side script and regular notes forms?

拥有回忆 提交于 2020-01-06 07:32:09
问题 I am new (again, have not touched it in a while) to Java. I have a simple (much more complex one is planned) HttpServlet class that I am tryng to call from a webpage either from a regular Notes form or csjs on an xPage. package com.pnc.cld; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class HelloWorld extends HttpServlet { private

How do you figure out where com.ibm.xsp.exception.EvaluationExceptionEx happens?

扶醉桌前 提交于 2020-01-06 03:55:07
问题 HTTP JVM: com.ibm.xsp.exception.EvaluationExceptionEx: Error while executing JavaScript action expression We are using beans and expression language on our XPage and we get the above error from time to time, can anyone tell us if there is an easy way to find out which page is causing this and more importantly where in code? We are having to use trial and error methods and having to resort to remove code from page in order to find out where the problem is, which is not the most efficient way

How to get XPages and JSON to not put variable names in Uppercase

此生再无相见时 提交于 2020-01-06 03:26:06
问题 I'm trying to do the following update using XPages Extension Library. #{javascript:var mydata = { product: getComponent("inputProduct").getValue() }; var params = [1, 2];, @JdbcUpdate("mssql","table_name",mydata,"order_no=? AND order_line_no=?",params)}; I get the error: Error while executing JavaScript action expression Script interpreter error, line=6, col=1: Error while executing function '@JdbcUpdate' Invalid column name 'PRODUCT'. The problem is that XPages when it converts the JSON it

copy attachment from other document on fly

核能气质少年 提交于 2020-01-06 01:24:26
问题 After I save my current XPages, in the event postNewDocument of datasources..I would to copy on the fly in the backend Domino Document without saving of disk the attachment from another document andI have found this solution: var attachments:java.util.Vector = session.evaluate("@AttachmentNames", docReply); for (var i = 0; i < attachments.size(); i++) { embeddedObj = docReply.getAttachment(attachments.get(i).toString()); if (embeddedObj != null) { bufferInStream = new java.io

XPages “filter by category name” for View Panel Controll random error

别说谁变了你拦得住时间么 提交于 2020-01-05 15:06:47
问题 I got a very strange problem with View Panel Controll in IBM XPages. When I try to make a single category with the option "filter by category name" I got randomly a wrong result back, what means, I got all document back instead of the single category. The key parameter is not calculated, so that this is excluded as the reason for my problem. When I create a simple expample db to see if this is a general bug in XPages, I can't reproduce it. It seems, that it only happens when a lot more stuff

XPages “filter by category name” for View Panel Controll random error

别来无恙 提交于 2020-01-05 15:06:34
问题 I got a very strange problem with View Panel Controll in IBM XPages. When I try to make a single category with the option "filter by category name" I got randomly a wrong result back, what means, I got all document back instead of the single category. The key parameter is not calculated, so that this is excluded as the reason for my problem. When I create a simple expample db to see if this is a general bug in XPages, I can't reproduce it. It seems, that it only happens when a lot more stuff

Links/Clicks not working in Firefox after Using the Back button on an XPage

社会主义新天地 提交于 2020-01-05 07:58:51
问题 I'm finding that XPages I have, when loaded in Firefox, have an odd quirk that I can't seem to get around. On my XPage, there is a viewPanel, in which one of the columns is defined as such: <xp:viewColumn styleClass="viewAction" id="View"> <xp:this.value><![CDATA[#{javascript:""}]]></xp:this.value> <xp:viewColumnHeader value="View" id="viewColumnHeader2"> </xp:viewColumnHeader> <xp:image url="/imgs/viewBtn.png" id="image2" styleClass="linkImg"> <xp:eventHandler event="onclick" submit="true"

Links/Clicks not working in Firefox after Using the Back button on an XPage

徘徊边缘 提交于 2020-01-05 07:57:24
问题 I'm finding that XPages I have, when loaded in Firefox, have an odd quirk that I can't seem to get around. On my XPage, there is a viewPanel, in which one of the columns is defined as such: <xp:viewColumn styleClass="viewAction" id="View"> <xp:this.value><![CDATA[#{javascript:""}]]></xp:this.value> <xp:viewColumnHeader value="View" id="viewColumnHeader2"> </xp:viewColumnHeader> <xp:image url="/imgs/viewBtn.png" id="image2" styleClass="linkImg"> <xp:eventHandler event="onclick" submit="true"

xpages : compare values between two views

爷,独闯天下 提交于 2020-01-05 06:49:06
问题 I intend to compare values between two views. Imagine view1 has the following values: Location | Officer Australia| Peter Beglium | John Chile | Ben Italy | Mike Imagine view2 has the following values: Item | Location Book | Italy Journal | Australia Movie | Spain What I would like to do is compare values between view1 and view2. I write the following code: var location = sessionScope.Location; var message = ""; var view1 = @DbLookup(@DbName(), "view1", location , 0)); // use session scope