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
An open letter to Mr. NotesIn9
Wed, Apr 2nd 2014 6:33a Mark Roden Dear Mr Leedy,
I regret to inform you that your blatant use of child labor has offended my child labor union. They do not feel like you have represented me in the correct light.
I trust that you will find this short response in the same light as your original offense.
Your very good friend Marky Roden
CC: everyone who has seen this video
And the gloves are off……
Mon, Mar 31st 2014 5:57p Mark Roden Picture this: I have been away for 5 days and during that time “someone” has been posting cryptic comments on twitter about how the next notesin9 is going to be different….and scaring me.
So I am waiting at the airport this afternoon, about to board my plane home and I get this link from this “friend” who tells me to watch the new video it and enjoy. I download it and watch it on the plane. People start to look at me funny as I start to snort and giggle at my phone. [read] Keywords: ibm
When the community comes together we get the right answer
To give a little more background as to why I decided to post: I was not to be antagonistic or instigate a storm in a tea cup. It was because for the third time in 2014 I had been told by a notes developer something along the lines of “I can’t learn XPages because I have read that you need to learn Java and I do [read] Keywords: notes
PATCHing a Document using Domino Data Service
Mon, Mar 24th 2014 7:11p Mark Roden Talk about frustrating – in a week full of slow progress and CORS cross domain hell I found this little annoyance after hours of staring and curing – once again the power of trial and error triumphs over my stupidity again.
I have a Domino Data Service running on the server and I want to update a document
This is the imaginary URL
returning the imaginary data just fine
"@href": [read] Keywords: domino
How to ad icons to individual items in a Select2 multi-value field
Tue, Mar 18th 2014 8:08p Mark Roden Select2 is one of the best user interface enhancers I have come across – if you do not know what it is then you need to go play with it.
It transforms SELECT boxes into dynamic, stunning, interactive UI elements and allows for all sorts of customizations and developer fun.
What I want to be able to do is select items from different categories within the select2 box and then add an icon displaying to the user which category they came from. In this article I will show how.
I want to [read] Keywords: css
My ongoing struggle with stupidity and what is not valid JSON
Sun, Mar 16th 2014 6:06p Mark Roden So this was a frustrating lesson to learn – and please feel free to be entertained by my apparent stupidity.
I was trying to create my own JSON with an xAgent – seems easy enough. I created a simple output which looked like this
and when I fed it through my AJAX code it failed.
//url: 'http://coppe [read] Keywords: ajax