This blog was created using the OSnippets template available from OpenNTF.org.

An Effective Use of the 'attr' Property on xPage Elements

JQuery is a common javascript library today that can be used for any number of client side operations.  Sometimes it can be difficult to construct the right selector with xPage elements due to the way the engine renders the id tag.  Sure it is common to use the elements class attribute as a selector but sometimes that can only serve to muck up your design as you may already have several [...]
Published 01/11/2016, 12:00:00 AM

When 'font-weight: bold' Is Not Quite Right

Lately I've been doing a lot of front-end UI work and in doing so there have been situations where I want to call attention to a piece of text.  Sometimes displaying the text in a BOLD font-weight is just right, but other times that feels more like cracking a nut with a sledge hammer.  CSS has supported a more granular approach to the font-weight attribute for some time but it's [...]
Published 10/26/2015, 12:00:00 AM

Converting HTML Tags to XPage Tags

As xPages becomes a common platform for other modern web frameworks, you may find yourself writing a lot of standard HTML (such as Twitter Boostrap markup) in your Domino Designer source panel.  Here is a convenient reminder that most HTML tags can be converted to xPage tags by adding the xp: prefix. So, <div>...</div> becomes  <xp:div>...</xp:div>. [...]
Published 10/12/2015, 12:00:00 AM

Using a placeholder with Select2 in xPages

Select2 is a fantastic component that provides for a very nice alternative to the classic combo box.  While working with it this week I ran into an issue where I was unable to get the placeholder option to work.  Turns out you need to seed your values array with a null value or else the placeholder won't display. Using this select2 initialization code: //Initialize Select2 Dr [...]
Published 09/16/2015, 12:00:00 AM

Starting with PSC Tomorrow

Tomorrow I begin working with a new employer for the first time in nearly 13 years.  I'm very excited to join the talented group of developers at PSC as a Senior Consultant.  The past few years have been challenging as my previous employer (cereal manufacturer Malt-O-Meal/MOM Brands/Post Consumer Brands) has undergone a lot of change, both corporately and within the IT departmen [...]
Published 08/30/2015, 12:00:00 AM