Code Giveaway

Home » Code Giveaway

LotusScript: Export Contents of a View to .csv file

Yesterday I had a requirement to export a couple of views to csv files. We’ve done similar exports before, usually specific to the particular functions, so have used the traditional file handling functions that have been around for years – Open, Input (for reading), Write, Close. On this occasion, because I was exporting two views […]

LotusScript: Export Contents of a View to .csv file Read More »

Dojox Charting Tutorial – Part Three: Column and Bar Charts

In Part One (http://hermes.intec.co.uk/Intec/Blog.nsf/dx/10012010214412HERTH7.htm) I have given some background and generic code quired on any page showing a dojo chart. In Part Two (http://hermes.intec.co.uk/Intec/Blog.nsf/dx/12012010175038HERNX7.htm) I added a series using javascript onto my XPage and generated a pie chart. In Part Three I will cover the other two chart types shown on my first demo page

Dojox Charting Tutorial – Part Three: Column and Bar Charts Read More »

Dojox Charting Tutorial – Part One: Background and Generic Code

At Intec we have a number of applications that have included charts for some time, whether for dashboards or other reporting. At the time the we used haneng charts (http://www.hanengcharts.com/), because we didn’t have the expertise in house to develop anything as good or better. The product provided what we needed and still does. But

Dojox Charting Tutorial – Part One: Background and Generic Code Read More »

Audit Comments Custom Control: Enhancement

A couple of weeks ago I posted on my blog an Audit Comments Custom Control for XPages, which launches a dijit dialog for audit comments when editing a document, and passes the value of the field back to the underlying DominoDocument data element. This simulated finctionality I had previously used in the Notes client for logging

Audit Comments Custom Control: Enhancement Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Six

Option Four Option Four seems quite convoluted, but is essentially a simple principle. We use server-side javascript in the beforePageLoad event to set viewScope variables for each of the radio button, check box and list box mandatory questions we want to check against. We then use the onClick event to trigger a partial refresh and

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Six Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Five

Option Three is a modification of Option Two, which reproduced the client-side validation available for other XPages controls, with a javascript alert. At this point I should add some background to the application I was working on. The application in question is a major upgrade of our enterprise feedback tool, EFT, which added in Dojo styling, used

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Five Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Four

Update I’ve now got everything working, got answers to my last blog post, and worked out the various Domino version differences affecting this all. So before I continue with Option 3 and Option 4, here’s an update on where we are. Option 1 used the out-of-the-box server-side validation for radio buttons, check boxes and multi-value

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Four Read More »

Scroll to Top