xpages

Type Mismatch when trying to connect multi-value field to Java Bean with XPages

╄→尐↘猪︶ㄣ 提交于 2021-02-16 12:56:41
问题 I have this code: <xe:formTable id="formTable1" formTitle="User Roles"> <xe:formRow id="formRow1" label="Category Admin"> <xe:djextNameTextBox id="edtCatAdmin" multipleSeparator="," value="#{exhibitorInfo.categoryAdmin}" /> <xe:namePicker id="namePicker1" for="edtCatAdmin"> <xe:this.dataProvider> <xe:namePickerAggregator> <xe:this.dataProviders> <xe:dominoNABNamePicker addressBookSel="first" groups="false" people="true" /> <xe:dominoViewNamePicker labelColumn="mailinName" viewName="lkp_MailIn

XPages & IE Document Mode

这一生的挚爱 提交于 2021-02-11 12:52:23
问题 I have a bootstrap enabled xpages application, which renders perfectly in chrome. The same application, that when loaded in IE11, all the styling is out of place. However, as soon as I refresh the page, everything styles correctly, and stays so for the duration of the session. If I close IE, re-open, load page, wrong style again, refresh, correct again for the session.... It looks like it is trying to force IE7 document mode Any idea's what is causing this? I use <meta content="IE=edge" http

XPages JDBC connected to MS ACCESS DB, issue showing data in ViewPanel

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-11 12:47:21
问题 I am trying to connect XPagesJDBC.nsf to a simple MS Access database, it connects Successfully and i am able to perform the @JdbcInsert , Update, Delete. also able to execute SQL Query operations. But i am facing an issue while trying to showing data in ViewPanel control with JDBC Query datasource type. It give bellow error Error while reading the relational data Invalid Fetch Size and a long StackTrace, i am copying some part of stack trace bellow; I think this error is specific to MS Access

XPages JDBC connected to MS ACCESS DB, issue showing data in ViewPanel

孤者浪人 提交于 2021-02-11 12:46:45
问题 I am trying to connect XPagesJDBC.nsf to a simple MS Access database, it connects Successfully and i am able to perform the @JdbcInsert , Update, Delete. also able to execute SQL Query operations. But i am facing an issue while trying to showing data in ViewPanel control with JDBC Query datasource type. It give bellow error Error while reading the relational data Invalid Fetch Size and a long StackTrace, i am copying some part of stack trace bellow; I think this error is specific to MS Access

Read json object in csjs from ssjs

限于喜欢 提交于 2021-02-11 12:22:19
问题 I wanted to find out if its possible to send an array of json objects to csjs from ssjs in a sessionScope variable. When I try to use sesionScope.get in my script block. It doesn't run? SSJS scriptsChartDojo.jss: function createChartData() { var resultArray = new Array(); resultArray = [ {y: 1978, text: "Blue Widget"}, {y: 1669, text: "Brown Widget"}, {y: 2017, text: "Green Widget"}, {y: 334, text: "Orange Widget"}, {y: 1051, text: "Pink Widget"}, {y: 1545, text: "Purple Widget"}, {y: 339,

Significance of hidden fields $$viewid, $$xspsubmitid, $$xspexecid, $$xspsubmitvalue and $$xspsubmitscroll

回眸只為那壹抹淺笑 提交于 2021-02-07 10:09:43
问题 When I view the source of my XPage I see the some hidden fields $$viewid , $$xspsubmitid , $$xspexecid , $$xspsubmitvalue and $$xspsubmitscroll . There are some articles like this and this which explain that $$xspsubmitid contains the ID of the event handler that triggered the update. Not much information seems to be available for other fields. What is the significance of these fields? 回答1: Ok the details I could find. $$viewid = Contains the ID for the backend control tree associated with

Java compiler errors in DDE on new computer, works fine in old one

房东的猫 提交于 2021-02-05 08:36:52
问题 I have 2 computers running Domino Designer, On my new one I get java errors in a server based application and not on the old one. I have installed the required package on both machines and I have the same compiler set in prefs. The computer with errors is a new one running windows 10 and DDE 11.0.1 FP1 and the old one is running Windows 7 and DDE 11.0.1 there is probably some paths or something that I have forgotten to set but can't find it. what can be the cause of these errors on my new

Java compiler errors in DDE on new computer, works fine in old one

梦想与她 提交于 2021-02-05 08:36:39
问题 I have 2 computers running Domino Designer, On my new one I get java errors in a server based application and not on the old one. I have installed the required package on both machines and I have the same compiler set in prefs. The computer with errors is a new one running windows 10 and DDE 11.0.1 FP1 and the old one is running Windows 7 and DDE 11.0.1 there is probably some paths or something that I have forgotten to set but can't find it. what can be the cause of these errors on my new

Java compiler errors in DDE on new computer, works fine in old one

此生再无相见时 提交于 2021-02-05 08:36:12
问题 I have 2 computers running Domino Designer, On my new one I get java errors in a server based application and not on the old one. I have installed the required package on both machines and I have the same compiler set in prefs. The computer with errors is a new one running windows 10 and DDE 11.0.1 FP1 and the old one is running Windows 7 and DDE 11.0.1 there is probably some paths or something that I have forgotten to set but can't find it. what can be the cause of these errors on my new

Set a Java date Object from a Notes DateTime Object

◇◆丶佛笑我妖孽 提交于 2021-02-04 18:00:04
问题 Manipulating Dates causing me some issues. I've created some Java code that reads a document from a Notes DB then populates some fields in a Java Object with values from the Notes Document. The Notes Document contains a DataTime field "ExpPayDate" and I want to store it in the Java Object, but get a syntax error in the Java Editor. My code looks like this: for (int n = 1 ; n < col.getCount(); n++){ Document pDoc = col.getNthDocument(n); PaymentItem pItem = new PaymentItem(); Date pDate = pDoc