xpages

How to get marked rows in the XPages Extension Library <xe:dataView> design element?

回眸只為那壹抹淺笑 提交于 2019-12-12 01:54:09
问题 I have a XPage with design element. How can I get list of checked rows to post it to an agent? <xe:dataView id="dataView1" columnTitles="true" expandedDetail="true" var="dview1" openDocAsReadonly="false" rows="15" showCheckbox="true" showHeaderCheckbox="true"> Thank you! 回答1: For the client-side, you can use Dojo. The following CSJS script will return NoteIds for all selected rows: dojo.query(".lotusFirstCell > input:checked").attr('value') For the server side, you can grab the IDs of

Xpages 1.6.1 not working on Domino 8.5.3 server

旧城冷巷雨未停 提交于 2019-12-12 01:53:42
问题 We are trying to ramp up to using xpages in our apps but have run into a snag. We are running Domino 8.5.3 FP6 on Linux. I have a very simple xpages app with just a view control that works fine on my local machine but when I put it on the server the view paging links don't do anything. In Firebug I can see that both GET dojo.js and GET xspClientDojo.js are throwing a 500 Internal Server Error . Nothing logs to the xpages log or the server log. If I set xsp.client.script.dojo.version=1.5.1 in

CKEditor not working after server upgrade

这一生的挚爱 提交于 2019-12-12 01:49:25
问题 After server upgrade from Domino 8.5.3 to 9.0.1FP2, the CKEditor in one of our applications stopped working but only on a few PC's. Some users see the full CKEditor in that appliacation some users don't. All of them have the same browsers (Firefox and IE) in the same versions. Those, who does not see that CKEditor, see only a simple TextArea on it's place. Has anybody any idea, where could be a problem? Thanks, JiKra 回答1: You need to refresh the browser cache in order for the updated CKEditor

Domino OSGI dev and Testing - What about a designer connection?

会有一股神秘感。 提交于 2019-12-12 01:38:13
问题 This is a continuation of a question that I asked last week. With the answers I received, I was able to set up an environment where I could, at least theoretically start working to copy my classes into a plug-in project from designer. Currently, I have imported the ExtLibs source as projects (other than a few test projects which hopefully do not matter) without any errors, the openNTF Domino API, and a plug-in project for my utility files. I configured my debug options, and have tried to get

xpages Trying to get document parentdoc is returning null error

邮差的信 提交于 2019-12-12 01:29:48
问题 I am trying to get the parent document of a new response document so I can duplicate the functionality of form inheritance in xpages. The following is my code and the error being returned: Error while executing JavaScript action expression Script interpreter error, line=3, col=60: 'parentDoc' is null JavaScript code 1: if (document2.isNewNote()) { 2: var parentDoc:NotesDocument = database.getDocumentByID(document2.getParentId()); 3: getComponent("immediateParentSubject1").setValue(parentDoc

error in date items, daylight Saving

帅比萌擦擦* 提交于 2019-12-12 01:23:50
问题 Summer dates in an input control which are before 1981 are recalculated (I think with daylight saving time). e.g. e.g. I enter 27.8.1960 - after a save I got 26.8.1960, (after the next save 25.8.1960 and so on) but 27.8.2010 - after a save it stayed the same: 27.8.2010 "Winter dates": 27.4.1960 - after a save it stayed the same: 27.4.1960 looks like an ugly bug. how can I supress this "calculation"? (date format is Europeen, I live in Germany. 27.8.1960 is August 27, 1960) thanks for any help

djextListTextBox onChange dependent controls

*爱你&永不变心* 提交于 2019-12-12 01:07:39
问题 i've a problem refreshing dependent controls after a change event of a djextListTextBox. Here is a code fragment: ... <xe:djextListTextBox id="reinsuranceIdentifier" value="#{offerAccount.reinsuranceIdentifier}" multipleSeparator="," multipleTrim="true" displayLabel="true"> <xp:eventHandler event="onChange" submit="false"> <xp:this.script><![CDATA[alert("reinsuranceIdentifier - onChange"); XSP.partialRefreshGet("#{id:computedField1}", {});]]></xp:this.script> </xp:eventHandler> </xe

Unable to reference a view in another database from XPiNC

淺唱寂寞╮ 提交于 2019-12-12 00:59:49
问题 I have a repeat where the value loops through documents in the current database, these documents contain a database and view name. The repeat then opens the database and view and retrieves data from within them: var dbOther:NotesDatabase = session.getDatabase(null, doc.getItemValueString("Database")); if(dbOther != null){ var lookupView:NotesView = dbOther.getView(doc.getItemValueString("ViewName")); var viewNav:NotesViewNavigator = lookupView.createViewNavFromCategory(key); } This works fine

XPages iNotes Calendar

断了今生、忘了曾经 提交于 2019-12-12 00:42:07
问题 How do you control the display of the time and dates on the iNotes Calendar control in an XPage? I would like to have the times shown using the 12 hour format hh:mm AM and the date to use MMM dd, yyyy. Thank you. 回答1: The date and time format for iNotes Calendar is defined in language files for the most common languages. These language files are specific for iNotes Calendar. They are stored in com.ibm.xsp.extlib.domino_x.x.x.xxxxxxxx-xxxx.jar file in folder DominoServerPath\data\domino

firing dojo onchange based on value selected in combobox

时光总嘲笑我的痴心妄想 提交于 2019-12-12 00:34:08
问题 When calling dojo.wipein and dojo.wipeout from buttons, everything works great. But calling them based on the value in a combobox: I can't do it. Does anyone know how to make calling client side script depend on the value of a combobox? In other words, if I change the combobox to "Yes", fire dojo.wipein , if I change the combobox to "No", fire dojo.wipeout . EDIT: Thank you everyone for your help. Here is the code that worked. I am a beginner in javascript, which might show, but it works. var