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
2 answers

Localize XPages's FileUpload Contol's Browse button label

I am working on localization for a XPages enabled web application. I want to localize the default "Browse" button's label to the XPage's fileupload control. Is it possible without creating separate button kind of workaround? In the same way, is it…
flykarthick
  • 79
  • 1
  • 6
  • 14
0
votes
3 answers

Xpages - Conflict is created everytime a document is saved

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…
Saravanan
  • 1,237
  • 2
  • 18
  • 25
0
votes
1 answer

Error: Cryptgraphic key was not found

I have an XPage with a view control. On that view control, I have a checkbox selection so that one or more documents can be selected. On the same view control, there is a button. Under the button, I call SSJS that creates a document and saves the…
0
votes
2 answers

XPages server validation errors haven't been displayed to the user

We are working with Domino 8.5.3 and we noticed an issue with xpages validation messages being displayed on the server console. Here is a simple xpage we created to re-create the issue:
pipalia
  • 911
  • 1
  • 12
  • 46
0
votes
1 answer

xpages forward o reply email

I need a solution, that when you press a button from a inbox xpages mail message, the new xpages is composed with the body and image and attachment of original inbox message (ckeditor control) I nave found a Solution for passing HTML to ckeditor…
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31
0
votes
1 answer

Xpages - Compute Xsp.properties to set theme

Hi I saw from another question that it's possible to set theme via (on beforePageLoad event) if ( ! theme.equals(context.getSessionProperty("xsp.theme"))) { context.setSessionProperty("xsp.theme", theme); …
Web_Developer
  • 9
  • 1
  • 2
  • 8
0
votes
0 answers

SSJS debugger slow to start

IBM Domino 9 Local server. Every XPage loads extremely slow when the debugger is enabled in the IBM Domino Designer client. When not enabled the XPage loads in <1s, but when it's enabled >30s. That would be tolerable if the debugger would start…
jBoive
  • 1,219
  • 1
  • 14
  • 40
0
votes
2 answers

getting a list of forms that contain a specified field, is there a better method

The following code is a script object on an XPage in it I loop through an array of all the forms in a database, looking for all the forms that contain the field "ACIncludeForm". My method works but it takes 2 - 3 seconds to compute which really…
Bill F
  • 2,057
  • 3
  • 18
  • 39
0
votes
3 answers

Activate a button in Xpages via jQuery

I would like to run some server side JavaDcript. However I would like to do that via jQuery since I am waiting for a AJAX request performed by jQuery. The server side JavaScript may be on the onclick event for a button. I wonder how I can initiate…
Patrick Kwinten
  • 1,988
  • 2
  • 14
  • 26
0
votes
2 answers

XPages search returning undefined viewEntry

I have a custom control which contains a view which be searched by passing in a value in the ?search parameter. In most cases everything works as expected. However, some results contain a single undefined viewEntry. This always appears as the…
ajcooper
  • 239
  • 3
  • 15
0
votes
3 answers

Getting current server name for URL build XPages

I am trying to build a URL for my XPages application,but having problem geting the current server name, can anyone help me with these? RT.appendText("http://localhost/" +dbname+"/store.xsp?documentId="+UNID+"&action=openDocument")
simon peter
  • 403
  • 8
  • 19
0
votes
1 answer

How can i redirect to another page after the alert is display in XPages

How can I redirect to another page after the alert is displayed and the user clicked on ok? Below is the code I used var Admin = doc.getItemValueString("Admin"); var scriptCode = "alert('Email send to the admin: " + Admin +…
simon peter
  • 403
  • 8
  • 19
0
votes
1 answer

How do I create a messagebox to inform successful send of email n XPages?

My web page send and email after button is click. I need a messageBox after clicking the send button, the messagebox got display just normal text but if i add a variable value it wont work, any idea how i can go about these? var Admin = …
simon peter
  • 403
  • 8
  • 19
0
votes
1 answer

Punctuate number at thousands XPages - converter

Have you any idea what pattern I have to insert into converter for the subject request? And can I execute converter when Input the text so that the user can see in realtime the conversion?
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31
0
votes
0 answers

How RESTful count property actually work?

I tried to load ONE data column using RESTful viewItemFileService and use it in dojo filtering select control for selection. The total rows is 50,000 and seems that REST could not handle big data because I set count=1000000. If I set count=500,…