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

Open NotesURL via redirect

I have a repeat-control which generates me a list of links to documents in a different database. Special on this task is that the XPage runs in the notes internal browther (NOT XPniC) and open the documents as real notes documents in the notes…
Michael
  • 51
  • 2
  • 9
0
votes
2 answers

how to bind data from a computed field in xpages

I am trying to bind the data to a FORM from a computed field which calculates the amount according to the number of days selected.Please help me!
Edwin
  • 1
  • 1
0
votes
2 answers

sort getAllUnreadEntries() for repeat Control

I need to develop a custom control that for any notesview show in a little box a list of Unread Documents... So that I follow my previus question solution with repeat control: show only unread document The problem is that in my Target View..I have…
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31
0
votes
1 answer

streaming iText pdf directly to lotus email using xpages

i'm trying to stream a newly generated pdf (using itext) directly to the body of lotus notes email as an attachment. but i'm getting following error while setting body of the email from bytes "com.ibm.jscript.types.GeneratedWrapperObject$StaticField…
gkreddy
  • 15
  • 2
  • 7
0
votes
1 answer

XPage context.getHistoryUrl(1) returning different Pages Firefox and IE

I have 3 XPages one to edit documents and two displaying several views in a xe:dynamicContent lets call them xpView1 and xpView2. When clicking on a document link in the view the user gets redirected to the first XPage where he can edit the…
Michael Saiz
  • 1,640
  • 12
  • 20
0
votes
2 answers

how to create message box on javaScript(server side) using submit button (onclick)

This is my sample script i write. Task : -To create a pop up message to show user if they haven't register as a member on system. -User must have name inside the note view "Staff information by name" -if user have name inside the view, it will…
Desmond Sim
  • 211
  • 2
  • 19
0
votes
2 answers

unable delete temporany file with Upload Ajax and http task goes to 99%

Hi I have used this custom control Xpages Async Multi File Uploader Custom Control it works well, but after some tests we noticed that the temporary files (named __xspxxx) saved in a temporary folder \notes68787\xspupload are not deleted after the…
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31
0
votes
1 answer

Difference of getCurrentAccessLevel and queryAccess

I'm trying to find out what is my access level in a certain database. There are two functions that are available, db.getCurrentAccessLevel() and db.queryAccess(username). Given the same user (the logged in for the first function and the parameter in…
John Bautista
  • 1,480
  • 3
  • 29
  • 60
0
votes
2 answers

Split all characters in a string with no delimiter into an array with lotus notes

Im trying to split a sting variable into an array with each character in its own position in the array, but cant seem to get this to work function test() { var strString = "thisIsTheString"; var test = @Explode(strString, ""); var…
Hosea Kambonde
  • 291
  • 1
  • 4
  • 13
0
votes
0 answers

Invalid or nonexistent document, when accessing Embedded Object

i am working on a FileUpload XPage. What i am Trying to do: A user should be able to upload one ore more image files at once, these n files should be seperated on n number of documents. (one file per document). For my first try i used the Async…
Michael Saiz
  • 1,640
  • 12
  • 20
0
votes
1 answer

XPages Split value in bound field

If I have used Simple Data Binding to bind a field in a data source and I get to see the full value of that field. What I want to do is split that value up and then only show part of it to the user. For instance the field stores the value of a combo…
user1753622
  • 287
  • 3
  • 19
0
votes
5 answers

Seeking solution for XSP submit latency

I have a xpage where I have dependent combo-boxes. When I select first combobox, it partially refreshes second combobox, which is populated by huge number of keywords (approx. 10K looking up from view). This action takes a lot of time, owing to…
Ravi Gupta
  • 25
  • 10
0
votes
2 answers

executeonServer from a customcontrol - how caputer Id from current CC

Ho to all, I have a little problem..my code work very well..if I have my event handler into a XPages `
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31
0
votes
2 answers

How do you copy a datetime field from the current document to a new document

How do you copy a datetime field from the current document to a new document in Xpages, SSJS. I am coping other fields like this inheritDoc.appendItemValue("AbbreviatedCustomer",currentDocument.getValue("AbbreviatedCustomer")); var item:NotesItem =…
0
votes
1 answer

autosave function Ajax Mode - second part

Hi I have try to realize that...but I have some problem with CKeditor control: autosave function in Ajax mode With Firebug I see the POST sending for a simple field (text for example) but the post of CKEDITOR is not correct (I see only the initial…
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31