xpages-ssjs

How do I set the zIndex on a dijit.TooltipDialog?

只愿长相守 提交于 2020-01-03 04:47:06
问题 I've created a dijit.TooltipDialog and everything works as it should. However, if another dialog is produced from within the tooltip dialog it shows up behind the tooltip dialog instead of on top of it. I checked the zIndex on the 2 dialogs and the tooltip dialog is 1000 and the other dialog is 950. I've tried setting the zIndex on the respective container node and the tooltip dialog's "domNode" both with no luck. So does anyone know how to set the zIndex on the tooltip dialog? 回答1: as you

Xpages get a handle on next rowData or Doc in a repeat

☆樱花仙子☆ 提交于 2020-01-02 10:07:58
问题 In my repeat control I want to be able to get a handle on data in the next row in order to modify what data is displayed in my current row (I have move up and down actions, and I don't want to display them if the move is not possible). It seems I should be able to do this. Probably I cannot from within in the repeat itself, as when it is writing the repeat it will not know the data for the next repeat. But shouldn't there be a fairly easy way to get the next document? Here is a reduced

Xpages get a handle on next rowData or Doc in a repeat

随声附和 提交于 2020-01-02 10:07:26
问题 In my repeat control I want to be able to get a handle on data in the next row in order to modify what data is displayed in my current row (I have move up and down actions, and I don't want to display them if the move is not possible). It seems I should be able to do this. Probably I cannot from within in the repeat itself, as when it is writing the repeat it will not know the data for the next repeat. But shouldn't there be a fairly easy way to get the next document? Here is a reduced

error 500 http web server: command not handled exception

廉价感情. 提交于 2019-12-25 16:20:48
问题 I think this topic a lot of ppl post it already. I also look for lot of thread in stack overflow and some ibm page. They do give some comment of how to solve this problem. But i still facing the same problem, it still give this error. Case start : Actually one of my customer, they have facing this error during running on webpages and also notes ~ error 500 http web server: command not handled exception Action taken but not solve: The user id signing/creating the XPages allowed to run XPages

xpages why my field value isn't copied correctly

╄→尐↘猪︶ㄣ 提交于 2019-12-25 05:45:09
问题 I add some time ago this question xpages passing the UNID to other field ... and for the moment it seems it worked. After I created the <xe:dialog> structure ( which uses a single datasource: Pdoc ), I observed I can't get the correct UNID of the other datasource: Cdoc . This dialog is showed from the xpages having the datasource Cdoc. On the main Xpage ( which has as the datasource: Cdoc ) there is a computed field: ( txt_UNID is on a form having the formula @text(@uniquedocumentid) ) <xp

How do you copy a datetime field from the current document to a new document

倖福魔咒の 提交于 2019-12-25 05:32:32
问题 How do you copy a datetime field from the current document to a new document in Xpages, SSJS. I am coping other fields like this inheritDoc.appendItemValue("AbbreviatedCustomer",currentDocument.getValue("AbbreviatedCustomer")); var item:NotesItem = inheritDoc.replaceItemValue("Author", n1); item.setNames(true); item = inheritDoc.replaceItemValue("AuthorAccess", currentDocument.getValue("AuthorAccess")); item.setAuthors(true); But I do not know how to copy a date field from the currentDocument

notesdocumentcollection.ftsearch and a search query with special characters

大兔子大兔子 提交于 2019-12-25 05:17:09
问题 i try to make a search function in ssjs that looks like this. notesdocumentcollection.ftsearch('"*' + searchword + '*"'); i have a document with this field value "Dr. Max Muster". if i search for "dr" i get a result. if i search for "dr. max" i don't get a result. if i remove the wildcard and type "dr. max" i will get an result. i also tryed it like this notesdocumentcollection.ftsearch('*' + searchword + '*'); Is there any way to get an result with wildcards and special characters in the

xpages validation on field having onChange script

做~自己de王妃 提交于 2019-12-25 03:58:13
问题 There is a required field: <xp:this.validators> <xp:validateRequired message="Required field. Please add some text."> </xp:validateRequired> </xp:this.validators> Also, the value from this field is copied ( using the onChange event ) to other fields: <xp:eventHandler event="onchange" submit="true"refreshMode="norefresh"> <xp:this.action><![CDATA[#{javascript:Cdoc.setValue("dlg_Localitate",Cdoc.getValue("txt_LocalitateCompanie")); Cdoc.setValue("dlg_Localitate_1",Cdoc.getValue("txt

XPages - get value of a textarea inside a dialog - Part 2

半腔热情 提交于 2019-12-25 02:43:19
问题 Follow on from my previous question: I am trying unsuccessfully to get a handle on the text input into a textarea which is contained inside an xe:dialog. The xe:dialog "pops up" after a button on the XPage is pressed. Here is my code: <xe:dialog id="InputDialog5"> <xe:this.title>Input Dialog</xe:this.title> <xp:panel> <xp:inputTextarea id="InputTextBox5" value="#{document1.InputTextBox5}" cols="60" rows="4" styleClass="StatusDialogLabel"></xp:inputTextarea> </xp:panel> <xe:dialogButtonBar id=

Xpages - Bean does not exist error

拈花ヽ惹草 提交于 2019-12-25 01:55:36
问题 I am using Name picker provided by extension library. Since I need to retrieve names for active directory instead of names.nsf, I used beanNamePicker to get names from Active Directory. It is working fine, but sometime I am getting the below error. The error goes off if I refresh the database in designer. Any idea on how to avoid this error without refresh? com.ibm.xsp.FacesExceptionEx: !BeanNamePickerData.Bean0doesnotexist! !BeanNamePickerData.Bean0doesnotexist! Domino Version : 8.5.3 UP1.