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

Call SSJS from CSJS in XPages

I need to call a java bean method from a client side javascript library. Is there a way to call ssjs from csjs library? something like this that works in csjs var test = #{javascript:getConfig.getKeyValuesList("param")};
lense
  • 55
  • 2
  • 10
2
votes
1 answer

Xpages send attachment from a document to another

I have a document which is comming for a scanner. The scanner sends an email to my database and from a view I can access that document and see the attachment and the subject. Is there a way I can use the attachment and to put it in another document?…
Florin Pop
  • 5,105
  • 3
  • 25
  • 58
2
votes
1 answer

xpages message box before logging out

I have the following code logging out the user from app and "send" him back to the session based authentication page ( Thanks Paul Withers ): clearing_function(sessionScope); var appUrl =…
Florin M.
  • 2,159
  • 4
  • 39
  • 97
2
votes
4 answers

xpages mail nsf in browser

I'm trying to pass a field value from a application to my own mail database opened in browser. I got the entire url ( my first reaction: wow, so long…
Florin M.
  • 2,159
  • 4
  • 39
  • 97
2
votes
1 answer

how use 3.2.0 theme with BootStrap4Xpages?

Hello I have downloaded the relase 2014-07-02 from here I know well bootstrap 3.2.X and I have some classic XPages with this integration. My customer ask me now a rapid NSF application. So I drag the "Application Layout Control" and select…
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31
2
votes
1 answer

how give desktop or mobile XPages when using Mobile Theme XPages

Hello this is a stupid and very simple question If you have set into the XPages proprierties the flag "use mobile themes for Xpages with prefix" in all XPages that begin with m_ the runtime add theme and CSS/JS resources for mobile..is it…
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31
2
votes
1 answer

HTTP Password Change causes Web user to get locked out

I wrote a change password module in xpages, instead of using the ?changepassword feature, and I was able to get the Admin Process for changing a password to work, and am able to change http passwords using an xpage and ssjs see the post here. The…
carlo
  • 359
  • 3
  • 11
2
votes
2 answers

Xpages link to open document view

I want to add an option to the row of the view: the possibility to open the document when clicking on the row. It is possible? How can I achieve this?
Florin Pop
  • 5,105
  • 3
  • 25
  • 58
2
votes
2 answers

xpages error when trying to access edit mode in client notes

I'm trying to open some doc. from a viewPanel inside the client notes. The application also runs on web. When I open the doc. in read mode, and then click the Edit button:
Florin M.
  • 2,159
  • 4
  • 39
  • 97
2
votes
1 answer

Xpages using PostNewDocument event

I'm trying to add a value to an editBox using the PostNewDocument event of the xpage, considering the fact that I want the field to have the respective value when it is opened - using a specific button. I have tried 2 approaches: < using Simple…
Florin M.
  • 2,159
  • 4
  • 39
  • 97
2
votes
3 answers

xpages hiding/showing fields based on a combobox value

I'm using a with 10 containing numerous fields components. There is a principal combobox whose value will determine which fields to be showed or not and in this way the document structure will be achieved. If I…
Florin M.
  • 2,159
  • 4
  • 39
  • 97
2
votes
2 answers

xpages display a new doc. inside a dialog

i have an issue that it gives me some headache lately. In my XPage there is a view displaying some docs ( let say Pdoc as datasource ) and I open/create them inside a . This dialog has only Pdoc declared as datasource, and it inherits…
Florin M.
  • 2,159
  • 4
  • 39
  • 97
2
votes
1 answer

IE returns viewScope variable as string instead of array in XPage

We stumbled upon a strange behaviour in IE11 - In one of our Notes applications we store an array as a viewScope variable and in the onClick event of a button we parese it onto a variable (SSJS) via var myList = new…
2
votes
1 answer

xpages: custom addOnLoad event on my xpage

The scenario: Clicking on a link, I'm accessing an xpage, let say: start.xsp. I've added the following script to this .xsp:
Florin M.
  • 2,159
  • 4
  • 39
  • 97
2
votes
2 answers

How to directly embed object from memory into a RichTextItem

In my XPages application, I work with BufferedImages (java.awt.image). Up to now, when I want to embed them in a NotesDocument, I first have to save the BufferedImages to disk and afterwards attach the corresponding image files to a…
xpages-noob
  • 1,569
  • 1
  • 10
  • 37