I'm trying to set an XPages scope variable from Client side JavaScript. I have an XPage which contains several sections which are shown or hidden using Dojo. On this XPage I have a button which executes some server side JavaScript. Once the SSJS...
I've seen a few articles here trying to bind computed fields but my preferred solution; getComponent is just not working for me. I'd rather not have hidden "real" fields. Here's what I have. A computed VAT Tax percentage field cal...
I am using the following as a datasource for an xpage repeat control:  var extDB = session.getDatabase("","Position.nsf"); var emailNVCollection:NotesViewEntryCollection = extDB.getView("PrincipalEmails").getAllEntries(); retu...
I have a nice function that I stole from some more experienced and better xpages programmer that clears sessionScope using CSJS:  function clearMap( map:Map ){ // Get iterator for the keys     var iterator = map.keySet().iterator();  // Remove all it...
Field Dep_rev contain of     I only manage to using xpages JavaScript to send one user only.  method : maildoc.replaceItemValue("SendTo",document1.getItemValueString("Dep_rev"));  Below is my coding  var maildoc:NotesDocument = databa...
I have a dijit which displays a list of available contacts. Selected contacts then displayed in a view panel which was updating via a partial refresh until I added some code to check that duplicate contacts were not selected. Now the panel will not r...
I am just starting to use associative arrays in JavaScript. I kind of understand that they are not really arrays, but they seem to serve my purpose, which is to load some configuration data from records into some session scope variables so I can very...
I have the following problem: I need to get Scope properties with .get(myparameter), to call it in a function.   var myobj = new Object(); myobj.vname = "firstname" myobj.lname = "lastname" sessionScope.Me = myobj; print (sessionScope...
When I create a new document I want the users to able to select one customer from a list of 20.000 customers. I first tried to use the simpleValuePicker but I think the view was to big for that as I got some errors.  so I choosed to go with the domin...
I have an lotus domino form that will be filled by the user of my web app. You can see it on the image below.        As you know, those fields that use the client-side code will be filled automatically when the form is loaded and when the agent in we...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.