NotesIn9 153: Java based Debug Control Part 1

By David Leedy | 22 hours 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 day 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 | 5 days 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 | 7 days 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 | 1 week 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 | 1 week 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 | 1 week 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 | 2 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 | 2 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 | 2 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 | 2 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 | 2 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 | 2 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 | 2 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 | 3 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 | 3 weeks 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 | 3 weeks 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 | 3 weeks 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.

Why My XPages Buttons Are Only Ever "Buttons"

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

Buttons in XPages are interesting and potentially dangerous elements. They’re dangerous, mainly to less experienced XPages developers, because they have this apparently helpful combo box that immediately attracts the eye for Button type.

jQuery Formatted xPage from JSON Source

By Shean McManus | 4 weeks ago | App Dev - XPages | Added by Oliver Busse

In my last post I detailed a technique I used to hack the design of the xPages Extension Library DataView control to enhance a printable page of our corporate directory. In this post I'll show an alternative method that does not use any xPage controls.

Using JUnit in XPages Projects

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

Yes! I’ve read some books during my holidays. Clean Code was one of them and also Test Driven Development. Both of them where very interesting and has closed some open questions. Back from holidays, I’ve started to research how I can implement JUnit testing to XPages Applications.

Quick-Tip: Script library prevents execution of agent

By Thomas Bahn | 4 weeks ago | App Dev - XPages | Added by Oliver Busse

Today I solved a mysterious problem, a customer of mine had with an scheduled LotusScript agent: It just didn't ran!

XPages RDBMS Support - Recent Improvements

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

In recent releases of the XPages Extension Library, there have been a number of changes and additions to the feature that supports Relational Databases in XPages applications. To ensure that the XPages community is aware of these changes and their impact, the XPages development team has created a video.

REST Consumption in Java on Domino

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

RESTful APIs have seen prolific growth in the last few years. Not only has it made for faster transactions between servers and clients, it’s also become a great standard for server-to-server transmission of data. While many may argue in favor of SOAP or XML-RPC, I’m not going to debate those merits for or against.