xpages

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

Xpages Binding to edit control in a repeat

冷暖自知 提交于 2019-12-23 12:34:17
问题 I'm a problem understanding how to do dynamic binding to a edit control. The backend from has fields fItem01 fItem02... fPD01 fPD02.. fRQR01 fRQR02.. I can get the values for all the fields but having been able to defined the binding for edit control. I've read all the posting on this subject but haven't figure out what I'm doing wrong. Also tried using a custom control with a property for the binding but that didn't work either. Thanks for any help on this Bob <xp:this.data> <xp:dominoView

what's the benefits of using data context in xPages?

大憨熊 提交于 2019-12-23 12:06:40
问题 I have never used data context in xPages and would like to know the benefits, If I want to return something in memory I often call function in a SSJS scriptlibrary which I believe is also stored in memory. so let's say I have a function in ssjs that returns a notesdocument, this function might be called from several places in my xpage. will data context be benefitial in this case in regrards to having a function in a ssjs scriptlibrary. 回答1: dataContexts can be thought of as global variables.

Implementing a hyperlink within a dojo datagrid

亡梦爱人 提交于 2019-12-23 09:20:06
问题 This is my first time working with datagrids so please forgive anything that is unclear. I have json text that is being implemented in a dojo datagrid (dojox.grid.DataGrid). var jsonStore = new dojo.data.ItemFileWriteStore({ url: "xAgent.xsp"}); var layout = [ {cells:[ [ {field:'firstname', name:'First'}, {field:'lastname', name:'Last'}, {field:'policy', name:'Policy'}, {field:'lastaccessed', name:'Last Accessed'} ] ], noscroll:false } ]; grid = new dojox.grid.DataGrid({ store: jsonStore,

Why is build time of local application affected by network?

纵饮孤独 提交于 2019-12-23 08:56:35
问题 Build time of XPages application containing several JARs, Java sources and ~50 XP/CC elements takes about minute to build on server via WAN. I have replicated application to local, build time dropped to ~10s. Since few days ago build of local application is extremely slow, about 2-5 minutes. After some experiments there is workaround: to disable TCP port in location document - it drops build times to just few seconds. Even tho it works, it does not help much - testing requires user to be

XPiNC 8.5.3 - Time Value shows Incorrectly

。_饼干妹妹 提交于 2019-12-23 05:46:11
问题 I have opened the document in the XPiNC (Version 8.5.3), the time values are showing wrongly. Note : Same I have tested in version(Version 8.5.2), there its seems to be correct. I have checked the values in document properties, the values are saved correctly. I am really confused on this, Should I need to do any settings for this...? Even I have tried with other PC with 8.5.3 version, there also I got same Issue :-(( Thanks in advance 回答1: 8.5.3 has had a couple of reported regression bugs

How to configure the CKEditor under XPages?

萝らか妹 提交于 2019-12-23 05:29:05
问题 My goal is to add some custom-styles to the CKEditor (Version 3.6.6.2). I already got a solution, but they interfere with the build-in image-upload functionality. The feature to add an image, which is then stored in the current document, is gone. So i am afraid that there are more, currently undiscovered, problems with it. My Current Solution <xp:inputRichText value="#{document1.Body}" id="html1" htmlFilter="identity" htmlFilterIn="identity" /> <xp:scriptBlock id="scriptBlock1" type="text

Xpages same document in multiple windows

泄露秘密 提交于 2019-12-23 04:28:15
问题 In an XPage application we look after, users have long been complaining of "data loss" at random times when using it. By this they mean that when they submit the document they sometimes have the page refresh and all the fields they have just edited are blank, or in the state at the time of original page load and so they have experienced Data Loss. It has taken a lot of time to work out what is going on, with every action they perform now being logged in documents so I can review it. We found

Xpages - Conflict is created everytime a document is saved

我怕爱的太早我们不能终老 提交于 2019-12-23 04:25:01
问题 I have a xpage, with multiple tabs. First tab contains a panel, whose content are editable only when isNewNote() is true. So I computed readonly attribute for the panel. But everytime I save the document, it is creating a new conflict document. At the sametime,if I uncheck read-only property, it is saving properly without any conflict. Can anybody help me to solve this issue? CODE - Xpage <?xml version="1.0" encoding="UTF-8"?> <xp:view xmlns:xp="http://www.ibm.com/xsp/core"> <xp:this.data>

XPages [TypeError] Exception at view.getNextDocument(curDoc)

浪子不回头ぞ 提交于 2019-12-23 03:34:09
问题 Here's my set-up: In my XPage, I have an embedded view which opens a document in the adjacent Panel. Clicking the doc link in the view sets the doc's UNID in a viewScope variable, and refreshes the Panel. The UNID variable is used to define the Page's Data Source Document ( doc ). Now in a Button, I want to get a handle to the next document in the view, but when the following SSJS code is run an error occurs at the last line: var v:NotesView = database.getView("ViewByYear"); var curDoc