Questions tagged [xpages-ssjs]

The IBM Lotus Domino XPages Server Side Javascript Language

XPages SSJS is a ECMAScript based language specific to IBM Lotus Domino XPages.

It is a Javascript interpreter written in Java and can access extended IBM Lotus Domino objects and Java classes. XPages SSJS is designed to give developers familiar with Javascript, LotusScript and even Notes Formula Language a powerful scripting environment that can be used throughout the XPages IDE.

884 questions
0
votes
1 answer

How show if another user are the same XPages

I need a custom control that show Like Google Docs into the top of my Page ...if another user see the currently XPages... Have someone any suggest to realize this feature? Into JSF runtime there are a List of XPages opened in all session?
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31
0
votes
1 answer

XPages bound to field expecting a number but document has text instead

I have a repeat control bound to a view data source. A computed field within the repeat control is bound to a field which 'should' always be a double as I'm showing it as currency with a USD and $ and forced to 2dp. My problem is some documents…
user1753622
  • 287
  • 3
  • 19
0
votes
1 answer

Vector Search not working properly in XPages

I am using vectors to perform multi-column search functionality in XPages. Its working but not efficiently. In filter column value property I am using below code: try { var vtr:java.util.Vector = new java.util.Vector(); var t1 =…
Raj
  • 264
  • 1
  • 3
  • 18
0
votes
1 answer

Xpages editbox/datepicker control not scrolling in IE 7 inside a scrollable div

In my case, I need to show around 15 column in a form. So I decided to show that table inside a div with horizontal scrollable to avoid the hor-scroll to entire page. Works fine in firefox, but the strange part is in IE 7, editboxes and date pickers…
flykarthick
  • 79
  • 1
  • 6
  • 14
0
votes
3 answers

Error $ is not a function in xpages

I am plotting a graph in XPages using QJplot. It was working fine before until I copied the entire process ie, buttons that extract data, buttons that plot data etc. Now for some reason I keep getting an error that says "An error has occurred while…
user2185796
0
votes
1 answer

XPages enable button if all checkbox in repeat control is checked?

I'm not using checkboxgroup because in my real application there are still other controls inside the repeat control. Below is my sample source:
user1409217
  • 412
  • 11
  • 29
0
votes
1 answer

Partial refresh on dynamic field binding removes values

Really looking for an idea why my XPage is doing this. I have field with a dynamic databinding: That works quit well until I start to hide it based on…
user2316219
  • 304
  • 1
  • 11
0
votes
1 answer

Open calculated link from view column on an new window/tab in x pages

I am trying to open a view column link into new window or tab. I am not able to get through. I have used numerous ways like mentioned in some of the pages under same category. Here is my sample code.
Raj
  • 264
  • 1
  • 3
  • 18
0
votes
1 answer

XPages how to call function for each document in a repeat

In my XPage I have a repeat control. For each document in that repeat control I need to pass into a function which performs some crazy logic and potentially updates that document. The only way I can think of is to have a hidden computed text with…
user1753622
  • 287
  • 3
  • 19
0
votes
3 answers

Can you Sign The agents in a database programmatically?

Is there a way to programmatically sign the agents in a database? I'd like to use a run on server agent to sign the agents of a database that I pass it. I'd like to do this using LotusScript or an XPage. MJ
0
votes
2 answers

java.util.ArrayList incompatible with [Ljava.lang.Object check box group

I have a Check box group, whose values are computed by using the selected values of another Check box group. So when I do var check6:com.ibm.xsp.component.xp.XspSelectManyCheckbox = getComponent("check6"); ArrSelected =…
kmak
  • 63
  • 9
0
votes
2 answers

Cannot get selected value of a combobox

I'm going crazy: I cannot access the selected value of a combobox in the onchange event:
Oliver Busse
  • 3,375
  • 1
  • 16
  • 26
0
votes
1 answer

Colored text in section header on Xpage

I really want to set some different colors based on different values in the header of a section. Header is computed like this: var stat = rowData.getColumnValue("Status"); var sectionText = rowData.getColumnValue("Subject") + " " +…
0
votes
0 answers

XPages SSJS setValue or replaceItemValue

On pressing a save button I have code in a script editor to grab a field, split it up and place those parts into other fields on the XPage which are bound to fields on a form. However, getComponent("x").setValue("1") works, but the…
user1753622
  • 287
  • 3
  • 19
0
votes
1 answer

What might make context.redirectToPage behavior different

I have two buttons in different custom controls which within their onclick events call context.redirectToPage(). In one instance, this causes an HTTP redirect (HTTP status of 302) to the expected URL (i.e. header Location =…