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!!
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
Angular.js in XPages #7 – Writing better code using Services
Sun, Aug 3rd 2014 6:01p Mark Roden In this article I will discuss a better programming practice for Angular.js than was demonstrated in the previous articles within this series. I have mentioned before, part of the purpose this blog is very much a “learning in progress” for me. Without going through the previous articles I would not have been able to get to this point and write “better code”. Hopefully with that understanding, those of you who have been along for the ride will appreciate this and grow w [read] Keywords: agent
Taking back productivity in Domino Designer (a NotesIn9 production)
Tue, Jul 29th 2014 3:27p Mark Roden Yeah it has been a while (over 18 months) since the last time I did a NotesIn9 video but it finally happened again.
NotesIn9 149: Database Resources and Design Definition
Doesn’t sound very exciting does it? Dave needs to work on his attention grabbing heading show names. I would have called it something more like this – but then who am I to complain – it is not my show after all ;)
NotesIn9 149: Taking back productivity in Domino Designer
This video revolves around som [read] Keywords: domino
The consummate Champion
Thu, Jul 24th 2014 8:42p Mark Roden As Russ Maher said today in Hey Who got the Handsome Champion it is an honor and a privilege to not only be recognized by IBM as a Champion for ICS 2014, but you also get some very cool stuff. Thanks to Amanda Bauman and Oliver Heinz for organizing “the champions” and all the gear. I just wonder what I am going to do with all of it :)
Seriously though, I am very humbled to be an IBM Champion !
Thank you to everyone who nominated me and made this possible :) [read] Keywords: ibm
Web Components – Entering the ShadowDOM….
Wed, Jul 9th 2014 9:18p Mark Roden Web Components – the future
You should first ground yourself on Web Components and read this article on Web Components and concepts, ShadowDOM, imports, templates, custom elements by Todd Motto.
Then listen to this Podcast (thanks to Steve for pointing it out) - Web Components with Peter Gasston
Once you have read/listened you will have some idea and concept about Web Components and how they are the future…..
But what I wanted to show briefly was how to enable the ShadowDOM in C [read] Keywords: agent