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

pager control. Hide previous/next programmatically

On a custom control I have a repeat control which iterates over a vector. This repeat control does have a pager bound to it. I want to hide the previous and next links when the pager is on the first or on the last page of the control. To hide the…
jjtbsomhorst
  • 1,667
  • 11
  • 28
0
votes
2 answers

Attach a file to a notes document using SSJS

I am trying to attach a file to notes document, but I am getting the following error. var doc:NotesDocument = DS_EmpDetails.getDocument(); var rtitem:NotesRichTextItem = doc.createRichTextItem("AttachmentField"); var Attachment:String =…
flykarthick
  • 79
  • 1
  • 6
  • 14
0
votes
1 answer

How can I get the properties from a property Group of a Custom Control as an Object?

I'm working on a Custom Control that displays markers on Google Maps. I have a couple of properties like "maptype" , "zoom", etc. It is easy to access them in Javascript: I can use #{javascript:compositeData.zoom} to get the value of the zoom…
Martin Meijer
  • 21
  • 1
  • 4
-1
votes
1 answer

read in properties on beforepageload

I would like to read a value from a properties file in the beforepageload event. unfortunately I load the properties file as a variable via a theme but ofcourse this does not work because it is not available yet. Is there anoter way to read in the…
Patrick Kwinten
  • 1,988
  • 2
  • 14
  • 26
-1
votes
1 answer

XPages - how do we set a field value in selected view documents

This is my answer to a super simple question that had many scattered partial answers around the internets. Kind of a gist. I am no longer working with xpages, but at home I still have my TDL app running. There is a very simple to do list view I…
charles ross
  • 570
  • 4
  • 15
-1
votes
2 answers

Splice not removing item from Array

This looks like it should work but for some reason the indexed value is not being removed. I think it must be something really simple but??? Here is the code: var debug:Boolean = true; var rtn:Array =…
Bill F
  • 2,057
  • 3
  • 18
  • 39
-1
votes
1 answer

What is the correct syntax and parameters for fileServiceData for XPages to IBMSBT?

I am testing the SBT and when I set a data source via the fileservicedata binding e.g.
Patrick Kwinten
  • 1,988
  • 2
  • 14
  • 26
-1
votes
1 answer

Save button does not open xe:dialog box

It is pleasure to ask you directly as you are the one of the author of "Xpages Extension library: Step by Step Guide to the Next Generation of Xpage Component". This is a link Save button using SSJS does not open xe:dialog in web xpage but works on…
Mohan Gangan
  • 127
  • 11
-1
votes
1 answer

Xpage Tabbed panel issue

Actually i am using tabbed panel inside the panel named(tabs).And having menu on clicking that menu link setting viewScope variable .it will passed to " Tab open by default "there i am using code like this if(viewscope.varaiablename>"") return…
-1
votes
2 answers

refresh notes uiview from web

A Lotus notes doucment is oepned in browser from a notes view. This is opened using xpage and after save and exit like to automatically refresh uiview to show the back end changes. Any ideas how to accomplish this? The application is running on…
lense
  • 55
  • 2
  • 10
-2
votes
1 answer

Xpage - Copy document to another document

I have two documents; document1 allows read/write, but document2 is readonly. var document1:NotesView = database.getView("viewDoc1"); var document2:NotesView = database.getView("viewDoc2"); //var…
-3
votes
1 answer

WINDOW.CLOSE () JAVASCRIPT FUNCTION IS NOT WORKING IN XPAGES

WINDOW.CLOSE () JAVASCRIPT FUNCTION IS NOT WORKING IN XPAGES. All ready I am tried window. close () but does not work in Mozilla Firefox
-3
votes
1 answer

Repeat control error in xpage

JavaScript code 1: db=database; 2: theView=db.getView(compositeData.PDviewname); Error while executing JavaScript computed expression Script interpreter error, line=2, col=12: [TypeError] Exception occurred calling method…
-4
votes
1 answer

How to create, send and close button and update the status field in view

My button name : Sign and send to hrd Previously I have used this code, it is working for sending mail with doclink and update status field in a view and after after typing password the form send to hrd dept and close…
1 2 3
58
59