Quantcast
Channel: XPages and more
Viewing all 628 articles
Browse latest View live

IBM XPages on Bluemix: Slides from the Webcast An Introduction to Creating Domino Applications in the Bluemix Environment

$
0
0
On July 23rd there was a first webcast on IBM XPages for Bluemix; An Introduction to Creating Domino Applications in the Bluemix Environment.
Companies are looking to the cloud more and more for cost savings and to facilitate the creation of new modern applications. Join this webcast to find out how Bluemix – IBM's Platform as a Service (PaaS) cloud offering – can help create applications quickly, securely, and in a scalable manner. Get an introduction to Bluemix, what it offers, and more specifically how XPages and REST play a role key in it.

The content of this webcast was:
  • Easily get Bluemix up and running and how to create your own XPages applications quickly.
  • Integrate with the other services available within the Bluemix ecosystem.
  • Maximize the new and exciting possibilities this integration opens up to the Domino community.
Speakers were Mark RodenToby Samples Brian Gleeson and Martin Donnelly.


Below are some interesting slides of the webcast which were published on Twitter during the webcast. When the replay of the webcast becomes available it will be added to this blog post.















IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance

$
0
0
In the upcoming blog post I walk through the different steps regarding how to create/deploy an (existing) XPages application to the Bluemix environment. In this blog post I will show the first step, creating an XPages NoSQL database service instance.
IBM XPages NoSQL Database for Bluemix is a service that adds a fully provisioned Domino database to your XPages application. You can use the IBM Bluemix dashboard or the Cloud Foundry command line tool to create an application and bind an XPages NoSQL Database to it or you can deploy an existing XPages application to Bluemix.

Related Blog Posts:
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer
Customizing the XPages Web Starter Application on Bluemix - Start Coding
Creating XPages Applications with the IBM XPages Web Starter on Bluemix

The following steps can be followed to create an XPages NoSQL database service instance.
1. Log in to Bluemix through the web user interface.
2. Select the option CATALOG.


3. Scroll to the end of the Catalog. In the Looking for more? section, click Bluemix Labs Catalog.


4. In the Category pane, click Data & Analytics.
5. Select the IBM XPages NoSQL Database service tile.


6. Add Service
In the Add Service section, select your application's name from the App menu or leave the service unbound. In this example I leave the service unbound.
In the Service Name field, enter a service name or accept the default.
In the Selected Plan field, select the Free plan and click CREATE.


7. The IBM XPages NoSQL Database Service page opens.


To use the service instance and locate the credentials and database that were created for your app, click LAUNCH. The IBM XPages NoSQL Database for Bluemix Service Dashboard opens in a new browser window.


The XPages NoSQL Database service instance has been created. The XPages NoSQL database service instance can be found on the Dashboard under Services,

IBM XPages on Bluemix: XPages NoSQL Database Part II - Connecting to the XPages NoSQL Database service from Domino Designer (1)

$
0
0
In my previous blog post, IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL database service instance, I showed how to create an XPages NoSQL database service instance in Bluemix. In this blog post I will show how to connect to the XPages NoSQL Database service from Domino Designer. I have split this section in two separate parts / blog post. In this blog post I will go through the Bluemix part and in the next blog post I will go through the Domino Designer part, the connection document in the local IBM Notes client for the service provided Domino server.

Related Blog Posts:
IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer
Customizing the XPages Web Starter Application on Bluemix - Start Coding
Creating XPages Applications with the IBM XPages Web Starter on Bluemix

After the creation of the service instance, the underlying Domino database can be modified by using Domino Designer. This database must be accessed by using the Notes ID provided by the service.
The following steps can be followed to connect to the XPages NoSQL Database service from Domino Designer.

1, Switch to the user ID supplied by the XPages NoSQL Database service.
In the Services section of the Dashboard navigation bar, click on the instance of the XPages NoSQL Database service. In the example below I have three instances of the XPages NoSQL database service. One for the IBM XPages ToDo Design Application and already two Unbound services. In the example below I use the XPages NoSQL database service that was created in the previous blog post, IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance.


The IBM XPages NoSQL Database Service page will open. Select the Launch button in the upper right corner. The IBM XPages NoSQL Database Service page will open. Select the Launch button in the upper right corner. The IBM XPages NoSQL Database Service Dashboard will open in a new browser window and displays your credentials.


Click the ID Download link to save your credentials locally.


In the next blog post this ID must be used to log into the Domino Designer.
You also need the corresponding password (click on the button show as shown in picture above).
In Designer, click File > Security > Switch ID.
Browse for and select the downloaded ID. Click Open.


For more information about the using the ID file see my earlier blog post on IBM XPages Bluemix: Deploy changes to the Bluemix environment through Domino Designer Part II.

IBM XPages on Bluemix: Final Roundup of IBM XPages on Bluemix Information

$
0
0
Now IBM XPages on Bluemix is available for some time there has been a lot of information shared on this subject by several members of the community. I've said it before, we have a great community. This is my last roundup regarding information about IBM XPages on Bluemix. On my blog XPages and More I'm going to maintain a separate page from now on with all information about IBM XPages on Bluemix. You can find it here.
In case you missed some information during the last week below a summary of the most important and recommended blog posts up to now, videos and other links.


IBM XPages for Bluemix documentation
Building apps with the IBM XPages for Bluemix runtime
Getting started with IBM XPages NoSQL Database for Bluemix
Creating apps with the IBM XPages Web Starter

Recommended blog posts
Creating my first true XPages in Bluemix application via Mark Roden
XPages in Bluemix – where is the design and where is the data? via Mark Roden
XPages in Bluemix – Looking at the application dashboard via  Mark Roden
XPages in Bluemix – Pushing new changes via Bluemix git repository via Mark Roden
Bluemix Monitoring and Analytics – free service via Mark Roden
XPages on Bluemix a first look deploying app via Fredrik Norling
How to add your custom domain to your Bluemix app via Fredrik Norling
Building On Premises XPages The Bluemix Way via Paul Withers
XPages on Bluemix - finally we got here via Oliver Busse
Announcing IBM XPages on Bluemix via Brian Gleeson
XPages Comes to Bluemix via Eric McCormick
Usage of Cloudant NoSQL Databases in XPages Applications via Niklas Heidloff

My own humble contributions
IBM XPages on Bluemix: XPages NoSQL Database Part II - Connecting to the XPages NoSQL Database service from Domino Designer (1)
IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance
IBM XPages on Bluemix: Slides from the Webcast An Introduction to Creating Domino Applications in the Bluemix Environment
IBM XPages on Bluemix: Timeout message while deploying changes to the Bluemix environment using Domino Designer
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Cloud Foundry Command Line Interface
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer
Customizing the XPages Web Starter Application on Bluemix - Start Coding
Creating XPages Applications with the IBM XPages Web Starter on Bluemix
IBM XPages goes Bluemix (Experimental) - New XPages Extension Library has been released

IBM developerWorks
IBM developerWorks - Questions tagged with "xpages-runtime"
IBM developerWorks - Questions tagged with "xpages-service"

Videos
XPages on Bluemix - What are you waiting for?



Getting started with IBM Bluemix

IBM XPages on Bluemix - Great new video - Getting started with XPages on Bluemix - XPages Boilerplate Tutorial

$
0
0
Today Brian Gleeson has published a great new video on IBM developerWorks about IBM XPages on Bluemix - Getting started with XPages on Bluemix (XPages Boilerplate Tutorial).
This video covers a number of previously published blog post about IBM XPages on Bluemix.

If you are interested in IBM XPages on Bluemix and how to start with this
you should definitely watch this great video.
Also check out the accompanying blog post by Brian Gleeson on IBM developerWorks, Getting started with XPages on Bluemix.
This presentation covers IBM XPages Runtime, IBM XPages NoSQL Database and XPages Web Starter.



See also XPages on Bluemix - What are you waiting for?
Recently released on Bluemix were three experimental additions to the Bluemix Labs catalog: the XPages runtime, XPages NoSQL Database Service and the XPages Web Starter. This is a whistle-stop tour of what is on offer and to get a taste of why you should start developing XPages applications for Bluemix.

IBM XPages on Bluemix: Webcast Replay: An introduction to creating Domino applications in the Bluemix environment

$
0
0
Today I received in response to an earlier question to SocialBiz User Group about the replay of the Webcast An introduction to creating Domino applications in the Bluemix environment  the following tweet. Very grateful. Thank you very much SocialBiz User Group!


You can find the Replay on the SocialBiz User Group website: Webcast Replay: An introduction to creating Domino applications in the Bluemix environment

On July 23rd there was a first webcast on IBM XPages for Bluemix; An Introduction to Creating Domino Applications in the Bluemix Environment.
Companies are looking to the cloud more and more for cost savings and to facilitate the creation of new modern applications. Join this webcast to find out how Bluemix – IBM's Platform as a Service (PaaS) cloud offering – can help create applications quickly, securely, and in a scalable manner. Get an introduction to Bluemix, what it offers, and more specifically how XPages and REST play a role key in it.

Watch this webcast and learn how to:
  • Easily get Bluemix up and running and how to create your own XPages applications quickly.
  • Integrate with the other services available within the Bluemix ecosystem.
  • Maximize the new and exciting possibilities this integration opens up to the Domino community.
Speakers were Mark Roden, Toby Samples Brian Gleeson and Martin Donnelly.

IBM XPages on Bluemix: XPages NoSQL Database Part III - Connecting to the XPages NoSQL Database service from Domino Designer (2)

$
0
0
In my previous blog post, IBM XPages on Bluemix: XPages NoSQL Database Part II - Connecting to the XPages NoSQL Database service from Domino Designer (1), I showed how to connect to the XPages NoSQL Database service from Domino Designer (the Bluemix Part). In this blog post I will show how to create a connection document in the local IBM Notes client for the service-provided Domino server.

Related Blog Posts:
IBM XPages on Bluemix: XPages NoSQL Database Part II - Connecting to the XPages NoSQL Database service from Domino Designer (1)
IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer
Customizing the XPages Web Starter Application on Bluemix - Start Coding
Creating XPages Applications with the IBM XPages Web Starter on Bluemix

The following steps can be followed to create a connection document in the local IBM Notes client for the service-provided Domino server.
1. Open the IBM Notes client.
2. In the toolbar, select Open - Contacts. The Contacts application opens.


3. In the navigation pane, click Advanced.


4. In the application toolbar, select New - Server Connection. 


A new server connection document opens.
In the Basics tab, ensure the Connection type field is set to Local Area Network.


In the Use LAN port field, click the TCP/IP check box to enable it.
In the (Destination) Server name field, enter the name of the server from the XPages NoSQL Database Service Dashboard (use the data from blog post IBM XPages on Bluemix: XPages NoSQL Database Part II - Connecting to the XPages NoSQL Database service from Domino Designer (1).


5. Select the Advanced tab.
6. In the Destination server address field, enter the Domino IP Address.
Use the IP Address from the XPages NoSQL Database Service Dashboard.


7. Select Save & Close.
The connection document in the local IBM Notes client for the service-provided Domino server has been created.

In the next few blog posts I will show how to connect to the database from Domino Designer and how to split an existing database into two distinct parts: a runtime for the visual aspects of the application and a service to persist the data (data and design) .

IBM XPages on Bluemix: XPages NoSQL Database Part IV - Pushing existing XPages Applications to Bluemix (1)

$
0
0
In my previous blog post, IBM XPages on Bluemix: XPages NoSQL Database Part III - Connecting to the XPages NoSQL Database service from Domino Designer (2), I showed how to create a connection document in the local IBM Notes client for the service-provided Domino server. In this blog I will show the first part of pushing existing XPages applications to Bluemix, splitting the XPages Application in design and data.
Existing XPages applications typically contain both the application design and data in the form of documents. This does not suit the Bluemix model of separating the back-end data from the application design. To host these applications safely on Bluemix, the application must be split into two distinct parts: a runtime for the visual aspects of the application and a service to persist the data. Any data that is stored in the runtime is lost if it is restarted manually or for load-balancing purposes. Having a distinct runtime also allows the application to be scaled by increasing the number of instances.

Related Blog Posts:
IBM XPages on Bluemix: XPages NoSQL Database Part III - Connecting to the XPages NoSQL Database service from Domino Designer (2)
IBM XPages on Bluemix: XPages NoSQL Database Part II - Connecting to the XPages NoSQL Database service from Domino Designer (1)
IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer
Customizing the XPages Web Starter Application on Bluemix - Start Coding
Creating XPages Applications with the IBM XPages Web Starter on Bluemix

To split an XPages Application into design and data the following steps can be followed.

1. Open Domino Designer and log in using your regular Notes ID.
2. Open the XPages application that you want to split.
In this example, I use a simple XPages application which I named Bluemix Application.


3. Split the XPages application in design and data.
Right-click on the application in the Applications Navigator and select Application - New Copy to create a duplicate of the application. Name one copy bluemix_design.nsf and the other copy bluemix_data.nsf


The XPages applications appear in the Applications Navigator.


4. Access Control List
Right-click on the design application in the Applications Navigator and select Application - Access Control. The Access Control dialog box opens.
Click Add to create a new user. Enter the name as the user name generated by the XPages NoSQL Database Service Dashboard, in this example j_oldenburger_gmail_com.


Select Designer from the Access drop-down menu and click OK.


Repeat these stepson the data application.

5. Bluemix User ID
Switch to the service-provided Notes ID by clicking File- Security - Switch ID.
Select the downloaded ID file and click Open. When prompted, enter the password that was generated by the XPages NoSQL Database Service Dashboard.
Double-click both applications in the Applications Navigator to reopen them.


6. Delete design elements
In the data application, delete all XPages, Custom Controls, .css files and images.
In the design application, delete all Forms and Views.

7. Sign the XPages applications
Right-click on the data application in the Applications Navigator and select Application - Sign Design. Click OK.


The XPages Application is now split into design and data. In the next post we will continue to work on the design application.

XPages, Bootstrap Plugins, Modals, Responsive Images and Video Galleries , Reusable Bootstrap Fields, Buttons and more

$
0
0
Throughout the past period I have had many questions about a next release of the XPages and More demo database based on the blog post of the past months. At this moment I am very busy with the second release of this demo database. This second release will be published over the next few days.
The second release will contain, among others, examples of:

Bootstrap Plugins 
Select2, Bootstrap DateTime Picker, Multiselect, FileInput and more.


Bootstrap Modals
The Bootstrap JS Modal is a lightweight multi-purpose JavaScript popup that is customizable and responsive. The plugin can be included individually, using Bootstrap's individual modal.js file, or using bootstrap.js or bootstrap.min.js. It can be used to display alert popups, videos, images and input fields. The Bootstrap JS Modal is divided into three primary sections: the header, body, and footer. All the code and styles are predefined by Bootstrap.


Lightbox
Lightbox for Bootstrap 3 utilizes Bootstraps modal plugin to implement a lightbox gallery. In other words, a lightbox module for Bootstrap that supports images, YouTube videos, and galleries - built around Bootstrap's Modal plugin.


Responsive Images Galleries
One of the examples in the demo database is the Unite Gallery, a multipurpose javascript gallery based on jquery library. It's built with a modular technique with a lot of accent of ease of use and customization. It's very easy to customize the gallery, changing it's skin via css, and even writing your own theme. Yet this gallery is very powerfull, fast and has the most of nowdays must have features like responsiveness, touch enabled and even zoom feature, it's unique effect.


Responsive videos
One of the examples in the demo database is FitVids.js, a lightweight, easy-to-use jQuery plugin for fluid width video embeds.


Amazing Bootstrap Buttons
One of the examples in the demo database is the 3D Button Effect.


Reusabel Bootstrap Fields, Bootstrap Rich Text Fields and more.

So stay tuned for the upcoming release of the XPages and More demo database!

IBM XPages on Bluemix: Two great new videos Using IBM Domino Designer for XPages on Bluemix

$
0
0
Today there are two great new videos published on IBM developerWorks about Using IBM Domino Designer for XPages on Bluemix by Gary Majoram.


IBM XPages on Bluemix - Integrated Tooling in IBM Domino Designer
This presentation covers the features of the Bluemix tooling in IBM Domino Designer, for developing XPages applications for Bluemix.
IBM Contact: Gary Marjoram



IBM XPages Database Service on Bluemix - Connecting with IBM Domino Designer

This presentation covers using IBM Domino Designer to connect to the IBM XPages NoSQL Database Service on Bluemix.
IBM Contact: Gary Marjoram



Everything you need to know is explained in these videos.
A great thanks to Gary Majoram and Brian Gleeson. Thanks!
Check out the blog post on developerWorks: Using IBM Domino Designer for XPages on Bluemix

Bootstrap in XPages: Using Lightbox for Bootstrap 3 in XPages Part V - Forcing width using a data attribute

$
0
0
It's been a while since I wrote a new blog post on using Lightbox for Bootstrap 3 in XPages. With this blog post I'm going to spend more time on this subject again. Let's start with a relatively simple example which, however, can be used in several situations in a convenient way. In this blog post I will show how to set the width of a video. A quick reminder: Lightbox is a gallery plugin for Bootstrap 3 based on the modal plugin. It Utilizes Bootstraps modal plugin to implement the lightbox gallery.

Related blog posts
Bootstrap JS Modal plugin in XPages: Using Lightbox for Bootstrap 3 Part I
Using Lightbox for Bootstrap 3 in XPages Part II - Programatically call
Using Lightbox for Bootstrap 3 in XPages Part III - Data-Remote
Using Lightbox for Bootstrap 3 in XPages Part IV - Vimeo videos

Forcing width using the data attribute data-width
To force the width of a video you simply use the data attribute date-width.
<div>
<a href="http://www.youtube.com/watch?v=d7oiNXQfLeU" data-toggle="lightbox"
data-width="640" data-title="Lightbox Plugin" data-footer="Forcing Width">640 x 360</a>
</div>

The final result using data-width


Code XPage
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
xmlns:xc="http://www.ibm.com/xsp/custom">
<script type="text/javascript" src="lightbox/ekko-lightbox.js"></script>
<link rel="stylesheet" href="lightbox/ekko-lightbox.css" type="text/css" />
<script type="text/javascript">
$(document).ready(function ($) {
// delegate calls to data-toggle="lightbox"
$(document).delegate('*[data-toggle="lightbox"]:not([data-gallery="navigateTo"])', 'click', function(event) {
event.preventDefault();
return $(this).ekkoLightbox({
onShown: function() {
if (window.console) {
return console.log('Checking our the events huh?');
}
},
onNavigate: function(direction, itemIndex) {
if (window.console) {
return console.log('Navigating '+direction+'. Current item: '+itemIndex);
}
}
});
});
$(document).delegate('*[data-gallery="navigateTo"]', 'click', function(event) {
event.preventDefault();
return $(this).ekkoLightbox({
onShown: function() {
var a = this.modal_content.find('.modal-footer a');
if(a.length > 0) {
a.click(function(e) {
e.preventDefault();
this.navigateTo(2);
}.bind(this));
}
}
});
});
});
</script>
<xc:ccLayoutBootstrap>
<xp:this.facets>
<xp:panel xp:key="facetMiddle">
<xp:br></xp:br>
<div>
<a href="http://www.youtube.com/watch?v=d7oiNXQfLeU" data-toggle="lightbox" data-title="Lightbox Plugin" data-footer="Forcing Width">Standard</a>
</div>
<div>
<a href="http://www.youtube.com/watch?v=d7oiNXQfLeU" data-toggle="lightbox" data-width="640" data-title="Lightbox Plugin" data-footer="Forcing Width">640 x 360</a>
</div>
<div>
<a href="http://www.youtube.com/watch?v=d7oiNXQfLeU" data-toggle="lightbox" data-width="1280" data-title="Lightbox Plugin" data-footer="Forcing Width">1280 x 780</a>
</div>
</xp:panel>
</xp:this.facets>
</xc:ccLayoutBootstrap>
</xp:view>

A new era with Notes Domino XPages and Bluemix is about to begin

$
0
0
Tomorrow I start in my new position as Notes Domino XPages developer at my new employer Kranendonk in Tiel. A new challenge, a new beginning. I'm excited! The new function is in line with what I've done at Wavin Netherlands. So I hope for the best in this new position. And I will continue blogging :)

KRANENDONK is the robot technology centre for non-repetitive production. By implementing intelligent robot technology, KRANENDONK enables manufacturing companies to produce more efficiently and effectively. The production systems that KRANENDONK supplies are custom-build solutions that are cleverly integrated into material and data flows.
The field in which KRANENDONK operates is not bound by a product or industry, but by a production principle. Traditionally, robots are used for repetitive production. KRANENDONK’s competence lies in the opposite: realizing non-repetitive production by smart implementation of robotics. This opens a range of automation opportunities for manufacturing companies.
KRANENDONK is a Dutch company with subsidiaries in Japan and Denmark. A technology centre position is maintained by simultaneously fulfilling the roles of engineer, supplier, supporter and partner. A key part of KRANENDONK’s position is the ability to continuously work on new robot applications. It does this together with universities and other technology partners.

More information about Kranendonk



Building of web interface for IBM Notes Domino applications using ClevaDesk

$
0
0
Great new developments and products keep coming in the Notes Domino and XPages world. Some are free to use for others has to be paid. ClevaDesk is one of these new products. Some time ago I came into contact with Constantine Voloskov from ClevaDesk. He showed me some amazing demonstrations regarding building web-interfaces for Notes Domino applications. Below are some examples. It all looks very good and professional. If you find it interesting please feel free to contact Constantine Voloskov (ClevaDesk). Perhaps this can provide a good solution for some Notes Domino users.

What is ClevaDesk
Now your IBM Notes applications can look good and work quickly on any device – laptop, tablet, smartphone.
Business applications that are built on IBM Lotus Notes/Domino allow the company to operate efficiently and help the business to grow. Increasingly, users of Lotus Notes/Domino face technical limitations and cannot find the solution.
ClevaDesk is the first platform in the World that can solve this problem and give IBM Lotus Notes Domino applications a new life.
  • Fast creation of interfaces to existing Lotus Notes applications
  • Rapid design of new web and mobile interfaces
  • Individual styling of any interface element
  • Flexible multi-level fields validation
  • Ability to run any document in any workflow
  • Integration with Google Docs and Microsoft Office Web Apps
  • Charting
Building of web interface for IBM Notes/Domino applications
In this video a web interface is being built for "names.nsf" with fake users. In this example the database "fakenames.nsf" with more than 40,000 documents is being used. The web interface is created via the web browser in just a few minutes.



Build web applications quickly and easily using ClevaDesk
In this video we will show you how you can build web applications quickly and easily using ClevaDesk.

Bootstrap in XPages: Limiting the number of selections in Select2 fields

$
0
0
Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options. This blog post is a continuation of a previous blog post about Select2, Migrating to Select2 version 4.0.0. including a simple AMD Loader Fix in XPages.
For a recent project it was required that for certain Select2 fields users only should be able to make a limited selection. In this specific case only two values should be able to be selected from a selection list. Select2 multi-value select boxes (List Box) can set restrictions regarding the maximum number of options selected. The example below is declared with the maxSelectionLength in the Select2 Options. For more information about Select2 please read my related blog posts.

Related Blog Posts
Migrating to Select2 version 4.0.0. including a simple AMD Loader Fix in XPages
Using Select2 in XPages (Part I)
Using Select2 in XPages (Part II)
Select2 Placeholder Combo Box

Using the Select2 Option maxSelectionLength
<xp:scriptBlock id="scriptBlock1">
<xp:this.value><![CDATA[
$(document).ready(
function() {
x$( "#{id:listBox1}" ).select2({
placeholder: "Select a software category",
allowClear: true,      
maximumSelectionLength: 2
});
}
);
]]></xp:this.value>
</xp:scriptBlock>

The final result is a limited selection,


Code Custom Control
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:this.data>
<xp:dominoDocument var="document1" formName="Contact"></xp:dominoDocument>
</xp:this.data>
<xp:this.resources>
<xp:script src="/JQueryXSnippet.js" clientSide="true"></xp:script>
</xp:this.resources>
<script type="text/javascript" src="select2v4/js/select2.js"></script>
<link rel="stylesheet" href="select2v4/css/select2.css" />
<xp:scriptBlock id="scriptBlock2">
<xp:this.value><![CDATA[
$(document).ready(
function() {
x$( "#{id:comboBox1}" ).select2({
placeholder: "Select a category",
allowClear: true
});
}
);
]]></xp:this.value>
</xp:scriptBlock>
<xp:scriptBlock id="scriptBlock1">
<xp:this.value><![CDATA[
$(document).ready(
function() {
x$( "#{id:listBox1}" ).select2({
placeholder: "Select a software category",
allowClear: true,      
maximumSelectionLength: 2
});
}
);
]]></xp:this.value>
</xp:scriptBlock>
<xp:panel>
<div class="page-header">
<h1>Select2 - Version 4.0.0<xp:span style="color:rgb(255,255,255)">.</xp:span>
<small>Combo Box / List Box</small></h1>
</div>
<div class="col-md-7">
<div class="panel panel-default">
<div class="panel-body">
Select2 - Combo Box
<xp:comboBox id="comboBox1"
value="#{document1.Categories}" style="width: 100% !important;">
<xp:selectItems>
<xp:this.value><![CDATA[#{javascript:var arr = new Array("");    
var res = @DbLookup("", "byKeyWord", "Category", 2);
var list = arr.concat(res);
return list;}]]></xp:this.value>
</xp:selectItems>
</xp:comboBox>
</div>
<div class="panel-footer">Combo Box - Single Value</div>
</div>
</div>
<div class="col-md-7">
<div class="panel panel-default">
<div class="panel-body">
Select2 - List Box
<xp:listBox id="listBox1"
value="#{document1.Categories}" style="width: 100% !important;">
<xp:this.attrs>
<xp:attr name="multiple" value="multiple"></xp:attr>
</xp:this.attrs>
<xp:selectItems>
<xp:this.value><![CDATA[#{javascript:@DbLookup("", "byKeyWord", "Software", 2);}]]></xp:this.value>
</xp:selectItems>
</xp:listBox>
</div>
<div class="panel-footer"></div>
</div>
</div>
</xp:panel>
</xp:view>

IBM Connect 2016

$
0
0

IBM Connect 2016 Call for Speakers!
IBM Connect 2016 is currently accepting speaker proposals. Making every moment count starts with you, so join us in January to share your insights and best practices. Tell us about your social solutions and digital experiences that improve customer relationships and increase productivity. If your proposal is accepted, you may be eligible for a free conference pass. Act now - call for speakers ends September 4th.

Tell us your story
Are you ahead of your peers in reimagining how you work? Are you responding rapidly to customer needs in creative, meaningful ways? Are you spending less time behind the scenes and more time out front, leading your future? We want to hear about it.
Now is your chance to be a speaker at Connect 2016, the premier global conference for social business and the digital experience. Attendees will gain practical advice and strategic insights based on proven best practices.
We invite you to submit your proposal in one or more of the following topics:
  • Digital Experience
  • Email
  • Meetings and Chat
  • Social Collaboration
  • Social Content

Timeline for submissions
  • Call for Speakers Closes: September 4, 2015
  • Speakers Notified: Mid-October 2015
  • Presentations Due: December 21, 2015
Links:
IBM Connect 2016 Call for Speakers!
Connect 2016


IBM XPages on Bluemix: New Video Combine the XPages NoSQL Service and Node.js Runtime

$
0
0
The information about IBM XPages on Bluemix has in recent weeks become a bit less. But today there is a new video releases by Gary Marjorman, Combine the XPages NoSQL Service and Node.js Runtime.



This tutorial video show developers how to hook up a Node.js application to the XPages NoSQL Database service using REST and the Domino Access Services.

Check out the blog post on developerWorks: Combine the XPages NoSQL Service and Node.js Runtime and and the previous published videos, Using IBM Domino Designer for XPages on Bluemix.

Bootstrap in XPages: Using the PNotify Plugin for Bootstrap and jQuery UI in XPages

$
0
0
PNotify is a JavaScript notification plugin, developed by SciActive. Formerly known as Pines Notify. It is designed to provide an unparalleled level of flexibility, while still being very easy to implement and use. PNotify works in all major browsers and provides a consistent interface. It is tested thoroughly for consistency. It also can provide non-blocking notices. This allows the user to click elements behind the notice without even having to dismiss it. PNotify uses either Bootstrap or jQuery UI for styling, which means it is fully and easily themeable. In this blog post I will show the basic setup.
In order to use the PNotify Plugin, the JavaScript and CSS file(s) need to be included on the XPage / Custom Control. The latest version can be downloaded from GitHub: PNotify.

Adding the JS and CSS files
The JavaScript and CSS files must be added to the WebContent Folder in the Package Explorer.
In this example I added a Folder pnotify in the WebContent Folder.
Next the JavaScript and CSS files, pnotify.custom.min.js and pnotify.custom.min.css, must be included on the XPage or Custom Control. In this example I add the files to an XPage.

<script type="text/javascript" src="pnotify/pnotify.custom.min.js"></script>
<link rel="stylesheet" href="pnotify/pnotify.custom.min.css" media="all" type="text/css" />

Basic Setup PNotify in XPages
In the example below, I use a button to trigger the PNotify notice.

<xp:button value="Regular Notice" id="button1">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Regular Notice',
text: 'PNotify! I am a regular notice.'
});
});]]></xp:this.script>
</xp:eventHandler>
</xp:button>

The result is a PNotify regular notice in XPages.


Remark: You need to use CSJS (Client-Side JavaScript) in this case to make it work.


It is aslo possible to use Bootstrap Glyphicon icons and Font Awesome icons in the PNotify notices.

<xp:button value="Notice Bootstrap Icon" id="button2">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Bootstrap Icon',
text: 'I have an icon that uses the Bootstrap icon styles.',
icon: 'glyphicon glyphicon-envelope'
})
});]]></xp:this.script>
</xp:eventHandler>
</xp:button>

<xp:button value="Notice Font Awesome Icon" id="button3">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Font Awesome Icon',
text: 'I have an icon that uses the Font Awesome icon styles.',
icon: 'fa fa-envelope-o'
})
});]]></xp:this.script>
</xp:eventHandler>
</xp:button>


Code XPage
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
xmlns:xc="http://www.ibm.com/xsp/custom">
<script type="text/javascript" src="pnotify/pnotify.custom.min.js"></script>
<link rel="stylesheet" href="pnotify/pnotify.custom.min.css" media="all" type="text/css" />
<xc:ccLayoutBootstrap><xp:this.facets>
<xp:panel xp:key="facetMiddle">
<div>
<xp:button value="Regular Notice" id="button1">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Regular Notice',
text: 'PNotify! I am a regular notice.'
});
});]]></xp:this.script>
</xp:eventHandler>
</xp:button>
</div>
<br />
<div>
<xp:button value="Notice Bootstrap Icon" id="button2">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Bootstrap Icon',
text: 'I have an icon that uses the Bootstrap icon styles.',
icon: 'glyphicon glyphicon-envelope'
})
});]]></xp:this.script>
</xp:eventHandler>
</xp:button>
</div>
<br />
<div>
<xp:button value="Notice Font Awesome Icon" id="button3">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Font Awesome Icon',
text: 'I have an icon that uses the Font Awesome icon styles.',
icon: 'fa fa-envelope-o'
})
});]]></xp:this.script>
</xp:eventHandler>
</xp:button>
</div>
<br />
</xp:panel>
</xp:this.facets>
</xc:ccLayoutBootstrap>
</xp:view>

In the next blog post more possibilities for using the PNotify pluging in XPages. So stay tuned!

Modernize and upgrade existing Notes databases to XPages through a process of configuration with Aveedo

$
0
0
Yesterday I watched the replay of the webinar Modernize existing Notes databases with Aveedo by We4IT GmbH. Amazing stuff.
Aveedo is an application framework that provides organisations using IBM Notes and Domino with a way to rapidly develop new XPage applications and upgrade existing applications to XPages through a process of configuration rather than coding.


Content webinar
Many of us are struggling to find the time to create all the new XPages application that we need to. And then there's all those old Notes dbs that now need to be brought to the browser and to mobile devices.
  • Create new applications without using Domino Designer. Simple apps can be created in minutes, average apps in a few hours to a couple of days and complex apps in a week or two.
  • Modernize existing Notes client applications to state-of-the-art browser-based apps without changing the underlying database. Aveedo is simply used to create a new front-end.
  • Mobilise applications without additional effort. Aveedo’s responsive design technology means that applications will simply format themselves according to the size of the screen on which it’s being viewed.
  • Workflow becomes easier to add to applications when the users in the business are able to use Aveedo’s visual modeller to describe the sequence of activities that they need to be automated. The workflow engine then allows the completed process to be swiftly integrated into your application.


More info : Aveedo Your application framework

Bootstrap in XPages: Using the PNotify Plugin for Bootstrap and jQuery UI in XPages - Effects built in to jQuery

$
0
0
In my previous blog post, Bootstrap in XPages: Using the PNotify Plugin for Bootstrap and jQuery UI in XPages, I showed how PNotify can be used in XPages.
In this blog post I will show how some jQuery effects can be used in PNotify. This involves the Fade, Slide and Show effect. In the example below, I use a button to trigger the PNotify notice.

Effects built in to jQuery

Setup Fade Effect in XPages
$(function(){
new PNotify({
title: 'Fade Effect',
text: 'Effects built in to jQuery - Fade Effect.',
animation: 'fade'
});
});

Setup Show Effect in XPages
$(function(){
new PNotify({
title: 'Show Effect',
text: 'Effects built in to jQuery - Show Effect.',
animation: 'show'
})
});

Setup Slide Effect in XPages
$(function(){
new PNotify({
title: 'Slide Effect',
text: 'Effects built in to jQuery - Slide Effect.',
animation: 'slide'
})
});

Setup two different effects together in XPages
$(function(){
new PNotify({
title: 'Show and Slide Effect',
text: 'I use a different effect.',
animation: {
effect_in: 'show',
effect_out: 'slide'
}
})
});

Remark: You need to use CSJS (Client-Side JavaScript) in this case to make it work.

The final result in XPages


Code XPage
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"
xmlns:xc="http://www.ibm.com/xsp/custom">
<script type="text/javascript" src="pnotify/pnotify.custom.min.js"></script>
<link rel="stylesheet" href="pnotify/pnotify.custom.min.css" media="all" type="text/css" />
<xc:ccLayoutBootstrap><xp:this.facets>
<xp:panel xp:key="facetMiddle">
<div>
<xp:button id="button1" value="Fade Effect">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Fade Effect',
text: 'Effects built in to jQuery - Fade Effect.',
animation: 'fade'
});
});]]></xp:this.script>
</xp:eventHandler>
</xp:button>
</div>
<br />
<div>
<xp:button id="button2" value="Show Effect">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Show Effect',
text: 'Effects built in to jQuery - Show Effect.',
animation: 'show'
})
});]]></xp:this.script>
</xp:eventHandler>
</xp:button>
</div>
<br />
<div>
<xp:button id="button3" value="Slide Effect">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Slide Effect',
text: 'Effects built in to jQuery - Slide Effect.',
animation: 'slide'
})
});]]></xp:this.script>
</xp:eventHandler>
</xp:button>
</div>
<br />
<xp:button id="button4" value="Show and Slide Effect'">
<xp:eventHandler event="onclick" submit="false">
<xp:this.script><![CDATA[$(function(){
new PNotify({
title: 'Show and Slide Effect',
text: 'I use a different effect.',
animation: {
effect_in: 'show',
effect_out: 'slide'
}
})
});]]></xp:this.script>
</xp:eventHandler></xp:button>
</xp:panel>
</xp:this.facets>
</xc:ccLayoutBootstrap>
</xp:view>

IBM XPages on Bluemix: New Free Online Course from IBM developerWorks: Getting Started with IBM Bluemix

$
0
0
IBM® Bluemix™ is an open-standards, cloud platform for building, running, and managing applications. With Bluemix, developers can focus on building excellent user experiences with flexible compute options, choice of DevOps tooling, and a powerful set of IBM and third-party APIs and services.

This free online course will help you understand the fundamentals of cloud computing, Bluemix, services, DevOps, containers, Cloud Foundry, and best practices for agile and test-driven development. The course includes video lectures, exercises, and quizzes to help you learn the material.
When you finish this course, you should understand:
  • Cloud computing, cloud architecture, and how to maximize the value of cloud development
  • The components and features of Bluemix, such as organizations, spaces, boilerplates, and services
  • How to quickly deploy and modify a boilerplate application in Node.js by using the Bluemix web interface
  • How to use the cf command line (Cloud Foundry) to deploy applications, understand the foundations of the Cloud Foundry architecture, and use buildpacks
  • The advantages of applying test-driven development and agile best practices
  • How to modify your application by using DevOps services and tooling
  • The advantages of using environment variables and separating configuration from the code
  • The basics of containers, Docker files, and virtual machines
  • How to estimate the cost of your applications
More information about this free online course: Getting Started with IBM Bluemix
Viewing all 628 articles
Browse latest View live