Quantcast
Channel: JavaScript – Xomino
Browsing all 34 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Remove all classes using dojo and jQuery

One of last week’s challenges on the side was to take this Connections wiki page and make it readable on a small screen – if you drag the right hand side over to the left you will see that the right...

View Article


Image may be NSFW.
Clik here to view.

Troubleshooting JavaScript library errors in XPages

Coincidentally on three separate occasion, with three different customers/developers using three different libraries I encountered the same issue last week. I am going illustrate the process I go...

View Article


Image may be NSFW.
Clik here to view.

Mustache.js – How to create a client side Repeat control in XPages

Whether or not you realize it, everyone who uses a repeat control in XPages development is actually using a server-side template. Let me demonstrate the concept…. We create an object through many...

View Article

Image may be NSFW.
Clik here to view.

Sorting an unsorted XPages document collection based on a date field

In one of my recent applications I had a requirement to return the top 500 search results, but sort them by a specific date field on the document, in descending order. Due to the size of the database...

View Article

Image may be NSFW.
Clik here to view.

Prototypal inheritance of SSJS across the whole server in XPages

A friend asked me the other day how would I determine where a string lay within a JavaScript Array. I of course answered – “it depends! If you are using newer IE or a non-crappy implementation of the...

View Article


Image may be NSFW.
Clik here to view.

How to add icons to individual items in a Select2 multi-value field

Select2 is one of the best user interface enhancers I have come across – if you do not know what it is then you need to go play with it. It transforms SELECT boxes into dynamic, stunning, interactive...

View Article

Image may be NSFW.
Clik here to view.

The two sides of the incremental operator in JavaScript ++

I learned this last week, possibly highlighting my non-classical programming training. I have never come across this in all my years of JavaScript and apparently it is pervasive in other languages such...

View Article

Image may be NSFW.
Clik here to view.

IBMSBT in XPages: Tagging a file

In this article I will show how to tag a file in IBM Smartcloud using the JavaScript API. Introduction Following on from the previous article on how to load a file into Smartcloud we will start from...

View Article


Image may be NSFW.
Clik here to view.

Using an Office Add-In to search and replace data in a Word Document

In this article I will demonstrate how we can use an Office Add-In to perform simple search and replace function within a Word document. This is particularly useful when you want to use an external...

View Article


Image may be NSFW.
Clik here to view.

Office Add-Ins – JavaScript control over the Content Control lock in a Word...

In this article I will show how easy it is to programmatically lock and release the lock on a content control in a word document. This is very helpful when you are populating regions of a document but...

View Article

Image may be NSFW.
Clik here to view.

Office Add-Ins: Working with Tables in Word. Part 1: Creation

In this article I will show how the Word JavaScript API can be utilized to add tables to your word document using an Office Add-In. This will be a multi part blog post as there are a lot of nuances and...

View Article

NW Chicago JavaScript Meetup: Setting Your Data Ablaze with Firebase – June 21

On June 21st PSCGroup will be hosting the NorthWest Chicago JavaScript Meetup in our offices from 6-8:30pm This month’s speaker is a lecturer at Northwestern, the awesome Mark Thompson For more...

View Article

Image may be NSFW.
Clik here to view.

Office Add-Ins: Working with Tables in Word. Part 2: Creation from OOXML

In this long overdue article I will discuss how to create a custom table, get the OOXML from it, clean it and then be able to insert the table anywhere into a Word document. Background In the previous...

View Article


Image may be NSFW.
Clik here to view.

Office Add-Ins: Working with Tables in Word. Part 4: Getting a table in a...

In this article we will see how to use a ContentControl to quickly and accurately access a table in a Word document. Introduction In previous articles we have seen how to get a Table using a search or...

View Article
Browsing all 34 articles
Browse latest View live