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

Image may be NSFW.
Clik here to view.

Adding a “working” visual indicator to the XPages TypeAhead

I arrived at this in as much a lesson in learning how the dojo and dijit interface works in the browser. This is a neat little demonstration but I am not sure that it is rock solid in terms of usage....

View Article



Image may be NSFW.
Clik here to view.

TypeAhead.js – making it readable and “why dojo?” I get it!

LOVE THIS I wanted to break into the TypeAhead.js library which XPages uses to make the type ahead functionality work looks like this….uuuuurgh TypeAhead.js minified Quick search online and I found...

View Article

Image may be NSFW.
Clik here to view.

When should you use jQuery in your XPage?

For full disclosure, I used jQuery with Domino long before v8.5 at a time when the dojo documentation sucked big ones and it was nearly impossible to figure anything out. Today though that is much...

View Article

Image may be NSFW.
Clik here to view.

Don’t believe the HTML – timing is everything in XPages CSJS

So having made v2.0 of my TypeAhead control I am rapidly moving towards the next iteration making it easier to implement and not have to add functions to the fields in the designer. This becomes...

View Article

Image may be NSFW.
Clik here to view.

Firefox 15 out now – with integrated JavaScript debugger

This week the new FireFox 15 browser was released with a nice new list of goodies http://www.mozilla.org/en-US/firefox/15.0/releasenotes/?utm_source=html5weekly&utm_medium=email One thing which...

View Article


Image may be NSFW.
Clik here to view.

Using jQuery plugins – the version is important

A couple of times in the last week I have been trying to help a community member with their jQuery in XPages and it has turned out that the problem was because of the new jQuery v1.8 core library –...

View Article

Image may be NSFW.
Clik here to view.

Auto-focus – Do it! It’s just lazy not to.

In this article I will discuss the need as a developer to use an auto-focus on your XPages. You do this when the end-user needs to type something onto your webpage and should not have to use their...

View Article

Image may be NSFW.
Clik here to view.

library.onLoad – what does it do and who loads last?

In this article I will demonstrate that there multiple methods for determining the “onLoad” event of you page and discuss which method you should use and when. Introduction Once upon a time when the...

View Article


Image may be NSFW.
Clik here to view.

EXTJS in XPages #4 – Adding a Pager

In this article I will demonstrate how to add a pager control to your basic grid. Demonstration The EXTJS in XPages demonstration database can be found at...

View Article


Image may be NSFW.
Clik here to view.

EXTJS in XPages #5 – Infinite scroller

In this article I will show how simple it is to turn your paging grid into an infinite scrolling one. EXTJS in XPages series Here are links to all of the previous articles in this series EXTJS in...

View Article

Image may be NSFW.
Clik here to view.

Make your XPages more maintainable – JavaScript Callback functions

In this article I will attempt to explain the purpose and benefits of using callback functions in JavaScript. Introduction Basic JavaScript functions look like this normally like this function addMe(a,...

View Article

Image may be NSFW.
Clik here to view.

JavaScript variable hoisting

In this article I will give a quick overview of JavaScript hoisting and explain why sometimes your variables are not doing what you expect them to. In the following example we have a very simple...

View Article

Image may be NSFW.
Clik here to view.

Shorthand Conditional JavaScript variable checking using ||

In this article I will highlight a shorthand method of JavaScript conditional variable checking. The || operator is commonly recognized as “OR” but it’s usage is broader than some people would think....

View Article


Image may be NSFW.
Clik here to view.

EXTJS in XPages #9 – Infinite scrolling rebooted and reborn – v4.2...

In this article I will introduce the new EXTJS v4.2 Infinite scroller – the BuffererRenderer. The whole concept of infinite scrolling has been rewritten in the new version of the grid and it had made a...

View Article

Image may be NSFW.
Clik here to view.

Writing a single library for SSJS and CSJS validation – failed attempt #1

In this article I will demonstrate my first futile attempt to consolidate CSJS and SSJS libraries so that we only have to write validation once. I will also discuss JavaScripts Closures which unless...

View Article


Image may be NSFW.
Clik here to view.

Writing a single library for SSJS and CSJS validation – first success

The other day I wrote about my failure to realize that CSJS and SSJS libraries shalt not cross  during my attempt to write a single library for CSJS and SSJS validation code. Not to be out done and...

View Article

Image may be NSFW.
Clik here to view.

Using Object literal notation to write better JavaScript in your XPages

In this article I will discuss one of the development pattern for creating JavaScript functions, Object Literal notation. We will look at the advantages to doing so and look at some of the neat things...

View Article


Image may be NSFW.
Clik here to view.

EXTJS in XPages #13: Totaling your columns with a groupingSummary

In this article I will highlight a feature of the grouping capability – the “summary grouping”. This feature can be easily used to provide column totals on your grouped grid. We are also going to look...

View Article

Image may be NSFW.
Clik here to view.

Decoupling your CSS from your JavaScript, a “well no duh” moment

This weekend I had one of those “oh DUH” moments which I have been struggling with for quite some time. How can I better structure my jQuery selectors and make the code more maintainable? I came across...

View Article

Image may be NSFW.
Clik here to view.

jQuery event delegation

So it turns out that I may have blogged a moment too soon over the weekend…. While the following code works $('.modal').on('shown.bs.modal', function () { $('FORM') .append($('.modal-backdrop,...

View Article
Browsing all 34 articles
Browse latest View live


Latest Images