Handling Requests in a Servlet

By Eric McCormick | 2 days ago | App Dev - XPages | Added by Johnny Oldenburger

So far in this series I’ve covered some basics on servlets, implementing our methods along with a showing of the “flavors” of servlets, and how to implement these servlets via a ServletFactory. This has been the ground work for everything that comes next. A servlet can be just about anything. It can receive a payload of data (or just handle a simple network GET request) and process and return almost anything.

Localization Tip: Troubleshooting “The code for the static initializer is exceeding the 65535 bytes limit”

By Brad Balassaitis | 3 days ago | App Dev - XPages | Added by Johnny Oldenburger

I came across this error message recently: "The code for the static initializer is exceeding the 65535 bytes limit" while adding supported languages to a localized XPages application. In this post, I'll explain the cause of the error and a couple of ways to approach fixing it. Every XPage and Custom Control is boils down to a corresponding Java class behind the scenes. You can find these .java files in Packages Explorer under Local\xsp.

A Case of Case

By Paul Withers | 4 days ago | App Dev - XPages | Added by Johnny Oldenburger

We all know that XPages URLs are case sensitive. So for a page “Domino_ViewState.xsp”, you cannot use “domino_viewstate.xsp”. However, what’s not so widely known is that the URLs are only case sensitive after the first character. So both “Domino_ViewState.xsp” and “domino_ViewState.xsp” will work for opening the XPage.

XPages PhoneNumber Control - Part 2 Upgrades to the Converter

By Cameron Gregor | 4 days ago | App Dev - XPages | Added by Oliver Busse

In part 1 of this series, we created a basic Phone Number Converter, which takes the user input and converts it to a standard International format for phone numbers. In this part (Part 2) we will add 2 extra pieces of functionality to this converter.

Using Javascript RegExp Object to replace a XPages Contraint Validator

By Steve Zavocki | 5 days ago | App Dev - XPages | Added by Johnny Oldenburger

I had an occasion yesterday where I needed change a partial refresh to process data without validation in order to fix another problem. Despite this I still needed to validate the data the user enters based on a regular expression. The previous developer was was using a <xp:validateContraint> to check the data, but this check would no longer trigger since I am skipping validation.

My take on a Multi Growl messages phaselistner for XPages

By Frank van der Linden | 1 week ago | App Dev - XPages | Added by Oliver Busse

I was triggered by the blog entry of Michael Smith about BootAlert share my code I am using currently in some XPages apps. Back in august 2014 I wrote already a blog about adding Growl messages to my XPages. There is also described which Bootstrap Growl library I am using. It was easy to implement, but lets take it a step further.

Replay Webinar A Notes Developers Journey into Java

By The Learning Continuum Company | 1 week ago | App Dev - XPages | Added by Johnny Oldenburger

Beans and Java! We hear those buzz words all the time but our XPages applications seem to work fine with Server Side JavaScript. Why should we use Java and managed beans? Come learn about one long-time Notes developer's journey using a Java Managed Bean and why. Discover how a Bean allowed the data to be cached in memory allowing for quick access to user-selected data subsets.

OpenNTF - OpenNTF at ICS.UG

By OpenNTF | 1 week ago | App Dev - XPages | Added by Oliver Busse

March is a busy month for user groups in Europe, with two heavyweight events occurring back to back. On Thursday 26th and Friday 27th March, ICS.UG event is taking place at ATLANTIC Grand Hotel in Bremen, Germany. Kramer Reeves will be delivering the keynote, no doubt with IBM Verse top of the agenda (by then it should be imminently hitting General Availability). In addition a number of OpenNTF Board Members (past and present) will be speaking

Servlet Implementation

By Eric McCormick | 1 week ago | App Dev - XPages | Added by Johnny Oldenburger

The first post covered the first two parts of this series, the basics of what a servlet is and three “flavors” of servlet classes. This post begins with how to implement a servlet so that they’re actually accessable via an end point. A factory is, in OOP, an object for creating other objects. In order for these servlets to be “registered” with the application to be end point accessible, they need to be provided by a ServletFactory.

XPages PhoneNumber Control - Part 1 Creating a Converter

By Cameron Gregor | 1 week ago | App Dev - XPages | Added by Oliver Busse

This is the first of a multi-post series of creating a Phone Number control for XPages.

Diving into Bootstrap and Font Awesome – Part 5: Checkbox Group

By Daniel Friedrich | 1 week ago | App Dev - XPages | Added by Johnny Oldenburger

If you want to style your XPages Checkbox Group with Bootstrap, simply wrap it inside a div with the class "checkbox" If you set the Checkbox Group's property "Layout" to "Vertical": It looks very nice: However, if you set the property "Layout" to "Horizontal", everything looks squashed together. There is no padding between the previous label and the next checkbox.

Using CSS3 border-radius to round a Bootstrap button

By Mark Roden | 1 week ago | App Dev - XPages | Added by Johnny Oldenburger

This is a really simple observation, but relevant to the side project I have started to work on for my wife (more to come later). If we create a simple Bootstrap button It looks something like this in firebug. Looking at the .btn style on the right we can see border-radius: 4px Messing with this value can create a much more rounded button – if that is your desire.

NotesIn9 170: AngularJS and Pocket

By David Leedy | 1 week ago | App Dev - XPages | Added by Johnny Oldenburger

NotesIn9 170: AngularJS and Pocket. In this show, Shean P McManus returns with an awesome demo on using AngularJS and the Pocket website.

About Data Presentation: a TLCC & Teamstudio Webinar

By Oliver Busse | 1 week ago | App Dev - XPages | Added by Johnny Oldenburger

I am honored and proud to present with Paul Della-Nebbia in the upcoming webinar "Presenting Data - Two Alternatives to the View Control" that is co-hosted by TLCC and Teamstudio on March 17th. My part is based on my blog post that shows how to implement the jQuery plug-in "DataTables" into an XPages application to present Domino data.

Intro to Mobile XPages – Part 4: Infinite Scrolling and the Single Page Application Wizard

By Paul Della-Nebbia | 2 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

Intro to Mobile XPages – Part 4: Infinite Scrolling and the Single Page Application Wizard. Mobile XPages Course from TLCC. This blog series is based on the Mobile XPages Development course available from TLCC.COM in the following versions. Mobile XPages Development for Domino 9 and Mobile XPages Development for Domino 8.5.

Servlet Basics

By Eric McCormick | 2 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

This post is essentially the first two parts of the several I’ve already identified I’ll be blogging about. I kept waffling between wanting the first three in one post, which would have been huge, and just one, which would have been short. Here’s what I came up with. You can also keep track of this and the other parts of the series on the servlet series page.

Mobile web app usability tip: Selecting all text when clicking on an input field

By Mark Roden | 2 weeks ago | App Dev - XPages | Added by Oliver Busse

I am working on a single page mobile only web app where someone needs to just update numbers, easily and quickly. I found during some usability testing that having to tap into a field then tap to the end of the field and then start to add the numbers was way too much like hard work.

Sessions Announced for Engage.UG 2015

By Engage.UG | 2 weeks ago | App Dev - XPages | Added by Oliver Busse

sessionAsSigner Oddities – Part 1

By Daniel Friedrich | 2 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

During a recent project, I had to start using sessionAsSigner in my SSJS. For those of you, who don’t know what sessionAsSigner does: It allows a current user, to run code and do things he usually wouldn’t be allowed to do, due to his access level for a certain application. sessionAsSigner runs the code with the access level of the signer of the design element.

Jackson JSON mapper plugin for XPages

By Frank van der Linden | 2 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

To work in Java with JSON there are several libraries, like GSON, JSON-simple and even the IBM version. They are very easy to use. In my recent J2EE projects their was always a need of consuming JSON and returning JSON. The library we used their was Jackson JSON library. It was a refreshing way to work with JSON without building or consuming it line by line.

NotesIn9 169: Show Single Category View

By David Leedy | 2 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

This show comes direct from the XPages Forum. I attempt to answer someone’s question on how to do a show single category view inside of XPages. In the beginning of the show I talk about a couple of things community and XPages related. Where to ask XPages questions for instance.

Diving into Bootstrap and Font Awesome – Part 4: Gone with the Partial Refresh

By Daniel Friedrich | 2 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

In Part 5 of my “Dabbling in Bootstrap and Font Awesome” series, I showed you, how you can add tooltips to your fields / buttons by using the attr properties and initializing it with an output script. If you used this technique, you might have noticed that, after a partial refresh, the tooltips’ Bootstrap rendering is gone.

Email Address Validator for XPages

By Cameron Gregor | 2 weeks ago | App Dev - XPages | Added by Oliver Busse

I wanted to implement a custom validator for validating the input of an email address. There are several ways this could be done, and a normal person would just use some sort of regular expression and a xp:validateConstraint validator, you could also do it in a xp:validateExpression.

Boot your alerts in the … with bootAlert

By Michael G. Smith | 2 weeks ago | App Dev - XPages | Added by Oliver Busse

Unfortunately, due to the sudden illness and ultimate passing of a family member in the fall, it has been quite a while since I last blogged.  Hopefully, this post finds me getting back on the blogging horse to contribute some content to the Xpages/Domino community and bring some ideas I had been kicking around to fruition.

Rest & Security: A Stateless Token Servlet

By Sven Hasselbach | 2 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

I have uploaded some of my projects to GitHub, including an alpha version of a stateless token servlet. The servlet has it’s own authentication mechanism (the password is currently not validated), and for developing purposes it uses HTTP GET. In a future release, the token will be transfered as a HTTP header. Additionally, the HTTP method will be changed to POST.

Gridx in XPages – 31: Saving Inline Edits

By Brad Balassaitis | 2 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

In the last post, I showed how to enable inling editing on a grid column. However, the changes made were only stored in the in-memory data store. In this post, I’ll show how to save the updated value to the back-end document. The process will run after the change has been made. The changes will be saved asynchronously so the user isn’t blocked while waiting for the update to happen on the server.

A Quick Note on JARs

By Eric McCormick | 3 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

Either I just didn’t know that this was a viable option or we’ve all been living in the dark for too long. My suspicion is the former, but what follows is a quick run down of my preferred approach for using the com.google.gson library (or any JAR), server-wide (without OSGi deployment). TLDR; drop it in <install>/jvm/lib/ext/ and restart your Domino server (don’t forget to do it with your local/dev environment as well).

Gridx in XPages – 30: Getting Started with Inline Editing

By Brad Balassaitis | 3 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

Like other modern grids, Gridx can provide the ability for users to edit data inline. This can very handy for making quick changes without having to leave the page or load another one to edit a form. In this post, I’ll show how to get started with editing data in the grid. To make a grid column editable, you need to include two modules and set a property in the column definition.

Scoped Variables, Implicit Variables and Repeat Controls

By Paul Withers | 3 weeks ago | App Dev - XPages | Added by Oliver Busse

Last week I spoke with Tony McGuckin at IBM Connect. This blog post is explaining a problem I had recently, the cause, the investigation and the resolution two possible resolutions. All relate to content I covered in that session, particularly around the JSF lifecycle. It’s also why the JSF lifecycle is something I always cover at the very start of the Troubleshooting XPages element of the XPages training course I’ve developed and delivered for Intec.

Gridx in XPages – 29: Programmatic API for Details on Demand

By Brad Balassaitis | 3 weeks ago | App Dev - XPages | Added by Johnny Oldenburger

In the last post, I showed how to add an expandible detail section to each row via Gridx’ Details on Demand feature. In this post, I’ll show how use the provided methods to programmatically expand and collapse the details, as well as how to attach event handlers to run after a detail section is opened or closed.