XPages: Optimized partial refreshes for event handlers

By Per Henrik Lausten | 1 day ago | App Dev - XPages | Added by Oliver Busse

Sven Hasselbach has created an optimized version of the XSP.partialRefreshPost() method. This works great to reduce the number of form fields that are included in the request for a partialRefreshPost. But his version does not include support for running server-side actions because the the form fields included in the POST doesn't include the server-side event handler.

View Panel Flexibility

By Paul Withers | 1 day ago | App Dev - XPages | Added by Per Henrik Lausten

I’ve seen a number of questions recently on StackOverflow related to extending the functionality of the View Panel. Firstly, a bit of editorial. I am not a big fan of the View Panel.

REST is Best

By Eric McCormick | 4 days ago | App Dev - XPages | Added by Per Henrik Lausten

Why is AJAX not good enough?

Unraveling the Mysteries of M-V-C and better application architecture

By Eric McCormick | 4 days ago | App Dev - XPages | Added by Per Henrik Lausten

I’m sorry for the long post, but I can assure you that this is the shortest version of this post I drafted (over multiple days). M-V-C is a big topic, and I hope I’ve parsed out the reasoning in favor of its adoption.

XPages and more: Using Select2 in XPages (Part II)

By Johnny Oldenburger | 5 days ago | App Dev - XPages | Added by Oliver Busse

In a previous blog post I described how Select2 can be used in an XPages application with Bootstrap included. In that situation, it was assumed that the OpenNTF Bootstrap4XPages plugin was not installed. In this blog post I will show you how you can use Select2 with the OpenNTF Bootstrap4XPages plugin.

Java based Debug Control - the blog post to my NotesIn9 series

By Greg Reeder | 6 days ago | App Dev - XPages | Added by Oliver Busse

Today I am really happy to present my first NotesIn9 video! It was really great being able to make this sub-series and be a part of the tutorials that really got me going with XPage development. I want to thank David Leedy for giving me the opportunity as well as thank my employer for allowing me to use what I learn on company time to create content for others. This is turning out to be a hobby that is really starting to take off.

Bower4XPages

By Frank van der Linden | 7 days ago | App Dev - XPages | Added by Oliver Busse

Yesterday I read the blog post by Keith Strickland about CSJS Workflow, where he mentioned Bower. I heard the name frequently when I was exploring the modern web development frameworks, like AngularJS and NodeJS. So I started to investigate, what is Bower and how it can help me by managing the frameworks in my (XPages) projects.

NotesIn9 155: Java based Debug Control Part 3

By David Leedy | 1 week ago | App Dev - XPages | Added by Kenio Carvalho

Greg Reeder, XPage developer returns for part 2 of his series to talk some Java programming and how you might be able to use it to build a logging control for errors and messages.

NotesIn9 154: Java based Debug Control Part 2

By David Leedy | 1 week ago | App Dev - XPages | Added by Kenio Carvalho

In this show Greg Reeder, XPage developer returns for part 2 of his series to talk some Java programming and how you might be able to use it to build a logging control for errors and messages.

NotesIn9 153: Java based Debug Control Part 1

By David Leedy | 1 week ago | App Dev - XPages | Added by Kenio Carvalho

In this show Greg Reeder, XPage developer and new contributor joins the show to talk some Java and how you might be able to use it to build a logging control for errors and messages.

Using HTML5 Notification API in XPages

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

HTML5 introduces Web Notifications API which “allows alerting the user outside the context of a web page of an occurrence, such as the delivery of email“. This opens up quite a few possibilities for developers like alerting a user when a document needs approval irrespective of the XPage he is currently on. In this example I will use the Extension Library control Remote Service to poll a view to check if any documents require approval and if yes then show notification to user.

Maximum file upload size in Domino all the places to edit

By Fredrik Norling | 2 weeks ago | App Dev - XPages | Added by Oliver Busse

If you ever wanted to increase the file upload size in Domino you have probably seen that there are several places to update depending on the configuration. I was increasing this on a server this week and missed one of the places and couldn’t understand where I missed, Per-Henrik Lausten pointed me what I missed. So I though I would write a post about this I might help someone else, or help me the next time I forget.

Caching in XPages – not as straightforward as you would believe

By John Dalsgaard | 2 weeks ago | App Dev - XPages | Added by Per Henrik Lausten

Well, you may know that I am a fan of MVC (Model-View-Controller) pattern. One tempting feature of using an MVC pattern is that it is pretty straightforward to implement a caching mechanism. This can easily be done in the facade layer of the model. And just imagine what happens if all of the data is ready in memory – and you only need to go to the disk/database when some of the data is updated. I can assure you that this means SPEED…. But as with so many things – more wants more. Wouldn’t it be nice to preload all data on start of the HTTP server? Then you would avoid the first user hitting the delay of loading data from the database – it will already be ready in memory. This article is about my experiences with trying to obtain this. And I must warn you – I have not yet found the “silver bullet”.

Select themeIds from plugins in Designer Xsp Properties Editor

By Cameron Gregor | 2 weeks ago | App Dev - XPages | Added by Per Henrik Lausten

A couple of months back I did a blog post demonstrating how you could modify the source code of the extension library designer tooling, to allow your own plugins to make contributions to the Theme selection drop-down. I also posted a feature request to the Extension Library Project on OpenNTF, I quickly got a response from Gary Marjoram that they were already thinking about this and to keep a lookout for future releases. Well the IBM team have just released Release 9 (R09) of the 9.0.1 Extension library and I am happy to see Gary has included his fix for this in this release.

XPages Tip: Realizing the Cost of a Value Binding...

By Serdar Basegmez | 2 weeks ago | App Dev - XPages | Added by Per Henrik Lausten

A little tip on XPages development... We are binding values everywhere on our pages. Are you optimizing the way you use them?

NotesIn9 152: JSON and Java

By David Leedy | 2 weeks ago | App Dev - XPages | Added by Kenio Carvalho

In this show Frank van der Linden, another brand new contributor comes on to give us a little demo of using JSON and JAVA in XPages.

Creating an easy XPage keyword bean

By Fredrik Norling | 3 weeks ago | App Dev - XPages | Added by Oliver Busse

Flexibility in applications is always a great thing, to adapt the application to the business needs without recoding things. And if adding this flexibility can be done without lots of code, you will probably use it. This is one way of creating a keyword data bean for you XPages.

Getting the Base URL of the Current Database with SSJS

By Brad Balassaitis | 3 weeks ago | App Dev - XPages | Added by Kenio Carvalho

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.

URL @Functions in the Extension Library

By Brad Balassaitis | 3 weeks ago | App Dev - XPages | Added by Kenio Carvalho

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 functions are part of the extension library.

OpenNTF Domino API: New Release and Serializing Databases / Documents

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

Nathan has uploaded a new release of OpenNTF Domino API. There are a few significant differences in the upload this time.

org.openntf.junit.xsp – now with EasyMock support

By Christian Guedemann | 3 weeks ago | App Dev - XPages | Added by Oliver Busse

Frank van der Linden asked in his blog post (http://elstarit.nl/?p=157) if EasyMock or PowerMock can be integrated into the org.openntf.junit.xsp and Ryan J. Baxter mentioned also that a testing framework without a good mocking solution is only the half worth.

Rethinking the MimeDocument data source

By Stephan Wissel | 3 weeks ago | App Dev - XPages | Added by Oliver Busse

Tim (we miss you) and Jesse had the idea to store beans in Mime documents, which became an OpenNTF project. I love that idea and was musing how to make it more "domino like". In its binary format, a serialized bean can't be used for showing view data, nor can one be sure that it can be transported or deserialized other than through the same class version as the creator (this is why Serialized wants to have a serialid.

Mini Patterns for XPages: Using Beans for Parent - Child Documents

By Serdar Basegmez | 3 weeks ago | App Dev - XPages | Added by Oliver Busse

After a looong time, I'm blogging XPages again :) Last time, I was blogging about mini patterns (this and that). These are partly reusable design patterns for common cases. Today I'd like to introduce a simple pattern which I have been using in a couple of applications. This is also an example how you get benefits from Managed Beans for specific purposes. Let's start.

XPages gotcha: mode=”concat” in your themes

By Mark Leusink | 4 weeks ago | App Dev - XPages | Added by Oliver Busse

Suppose you have an XPage with a repeat control on it to show a list of documents. In the repeat you generate an <xp:button> for every document. Based on the status of the document you decide to give the button a different color, so you make the styleClass property of the button computed.

Completing the Circle: Custom JSON Data from Java

By Eric McCormick | 1 month ago | App Dev - XPages | Added by Oliver Busse

Generating custom JSON data is, unless you’re on a verison of Domino server previous to 8.5.3 UP1, virtually unnecessary. Everything you see below can be fully replicated via the Domino Data/Access Services. The reason for that is the fact that I made use of a simple NotesView iteration pattern to generate and return the application/json data.

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

By Brad Balassaitis | 1 month ago | App Dev - XPages | Added by Kenio Carvalho

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 the issue and show the simple solution that fixed the problem.

XPages and Domino 9.0.1 FP2: upgrades to CKEditor and Dojo

By Per Henrik Lausten | 1 month ago | App Dev - XPages | Added by Kenio Carvalho

IBM released fix pack 2 for Domino and XWork Server 9.0.1 this week. Among many fixes it includes Internet Explorer 11 support for xPages.