I am using XSP.partialRefreshPost to trigger a partial refresh from client side Javascript. I would like to be able to do the partial refresh without triggering the validators (which is just a simple attribute on an ordinary input control). I have f...
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...
This is my first time working with datagrids so please forgive anything that is unclear. I have json text that is being implemented in a dojo datagrid (dojox.grid.DataGrid). var jsonStore = new dojo.data.ItemFileWriteStore({ url: "xAgent.xsp...
I have 4 audit fields in my notes database. They are multivalued and they each get a new entry when something on the form changes. I have an audit form which displays these fields in a columnar way. Almost like a view. Here is the code for the column...
I need to get the total sum of a column the view is categorized based on the document Id. i was able to get the total sum of the entire column with the following code: var myView:NotesView = database.getView("totalScore") var nav:NotesViewN...
I know there is the True/False option for this, but I'm wanting to have it differentiate depending on the status of a document. It only lets you select Edit or Read Only on the "Display" tab, but I'm thinking there has to be a way to...
I came across a weird issue. Here is the situation: I am using my solution regarding displaying and hiding content based on the screen size: https://xpagesandme.wordpress.com/2015/01/20/diving-into-bootstrap-and-font-awesome-part-3-displaying-hiding...
Here is my datePicker control where expression validation works fine: <xp:inputText id="inputComboUntil"> <xp:this.converter><xp:convertDateTime pattern="MMM d, yyyy"></xp:convertDateTime></xp:this.conv...
I'm adding a "Cancel" button to an XPage that has a form with many required fields. When I click the "Cancel" button, it runs through the validation and gives me the errors. Is there code I can put inside the Cancel button that wi...
I have a button inside an xpages div and I am trying to compute the style class of that button based on a scoped variable. Initially, the scoped variable's value is 'blue' and the background color of the button inside the div is blue as...
©2020 All rights reserved.