I am delighted to present the first in my series of articles highlighting some extremely cool jQuery plugins and how to integrate them within XPages. During the course of the articles I will always demonstrate at least at some level, basic integration with XPages. In many cases I will not be able to cover all the examples of everything possible with each plugin, but I hope to give at least a good teaser to the possibilities and show the myriad of possibilities.
I have to also say a HUGE thank you to David Leedy (www.notesin9.com) who is hosting my demonstration for this and the rest of this series when I get to them.
So without further ad0 – welcome to jQuery in XPages #1
But part of the reason I chose it as the #1 is because it really rocks well with an XPage environment. It has direct business applicability, unlike many other jQuery plugins which are pretty, but hardly “corporate”. The format and structure of the chart instantiation also jibes well with XPages and I was able to create a custom control which can be applied to any formatted viewPanel or dataTable.
In the example below you can see a simple form with a viewPanel. Adding a new value to the form refreshes the page and displays the value entered. The exact same functionality would be seen if I had a basic data table looking at the same view of data.
Initial XPages form
Submitting the form gives us our new value
XPage with new Apples value added
The XPage is laid out very simply and our View control is called viewPanel1
View Panel on the XPage
We add the drawHighchart Custom Control to the XPage
Adding the drawHighchart custom control to the page
And let’s refresh our webpage – et voila – a chart
A simple Highchart added to our XPage
Changing the chart type is as simple as selecting a new theme and/or a new chart type
Changing the Highchart style
For more information on how this works check out the next article
Sorting an unsorted XPages document collection based on a date field
Creating the array
var sSearch = "[FIELD Subject contains smith]"
var dc:N [read] Keywords: xpages applications
Using jQuery to remove Dojo CSS from an XPage
Thu, Feb 20th 2014 10:59p Mark Roden I am currently working on a customer application which is oneuiv2.1 themed and I wanted to create a simple jQuery Mobile site. the dojo css was really messing up the styling and just for interest I wanted to see if I could programmatically remove the dojo css from the page client side
Using a jQuery selector I can get a handle on that as follows
$( [read] Keywords: xpages application
What does Firebug say?
If you ever ask me for help this will always be my first question – and a significant number o [read] Keywords: domino
Exciting changes for 2014 – moving to Chicago
Wed, Feb 12th 2014 5:52a Mark Roden 2013 was a fantastic year for the PSC XPages team. We completed work on the world’s largest XPages project, started work for a number of new customers and early in 2014 we are actively looking to hire the best XPages developers available . It is a very exciting time to be taking a leading role within the largest XPages consultancy practice in North America.
With all this comes the opportunity for advancement. I am very pleased to announce that I have been promoted from Senior Consultant to [read] Keywords: collaboration
Lowering your ODS – an oldie but goodie
Fri, Feb 7th 2014 6:14a Mark Roden After Connect this year I tried to post my Ext JS sample database on my demo site and most users were reporting unsupported notes version. I did some digging and it turns out that amongst everything else R9.0.1 has a newer ODS (52) and therefore would not run on a lower than R9.0.1 server/client.
So after much idiocy and locally encrypted stupidity on my part, I did a search around and found/remembered that you can reduce the ODS aaaaaall the way back to 20 by doing this
File – Applicatio [read] Keywords: notes
My thoughts on Connect 14 – What makes a good presentation?
Mon, Feb 3rd 2014 6:44p Mark Roden I wanted to write down some thoughts and ideas, notes almost, after watching the IBM Connect 2014 technical presentations.
Ultimately what I want to understand and be able to execute myself is – What makes a good presenter/presentation?
Let’s ignore the content for the moment. Last week I attended sessions where I was interested in the content but the delivery was poor. I also went to presentations where the content didn’t interest me but the presentation kept my attention. Fig [read] Keywords: ibm
show and tell