Today marks the release of my first video for Notes in 9. It has been my absolute pleasure to work with David Leedy on this project and I really hope that people find it useful. This blog entry is intended for my side-notes and also to provide a spot for any questions/comments.
This came about after my blog article on Adding a “working” visual indicator to the XPages TypeAhead. David approached me because he thought it would make a great Nin9 video. The original article was written from code on an 8.5.2 server and when I went to make the video on my 8.5.3 server I found that the HTML code generated for the type ahead was different any my code was “broken”.
As i said at the start of the original article, this is not bullet proof because you are always at the risk of this happening because we are manipulating the HTML created by the server. When IBM release 8.5.3 they upgraded dojo to 1.6 from 1.4 and the way the dijit comboxbox works had changed from one version of dojo to another, so IBM had to adapt.
The code in the example will work for 8.5.3 and 8.5.2 however because of the beauty of using the dojo.query. The 8.5.2 version is less complex and a couple of the lines in the addVisual() function are irrelevant. Because we are working with the dojo.query selector, and it find nothing to action on in the 8.5.2 HTML code, it does nothing – and most importantly fails over gracefully!!
What is a social presence worth?
Sun, Sep 21st 2014 7:51p Mark Roden We had an interesting discussion internally at work about what exactly does our “Social Presence” do for us? I put time and thought to it and it turns out to be a question I can answer on many levels. I am still not entirely sure what the answer is.
What does being social mean?
Being social means sharing through ideas, code, concepts, dreams….anything really – but sharing it. Within the XPages community we have a multitude of people who are social for many different r [read] Keywords: domino
Going to MWLUG 2014? Buy Dave Leedy a beer
Sun, Aug 24th 2014 5:37p Mark Roden Yeah I know I have rattled on about this before but it holds as true today as it does any other day before.
Here is a list of reasons you should buy Dave Leedy a beer in case you were wondering…
1) really? You need a list?? Shame on you….
2) NotesIn9 has helped you – One of those videos by Dave, John, John, Brian, Chris, Graham, Jeremy, Mark, Mark, Paul, Peter, Steve, Tim, Chris, Paul, Josh, Dan, Niklas, Michael, Russ, Serdar, Sean, Mark, Brad, Frederick, Steve, Richard, Kathy, [read] Keywords: ibm
Chart Directives and Dynamic Binding – MWLUG 2014 preview
Wed, Aug 20th 2014 7:13p Mark Roden Although not directly related to the purpose of the presentation I am going to demonstrate how to use an Angular.js chart directive to bind to the application service data and create dynamic charting within the application.
Changing the Zip for 1 Marky not only updates the data displayed – but also because of the data bind – auto-magically updates the chart
While this in itself does not directly relate to the write once and run anywhere nature of the presentation – it d [read] Keywords: application
Accessing the original element when using Select2-focus
Sun, Aug 17th 2014 7:36p Mark Roden In the application we are currently working on I wanted to add an ajax call to a JSON service, but only for certain fields. Rather than go through the application and add the code to every element I used a delegated focus event for the field with an attribute of “help_fieldName”. The following HTML represents the code on the form:
The following jQuery code makes it work. The getHelp function shows/hides [read] Keywords: ajax
Angular in XPages #8 – Directives (did someone say plugins?)
Sun, Aug 10th 2014 8:08p Mark Roden In this article I will discuss Angular Directives and why they are near and dear to my heart
Directives in Angular are modular pieces of functionality which in some cases are very analogous to plugins in jQuery. According to the Angular documentation…
“At a high level, directives are markers on a DOM element (such as an attribute, element name, comment or CSS class) that tell AngularJS’s HTML compiler ($compile) to attach a specified behavior to that DOM element or [read] Keywords: xpages application
Working on my MWLUG2014 presentation
Wed, Aug 6th 2014 8:04p Mark Roden Just wanted to show a work in progress – screenshots of what I am working on for MWLUG2014. Part of the presentation is showing how to make your Angular applications portable.
My sample app will be the one I created as part of the Angular in XPages series.
I will walk through the code and demonstrate how I can take this stand alone application
and insert it into this bootstrap demo dashboard application
creating this fully functional component capability within the dashboard
With [read] Keywords: xpages application