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

Xpages javascript object error calling simple function

I am getting the following error when trying to make a simple call from the beforeRenderResponse event of an XPage: Error calling method 'IsLoggedIn()' on an object of type 'object [Javascript Object]' I can't figure out why it gives me that error,…
Ryan C
  • 1
  • 2
0
votes
1 answer

XPages - populating multiple fields on typeahead selection

This might be a straightforward question but I can't see wood for trees at the moment Problem: I have a typeahead attached to an edit box that looks up values from a view (based on Tim Tripcony's code). When a value is selected, I want other edit…
TrailDragon
  • 456
  • 2
  • 14
0
votes
4 answers

XPages: execute context.redirectToPage after client side function?

Why does context.redirectToPage behave differently when executed in a view root-event instead of an event handler? This question came up when I tried to set the language of an xpages application to the language saved in the user profile, once the…
Sarah Steffen
  • 15
  • 1
  • 8
0
votes
1 answer

XPages SSJS add options to combo

In SSJS I'm looping through document in a view and I want to add a new option to a hidden combo for each document and once finished then show that hidden combo. I've tried building an array with value|string and adding that to the…
user1753622
  • 287
  • 3
  • 19
0
votes
1 answer

Use datasource to get backend document

I got a panel which bind to an open document as data source called document1 in an extlib dialog box. On button save, I want to compare all the field values between back-end document and document1. However, all the field values from back-end…
0
votes
1 answer

Using xe:applicationLayout any way to do a partial update of of main content area and LeftColumn facet?

Short of placing my xe:applicationLayout inside a panel called panelAll or doing a Full Update, is there any way to do a partial update for my panelMainContent panel and my LeftColumn facet?
0
votes
1 answer

dataview within mobile page not finding pageName reference to intended mobile page

I have a single page application that has multiple Mobile Pages. I have a view level mobile page that targets another mobile page as follows:
0
votes
1 answer

Best way of dynamically binding xpages field values to backend document

I am having a form with multiple fields like "Persp_1", "Persp_2", "Persp_3"...., Goal_1, Goal_2, Goal_3.... etc. Currently I am assigning the values from the xPage component to the backend document via a common function as belows: function…
Nash
  • 57
  • 1
  • 9
0
votes
1 answer

How to use datatables.js with XPages data table?

I am trying to use the datatables.js plugin with a datatable that displays 3 computed fields from a Notes legacy view data source.What I am having an issue with is I cannot seem to initialize/pass my datatable1 into the plugin? I am not sure if I…
swollin
  • 21
  • 2
0
votes
1 answer

Can we make view dynamic in xpage..?

Can we make dynamic.I cant use extension lib "dynamic viewpanel control" to achive this. First of all.. is that possible to achive my requirement using ??????? Thanks in advance..
0
votes
1 answer

Need to direct URL to second tab of tabbed table in xpages

Background: XPage with tabbed table (from container controls) and multiple data sources, one for each tab. I was having issues with the save button creating duplicates if the users refreshes the page. To fix this I implemented this solution…
Steve Zavocki
  • 1,840
  • 4
  • 21
  • 35
0
votes
1 answer

How to add a file to filesystem in all Domino supported operating systems

I am trying to create a directory in domino data directory using ssjs that works in all Domino suported OS, like windows and linux etc. I have done the following (not tested) function getPath(){ var d =…
Thomas Adrian
  • 3,543
  • 6
  • 32
  • 62
0
votes
2 answers

Regex for JavaScript source

XPages application fails with following stack trace: com.ibm.jscript.InterpretException: Script interpreter error, line=30, col=43: 'component' is null at com.ibm.jscript.ASTTree.ASTMember.interpret(ASTMember.java:153) at…
Frantisek Kossuth
  • 3,524
  • 2
  • 23
  • 42
0
votes
2 answers

Change an eventHandlers refreshMode depending on client side value?

I have a submit button on top that's normally doing a partial refresh of the form. When I added a fileUpload control that won't due, as I need to do a full refresh. But I only wish this to happen if the user has added a file to be uploaded. So if…
jBoive
  • 1,219
  • 1
  • 14
  • 40
0
votes
2 answers

XPAGES - Issues in Richtext field

Issues in Richtext field. I have a form with 5 rich text field and binded these fields in a XPage with field upload control. when i upload same files in 2 rich text field, error message "item already exist" is shown. how to resolve this problem