Quantcast
Channel: XPages – Xcellerant
Browsing all 216 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Set Focus on a Field when Showing a Bootstrap 3 Modal

While testing an application that I’m working on, I noticed that the focus is not set on a field within a Bootstrap modal when it’s shown. This is annoying to the user because it requires to tab a...

View Article


Image may be NSFW.
Clik here to view.

XPages Tip: Control Declaration Snippets

Control Declaration Snippets give you an easy way to retrieve a properly-typed handle to an XPages control on your page. In this post, I’ll show how to use them and why they are beneficial. Control...

View Article


Image may be NSFW.
Clik here to view.

Computing Custom Date Format Patterns Throughout an Application

If you want to ensure consistency in date formatting throughout your application, you can define the pattern for each Edit Box or Computed Value control that displays a date. What you may not have...

View Article

Image may be NSFW.
Clik here to view.

Monitor Source Control Synchronization with the Console View in DDE

If you’d like to monitor the synchronization of an application with the local source control repository, you can use the Console view in Domino Designer. In this post, I’ll show different kinds of...

View Article

Image may be NSFW.
Clik here to view.

XPages Tip: Fixing a partial refresh issue with the Pager Add Rows control in...

I came across a strange issue with a Data View using a Pager Add Rows control resetting the number of documents displayed after a partial refresh. In this post, I’ll explain the scenario where I saw...

View Article


Image may be NSFW.
Clik here to view.

XPages Tip: Select a Working Set in Package Explorer (and Navigator)

If you’ve been using Domino Designer for any length of time, you’re likely aware that you can group your applications into Working Sets in the Applications view. But did you know that you can do the...

View Article

Image may be NSFW.
Clik here to view.

XPages Tip: Getting the Value of the Current Field with SSJS (@ThisValue...

Sometimes, I miss the convenience of several @functions. If you’re writing SSJS code that needs to access the value of the current field from an event handler on that field, but you don’t want to...

View Article

Image may be NSFW.
Clik here to view.

URL @Functions in the Extension Library

There are a few @Functions for working with URLs available in the Extension library. They can come in handy if you need to work with URLs related to any element in your database. Availability These...

View Article


Image may be NSFW.
Clik here to view.

Getting the Base URL of the Current Database with SSJS

It’s easy to get the current page URL in SSJS with context.getUrl().toString(). However, it’s a little less straightforward if you just want to determine the base URL of the current application. This...

View Article


Image may be NSFW.
Clik here to view.

Allowing 0 Rows in a Repeat

The Allow zero rows in repeat controls setting in XSP Properties can be used to cause a Repeat control not to display any rows, giving you the ability to compute the row count as desired, even when...

View Article

Image may be NSFW.
Clik here to view.

Modifying an XSP Property fo a Single XPage

I’m familiar with setting XSP properties in xsp.properties at the application or server level and I’ve used tags to do the same within a theme, but I did not realize until recently that you can also...

View Article

Image may be NSFW.
Clik here to view.

Domino Usage Survey

As you may have already heard, PSC has posted a survey to gauge current usage and future direction for Domino. If you haven’t already taken the survey, please take a moment and let us know how Domino...

View Article

Image may be NSFW.
Clik here to view.

Client-Side JavaScript Debugging Tip — Using XSP.dumpObject() and XSP.log()

The XSP object is a client-side JavaScript object that is built and delivered by the XPages runtime and it contains a number of useful functions, some of which are always available and some of which...

View Article


Image may be NSFW.
Clik here to view.

Article Published in The VIEW: Improve Application Performance with JSON-RPC

An article that I wrote on improving XPages application performance using JSON RPC has been published in The VIEW journal (subscription required). One of the best-kept secrets of XPages is JSON-RPC...

View Article

Image may be NSFW.
Clik here to view.

XPages Tip: Using _dump to write information to the server console

I recently showed how to use a built-in client-side JavaScript function to dump the contents of an object for review. In this post, I’ll show a somewhat similar method available in Server-Side...

View Article


Image may be NSFW.
Clik here to view.

Including a Java Class in SSJS

You’re most likely aware that SSJS really is really turned into Java under the covers, but did you realize that you can use Java classes in SSJS? In this post, I’ll show how with a simple example....

View Article

Image may be NSFW.
Clik here to view.

Initializing Global Variables and Synchronous AJAX Calls in an Angular XPages...

In a recent project (an XPages application with an Angular front end), I had a need to (a) run a script to determine user access and (b) store that value globally. In this post, I’ll show one way to...

View Article


Image may be NSFW.
Clik here to view.

Gridx in XPages – Series Introduction

Gridx is the next generation of the Dojo data grid. I am very excited to say that I’ve got a basic Gridx grid loading properly inn XPages. About Gridx Gridx is currently at version 1.3.3 (as of June)....

View Article

Image may be NSFW.
Clik here to view.

Gridx in XPages – Using djConfig to Make the Code Available

The last post covered some of the benefits of using Gridx, but before we can create a Gridx grid in XPages, we have to make the code available to the application. In this post, I’ll show how to use...

View Article

Image may be NSFW.
Clik here to view.

Gridx in XPages – Creating a Simple Grid

In the last post, I showed how to make Gridx available in an XPages application. In this post, I’ll show how to create your first Gridx grid in XPages. Assuming you have already followed the steps in...

View Article
Browsing all 216 articles
Browse latest View live