263 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
How to use TLS and SHA-2 certificates in Domino Web Service Consumer
Thu, Oct 23rd 2014 5
Making drag and drop work in XPages - Part 1: Introduction
Sun, Jan 5th 2014 0
Making drag and drop work in XPages - Part 2: Prerequisites
Sun, Jan 5th 2014 0
Making drag and drop work in XPages - Part 3: Coding drag-and-drop
Sun, Jan 5th 2014 1
Making drag and drop work in XPages - Part 4: Ajax and REST
Sun, Jan 5th 2014 4
Making drag and drop work in XPages - Part 6: Data Attributes
Sun, Jan 5th 2014 3
Making drag and drop work in Xpages - Part 5: Advanced example
Sun, Jan 5th 2014 2
Top 10
How to use TLS and SHA-2 certificates in Domino Web Service Consumer
Thu, Oct 23rd 2014 5
Making drag and drop work in XPages - Part 4: Ajax and REST
Sun, Jan 5th 2014 4
User's login ID, LDAP and Sametime
Wed, Apr 24th 2013 4
Installing Traveler 9.0 on Linux - watch out for this inconsistency
Tue, Apr 23rd 2013 4
XPages, Bootstrap and links pretending to be buttons
Wed, Dec 31st 1969 4
Making drag and drop work in XPages - Part 6: Data Attributes
Sun, Jan 5th 2014 3
Google+ Comments now turned off on this blog
Sat, May 4th 2013 3
Google+ Comments now turned off on this blog
Wed, Dec 31st 1969 3
Installing Traveler 9.0 on Linux - watch out for this inconsistency
Wed, Dec 31st 1969 3
Making drag and drop work in Xpages - Part 5: Advanced example
Sun, Jan 5th 2014 2


Sasa Brkic
Blog Title Lotus Shade of Yellow
Blog URL http://blog.squareone.ba
RSS Feed http://feeds.feedburner.com/lsoy
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked Jan 29, 2015 12:14:43 PM EST. Realtime Update:
Location Banja Luka, Bosnia and Herzego


Recent Blog Posts
5
How to use TLS and SHA-2 certificates in Domino Web Service Consumer
Thu, Oct 23rd 2014 6:11a   Sasa Brkic
We have a solution that is used by thousands of public sector workers. The solution relies heavily on interacting with various web services provided by the tax authority, social welfare and health authorities and others. So we have a lots of Domino web service consumers and providers that require both SSL and authentication using certificates. Like many others we were aware of Domino's lack of support for TLS and SHA-2, but the web services providers were not insisting on them, so everything wo
0
How to use TLS and SHA-2 certificates in Domino Web Service Consumer
Wed, Dec 31st 1969 7:33p   Sasa Brkic
We have a solution that is used by thousands of public sector workers. The solution relies heavily on interacting with various web services provided by the tax authority, social welfare and health authorities and others. So we have a lots of Domino web service consumers and providers that require both SSL and authentication using certificates. Like many others we were aware of Domino's lack of support for TLS and SHA-2, but the web services providers were not insisting on them, so everything wo
0
Making drag and drop work in XPages - Part 6: Data Attributes
Wed, Dec 31st 1969 7:33p   Sasa Brkic
There is a demo site accompanying this series of posts on drag and drop. The text is mostly the same, but you get working examples on the demo site.Enabling the key | label functionalityThis is the first blog post in this year ? and it is the last part of this drag-and-drop series. So far, we have learned how to create fairly advanced drag-and-drop controls. In this last part we'll learn another technique, which, while not directly related to drag-and-drop, can help in developing applications.
0
How to backup your Mercurial server to Amazon S3
Wed, Dec 31st 1969 7:33p   Sasa Brkic
In the last couple of years, I've seen a clear trend towards using established software development methods and techniques when developing Domino applications, such as the use of revision control systems like SVN, Git and Mercurial. It seems that majority of developers is using distributed revision control systems like Git or Mercurial. When working in a team, developers use a central repository (i.e. server) to share the code. The services like Bitbucket and GitHub can be used for that purpos
0
Making drag and drop work in Xpages - Part 5: Advanced example
Wed, Dec 31st 1969 7:33p   Sasa Brkic
There is a demo site accompanying this series of posts on drag and drop. The text is mostly the same, but you get working examples on the demo site.Controlling outputIf HTML5 Sortable satisfies your needs, you are good to go. But what if you need better control of your drag and drop?Let's consider the first example. It has two features that are impossible to implement in HTML5 Sortable (without changing its source code):notice how elements are copied between the lists, instead of move
0
LOT-408 Assessment Test (Notes and Domino 9.0 Application Development Update)
Wed, Dec 31st 1969 7:33p   Sasa Brkic
I have recently taken assessment test LOT-408 IBM Notes and Domino 9.0 Social Edition Application Development Update, just to see what I can expect in the real certification. I would say that the assessment was as difficult as the 8.5 Application Development Update certification. The focus in the assessment test was heavily on the Extension Library, going into very fine details of the various controls. There were far too many (for my taste) questions of the type "What menu item do you need to
2
Making drag and drop work in XPages - Part 4: Ajax and REST
Wed, Dec 31st 1969 7:33p   Sasa Brkic
There is a demo site accompanying this series of posts on drag and drop. The text is mostly the same, but you get working examples on the demo site.Sending sorted list back to serverOnce we have a working drag and drop control, it is time to think about sending the sorted list back to server. In order to do that, we need:few lines of JavaScript code to read the sorted list and prepare values for sending;a call to jQuery.ajax() to send the prepared values;a REST control with PUT method that recei
0
XPages the Scrum way
Wed, Dec 31st 1969 7:33p   Sasa Brkic
A picture of our Scrum working area. Still early in the sprint... Via +Boris Paukovic
2
Making drag and drop work in XPages - Part 3: Coding drag-and-drop
Wed, Dec 31st 1969 7:33p   Sasa Brkic
There is a demo site accompanying this series of posts on drag and drop. The text is mostly the same, but you get working examples on the demo site.Coding drag and dropThe basic examples use HTML5 Sortable as it is easier to use. We'll deal with jQuery UI widgets when we get to more advanced examples.Implementation of drag and drop is usually done using unordered lists, ul, but you could use almost any other HTML element.There is a simple example on the demo site, with two unordered lists.
0
Making drag and drop work in XPages - Part 2: Prerequisites
Wed, Dec 31st 1969 7:33p   Sasa Brkic
There is a demo site accompanying this series of posts on drag and drop. The text is mostly the same, but you get working examples on the demo site.PrerequisitesjQueryRegardless of what plugin you choose, you will need jQuery. In case that you are using Twitter Bootstrap, you already have it. Otherwise, go and download it. Unless you plan to do jQuery development, download the compressed (production) version.The fact that you are using jQuery does not prevent you from using OneUI or any oth
0
Making drag and drop work in XPages - Part 1: Introduction
Wed, Dec 31st 1969 7:33p   Sasa Brkic
There is a demo site accompanying this series of posts on drag and drop. The text is mostly the same, but you get working examples on the demo site.A bit of introductionDrag & drop and related sort function have been around since the web became dynamic. I have seen them used to solve some tricky UI problems, but also misused to the point of making me cry.My first serious encounter with drag & drop was last year when I was working on an application for a wellness center.As a part of her i
4
XPages, Bootstrap and links pretending to be buttons
Wed, Dec 31st 1969 7:33p   Sasa Brkic
In a recent post, I wrote about how I used Twitter Bootstrap to style an XPages application and what challenges I faced when using Button core control. Twitter Bootstrap is very flexible and it allows you to visually turn a link into a button. All you need to do is to apply the same style classes to a link, as you would do with a button. For example, this: Approvewill be rendered as this: And, just as easily as with the buttons, you can add additional styles or icons: UploadThe result is this
3
Google+ Comments now turned off on this blog
Wed, Dec 31st 1969 7:33p   Sasa Brkic
For some time I had Google+ comments enabled on this blog. I thought it would be a good idea, having both blog and Google+ conversation collected in one place. However, I failed to understand that only those with Google+ accounts would be allowed to comment. This mistake has now been fixed - I switched back to the old comments system that allows for anonymous comments as well.
0
XPages, Twitter Bootstrap and button decorations
Wed, Dec 31st 1969 7:33p   Sasa Brkic
This is a follow-up post to my question at the Stack Overflow. I am trying to switch completely to Twitter Bootstrap for our XPages applications. I find it easy to work with, with lean and understandable CSS that is easy to modify should the need arise. There are so many different resources on the Internet dedicated to Bootstrap, including the marvelous {wrap}bootstrap with ready-to-use themes. Using the Boostrap is easy as long as you use static elements, like or . It gets a little tougher w
0
User's login ID, LDAP and Sametime
Wed, Dec 31st 1969 7:33p   Sasa Brkic
Or, when too much RTFM is not a good thing. Each time we perform a new installation, we try to make it better than the one before. We tighten security, we make it more robust and scalable. We read manuals and check best practices an extra time. When we were installing Sametime at a new customer some time ago, we did just that - we read the documentation one extra time. And we noticed that the documentation recommended use of a unique, non-changing, identifier as the user's login ID. For exampl
0
Connections Business Cards in Notes 9.0
Wed, Dec 31st 1969 7:33p   Sasa Brkic
I really don't know how old this is - I only noticed it yesterday. When one hovers over a name in Notes 9.0, a Connections business card appears: We haven't done any integration between our Domino / Connections environments, apart for installing Connections plug-ins for Notes. So I guess that this function is a part of the plug-ins. Really nice touch, it simply works out of box. No manual configuration of any sort. I wish I could say the same for other aspects of Domino / Connections inte
3
Installing Traveler 9.0 on Linux - watch out for this inconsistency
Wed, Dec 31st 1969 7:33p   Sasa Brkic
.syntaxhighlighter { overflow-y: hidden !important; overflow-x: auto !important; } I don't know if I am the only one to encounter this. I'll share it, maybe it saves some headache. Prior to Domino 9.0, the default program directory on Linux was: /opt/ibm/lotusWith version 9.0, it has been changed, as seen in this excerpt from the installation procedure: Please specify a directory or press Enter to accept the default directory. Program Files Directory Name [/opt/ibm/domino]However, it seems th
0
A Success Story - IBM, Red Hat (and Domino)
Wed, Dec 31st 1969 7:33p   Sasa Brkic
I feel proud to share with you this success story that IBM has recently published. It details the work that we (COMPUTING systems d.o.o.) did on a complete infrastructure overhaul for one of our customers. While it focuses on IBM System x servers, System Storage and Red Hat Enterprise Virtualization, it does mention Domino / Notes as well. Sometime this year, when the complete collaboration infrastructure - including Notes / Domino, Sametime and Connections - is in place and operational, I hop
0
IBM Notes / Domino 9.0 Beta - initial impressions
Wed, Dec 31st 1969 7:33p   Sasa Brkic
I've spent the last few weeks playing with and testing Notes / Domino 9 Social Edition Beta. In the last post, I highlighted a few issues that I saw as possibly being problematic. I am glad to say that my fears have been unfounded. This is what I have discovered so far: Domino 64-bit on Linux - works like a charm. I installed one Domino 64-bit server from the scratch and I even upgraded an existing 32-bit 8.5.3 FP3 server. I don't know what official recommendations will be regarding upgrading
0
Notes / Domino 9.0, Linux 64-bit, Symphony and other stuff
Wed, Dec 31st 1969 7:33p   Sasa Brkic
So, the first ever public beta of a Lotus Notes / Domino release is upon us. Like many others, I rushed to download and install it. It became obvious immediately that this update will require much more thought, planning and testing than the previous ones. Here are some of the reasons:Domino 64-bit on Linux - Linux users now have access to a 64-bit version of the Domino server. That is good - no more installing 32-bit libraries, fiddling with memory settings and the like. But, can we do an in-p
0
Backup Domino to Amazon S3 Cloud Storage
Wed, Dec 31st 1969 7:33p   Sasa Brkic
I can't believe it's been 9 months since the last post! A lot has happened during that time: there has been a lot of XPages programming, great time time with Scrum, frustration with source code management and administration of some old (Sametime) and some new (Connections) applications. More about thatt some other time. What I wanted to share with you this time is a way to cheaply and reliably backup your Domino server(s) to cloud. The NeedWe have a few small customers running Domino. They
0
Update: XPages, Directory Assistance and context.getUser()
Wed, Dec 31st 1969 7:33p   Sasa Brkic
A few days ago I wrote about my problems with the Directory Assistance and getting user roles with context.getUser(). Prompted by Mark Leusink's comment, I decided to take a look at our Directory Assistance settings. I started changing settings and... context.getUser().getRoles() started to work! The setting that made all the difference was "Use exclusively for group authorization or credential authentication". If you set this to Yes, as it was originally set in our case, context.getUser().ge
0
Formatting dates in XPages links - the Java way
Wed, Dec 31st 1969 7:33p   Sasa Brkic
As many of you have experienced, date and number formatting of the link text in xp:link does not work. Sure, you can assign a data converter, just as you would for a field or a computed text, but it won't work. Paul Withers and Frédéric Dehédin, among others, have offered nice SSJS solutions to this problem. When I encountered the same problem, I took a somewhat different approach. I didn't like the idea of creating SSJS libraries for something that is essentially a hack and which can be easi
0
XPages, Directory Assistance and context.getUser()
Wed, Dec 31st 1969 7:33p   Sasa Brkic
It often happens that some parts of the GUI should be hidden, based on the current users authorizations. For that purpose, we have been using ACL roles and a short line of code to evaluate whether the current user is assigned to a specific role: context.getUser().getRoles().contains("[RoleName]"); And this had worked very well until we recently introduced Directory Assistance and allowed users from the secondary directory to log in and use the application. For users from the secondary direct
0
Vertically stacking members in Dojo List Text Box
Wed, Dec 31st 1969 7:33p   Sasa Brkic
The extension library provides the Dojo List Text Box (djextListTextBox) control that, connected to a value picker, makes it possible to create a list whose members are easy to remove. Using the oneUI v2.1, the default display is similar to this: But, what if you instead wanted list members to be stacked vertically? Something like this: With some CSS, it is actually quite easy to accomplish. First, put your djextListTextBox inside a panel and give it a style class, let's call it verticalStack.
0
How expensive is view.getColumnValues()?
Wed, Dec 31st 1969 7:33p   Sasa Brkic
I need expert help and advice. In the application we are building, among other things, we keep record of all payments. One of the resources is an XPage that shows all payments due within certain number of days from 'today'. This is how we did it: we already have a Domino view that displays all unpaid payments. We don't like creating a Domino view for each new requirement, so we decided to reuse this one. I wrote some Java code to go through all of these payments, find those that fall within




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition