358 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Practice what you preach – be fast and look sexy
Tue, Dec 16th 2014 333
BTE 102: The Future of Web Development Write Once, Run Everywhere with AngularJS and Domino
Tue, Dec 16th 2014 305
Angular in XPages: Formatting Domino Data Services Date values with app.filter
Sun, Dec 14th 2014 298
Looking forward to IBM ConnectED – AD201: IBM Domino Applications in Bluemix
Thu, Dec 11th 2014 278
Websockets in XPages: Improving on the automated partialRefresh interface
Tue, Dec 9th 2014 474
XPages and Bluemix: Pushing out data changes through automated partialRefresh
Sun, Dec 7th 2014 216
XPages and Bluemix: Sending a targeted Websockets message to specific XPages
Sun, Nov 30th 2014 1968
Top 10
XPages and Bluemix: Sending a targeted Websockets message to specific XPages
Sun, Nov 30th 2014 1968
Creating an XPages Websockets chat client using Bluemix
Sun, Nov 9th 2014 1189
Create your own Watson Q and A example with Bluemix, Webstorm and Jazz Hub
Sun, Oct 12th 2014 562
Integrating the Bluemix Watson Translation service into an XPages application
Sun, Oct 19th 2014 516
Websockets in XPages: Improving on the automated partialRefresh interface
Tue, Dec 9th 2014 474
Binding jQuery code to an XPages partialRefresh using DOM Mutation events
Wed, Oct 29th 2014 395
Arguably the most dangerous thing you could ever do in XPages – let other people use your eval() in their SSJS
Tue, Jun 18th 2013 377
One way to make a responsive XPages viewPanel
Tue, Nov 11th 2014 357
Practice what you preach – be fast and look sexy
Tue, Dec 16th 2014 333
XPages and Bluemix: How to create a Websockets message without being connected to the application
Sun, Nov 16th 2014 326


Mark Roden
 
Blog Title Xomino
Blog Description Domino with the new improved X
Blog URL http://www.xomino.com
RSS Feed http://xomino.com/feed
PlanetLotus Feed http://planetlotus.org/profiles/rss/mark-roden
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked Dec 16, 2014 5:19:59 PM EST. Realtime Update:
Twitter URLhttp://www.twitter.com/MarkyRoden
Landed Here Feb 29, 2012
Location Reston, Virginia, USA
Posts: # / 1st / Latest - -
Total Hits 18,665. myPL RSS Selections: 7


Recent Blog Posts
333


Practice what you preach – be fast and look sexy
Tue, Dec 16th 2014 5:19p   Mark Roden
As people who know me well may have heard once or twice, user experience is everything. When designing a custom web based application for a customer, there is always an unwritten requirement of “look sexy” and be fast. This week my team and I at PSC successfully rolled out a new global application to a customer and here are some examples of the feedback we received within the first day or so: I tried the new site only this morning and I have only one word: fantastic! It is very u [read] Keywords: domino application network server
305


BTE 102: The Future of Web Development Write Once, Run Everywhere with AngularJS and Domino
Tue, Dec 16th 2014 5:33a   Mark Roden
Mark Leusink and I are very excited to be presenting a session at ConnectED this coming January. This is a great opportunity to come and find out about something a little different from the normal XPages run of the mill development. Mark and I will provide an introduction to the concepts and structure behind Angular.js, and then demonstrate how to build a very simple yet useful application using Angular.js and a Domino data store. We are also going to blow some minds by showing the same ap [read] Keywords: collaboration connections domino ibm xpages application development javascript
298


Angular in XPages: Formatting Domino Data Services Date values with app.filter
Sun, Dec 14th 2014 7:39p   Mark Roden
In this article I will show how we can use the core angular date filter capabilities to format Date format, Domino data into an Angular.js based application Introduction In previous articles I have shown how to create a simple Angular.js application using a notes Domino Data Services feed from a notes database. If we want to add “date” information then we need a way to nicely format it. Using the Angular.js documentation page as reference I will show you how we can do this with Do [read] Keywords: domino notes xpages application database google xml
278


Looking forward to IBM ConnectED – AD201: IBM Domino Applications in Bluemix
Thu, Dec 11th 2014 8:04p   Mark Roden
The session preview tool for ConnectED 2015 has been announced. https://www-950.ibm.com/events/global/ibmced/agenda/preview.html Looking through it I found the following abstract – which unsurprisingly has me really excited !!! AD201: IBM Domino Applications in Bluemix This session will show how Bluemix enables you to deploy Domino applications to the cloud in a matter of minutes. We will demonstrate how to leverage Bluemix buildpacks like XPages and Node.js both to modernize Domino applic [read] Keywords: domino ibm xpages applications
474


Websockets in XPages: Improving on the automated partialRefresh interface
Tue, Dec 9th 2014 5:59p   Mark Roden
In this article I will further discuss how tom improve the user experience of an automated partial Refresh on an user’s XPage. Although these posts were originally about using Bluemix to host the node.js server I kinda feel that the focus has drifted onto websockets more than Bluemix. So in an attempt to make it easier to find I am going to use the Websockets in XPages title moniker for a few posts and then go back to Bluemix :) Introduction In the last article we looked at how to push [read] Keywords: xpages application css interface server wiki
216


XPages and Bluemix: Pushing out data changes through automated partialRefresh
Sun, Dec 7th 2014 7:32p   Mark Roden
In this article I will demonstrate how using targeted websockets messages we are able to refresh user data on pertinent screens within an application, and keep user’s data up to date. Introduction In previous articles I have discussed the creation of a nodejs websockets service within Bluemix and how we are able to send messages to specific web pages using the socket.io rooms capability. Both of those examples were proofs of concept and the messages were generated in the browser via fireb [read] Keywords: xpages ajax application applications css javascript server xml
1968


XPages and Bluemix: Sending a targeted Websockets message to specific XPages
Sun, Nov 30th 2014 6:51p   Mark Roden
In this article I will demonstrate how the use of socket.io “rooms” enables us to send message to users who are only accessing specific pages within our application, rather than blanket messages to all users. Introduction In the previous article I demonstrated how to use a message POST to the node.js server which could then be turned into a chat message and sent out to all users. While this is a nice example it only serves as such and does not have significant business value. In thi [read] Keywords: domino xpages ajax application applications development javascript server xml




230


Multiple Chrome Incognito browsers share the same data
Sun, Nov 23rd 2014 7:15p   Mark Roden
In a previous post I talked about how going porn-mode on your browser is great for a developer. What I didn’t realize until today is that incognito mode is not as unique as I want it to be. We use localStorage in one of the applications we are developing and I had issues when I was opening up multiple Chrome Incognito mode browsers, assuming they were unique….I wanted to compare separate instances in separate windows Mr. Genius (Toby) pointed out to me that localStorage is shared a [read] Keywords: applications
280


x$ – now a part of XPages Extension Library
Tue, Nov 18th 2014 9:16p   Mark Roden
I am very flattered to find out that not only is my x$ OpenNTF xSnippet being used more widely than I realized (over 600 downloads). It now being used in the latest release of the OpenNTF Extension library. If you look here – http://bootstrap4xpages.com/xsp/.ibmxspres/.extlib/responsive/xpages/js/xsp-mixin.js and search for it you will find //jQuery selector that works with XPages IDs //See - http://openntf.org/XSnippets.nsf/snippet.xsp?id=x-jquery-selector-for-xpages function x$(id [read] Keywords: xpages community openntf
321


Got non-XPages design elements? You really should use WebContent.
Mon, Nov 17th 2014 7:20p   Mark Roden
Recently I was able to help explain an issue Russ Maher was having with his application png files - http://xpagetips.blogspot.com/2014/11/got-png-you-may-get-problems.html. It got me thinking that as modern web developers (which is what XPage developers need to be), we should not be using Domino database elements for “web elements”. Back before R8 we all used the Database Files, Style sheets and Database Images as a way to reference files as part of the database. I now believe w [read] Keywords: domino R8 xpages application applications css database development server
326


XPages and Bluemix: How to create a Websockets message without being connected to the application
Sun, Nov 16th 2014 6:32p   Mark Roden
In this article I demonstrate how to create a Websocket message to be broadcast, from a website which is not connected to the Websocket directly. This will be achieved by using a http POST request of the message to a node.js server hosted on Bluemix and having that server then emit a Websocket message out to the application. Introduction In the previous article I demonstrated how to create an XPages chat client using a Bluemix hosted node.js server. I was able to do this by porting the node. [read] Keywords: ibm xpages ajax application javascript security server
357


One way to make a responsive XPages viewPanel
Tue, Nov 11th 2014 7:41p   Mark Roden
In this article I will demonstrate a method for hiding columns using CSS and making an XPages view Panel pseudo-responsive. What is Responsive Design? Responsive design is an approach to web page creation that makes use of flexible layouts, flexible images and cascading style sheet media queries. The goal of responsive design is to build web pages that detect the visitor’s screen size and orientation and change the layout accordingly. http://whatis.techtarget.com/definition/responsive-des [read] Keywords: xpages css mobile xml
1189


Creating an XPages Websockets chat client using Bluemix
Sun, Nov 9th 2014 7:53p   Mark Roden
In this article I will demonstrate how I was able to take an example Bluemix, node.js based, websocket chat program and re-purpose it to be used in XPages. Introduction Earlier this year I was very excited to find the Websockets in XPages project on OpenNTF published by Mark Ambler. The concept behind that project is to be able to create a notes document in a queue which is processed and then send out to all users. As much as I promised to help out and use the project, life and a business need [read] Keywords: domino ibm notes xpages ajax application applications css database dojo interface javascript mobile openntf server xml
186


Finding your localStorage values – Chrome Developer Tools
Thu, Nov 6th 2014 8:05p   Mark Roden
Just a quick tip – if you use localStorage and you need to find out what values you have in localStorage you can see them through developer tools easily. F12 to pull up developer tools Resources Local Storage is right there PS A similar feature will be release in the next Firefox (34) developer tools – https://developer.mozilla.org/en-US/docs/Tools/Storage_Inspector [read] Keywords: firefox
242


Because developers make mistakes – Webstorm Local History
Wed, Nov 5th 2014 10:24p   Mark Roden
Similar to Eclipse, Webstorm has a local history capability, allowing the developer who realizes they made an idiot mistake an hour ago, to go back to it and save their day. We’ve all been there and while committing to source control is a must for modern development, there are those times in between commits and then those when you are just too lazy to go through the repo looking for it. Local History Local History is always enabled in Webstorm – for the official help check here. U [read] Keywords: development eclipse
195


Conditional style loading in IE10+
Sun, Nov 2nd 2014 8:12p   Mark Roden
I learned this recently when trying to load a conditional stylesheet into an XPage. IE9 worked but IE11 failed on me and I couldn’t see why. It was only a small change so I ended up putting it in the main stylesheet as a media query. Apparently IE10 and above does not understand conditional HTML code like this http://msdn.microsoft.com/en-us/library/ie/hh801214(v=vs.85).aspx So to load a style conditionally in IE11 you can do it like this @media screen and (-ms-high-contrast: a [read] Keywords: css microsoft xml
296


Simple examples of how Google Developer Tools can aid Mobile Development
Thu, Oct 30th 2014 7:36p   Mark Roden
In this article I will show some simple examples of how Google Developer Tools can be used to help in mobile (responsive) development. Introduction Google Developer Tools (F12) within Chrome is one of those things which you *know* is way more powerful that you have ever cared to look at but this week I was introduced to a very cool new feature – thanks to @simonreid123. The ability to control the veiwport and size of the viewing window, as well as being able to throttle the speed of page [read] Keywords: development google iphone mobile network twitter
395


Binding jQuery code to an XPages partialRefresh using DOM Mutation events
Wed, Oct 29th 2014 7:38p   Mark Roden
Introduction In this article I will demonstrate how to bind to the event which triggers on the completion of an XPages partialRefresh. Using that binding we will then be able to action to contents of the newly added partialRefresh DOM elements. Background In multiple articles I have discussed the use of the onComplete event of a programmatically triggered partialRefresh to be able to re-apply a jQuery plugin’s bindings to an area of an XPage. This works very nicely and integrates with the [read] Keywords: domino xpages application css dojo server
256


Using jQuery .when() to trigger a screen update after select2 has loaded
Tue, Oct 28th 2014 5:58a   Mark Roden
We have an XPage with over 100 complex fields on it and we found that applying Select2 to it took a noticeable amount of time – tangible to the user. Users would see the original “SELECT” fields before the nicer select2 style was applied. So we determined to hide all the fields on the form until select2 was finished loading, then show them all select2’d. The problem was that would could not find an obviously way to do this. I was looking for a parameter within the s [read] Keywords: xpages css
516


Integrating the Bluemix Watson Translation service into an XPages application
Sun, Oct 19th 2014 7:07p   Mark Roden
In this article I will demonstrate how to integrate the Bluemix Watson Translation service into a functioning XPages application. Bluemix Watson Translation Service Following on from one from my previous posts on the subject I have been looking for a good workable example of using a Bluemix service within an XPages application. As I said before this is as much an exercise in me learning more about node.js and Bluemix as anything else – but I also love being able to share. Based on the [read] Keywords: domino ibm notes xpages ajax application development server xml
323


Oh duh, that is why Node Package Manager (npm) is so cool
Tue, Oct 14th 2014 9:07p   Mark Roden
I am in the process of playing with Bluemix and part of the reason or this is to learn more about node.js. It is really cool to learn something new and also to broaden the mind. But I digress – Node Package Manager (npm) makes using node.js so simple it is mind boggling… Without going into masses of detail on node.js (which I might at some point) here is the simple example of what I am trying to do and why npm is so cool. Node Package Manager (npm) allows you to install any node [read] Keywords: application applications interface
562


Create your own Watson Q and A example with Bluemix, Webstorm and Jazz Hub
Sun, Oct 12th 2014 10:19p   Mark Roden
Introduction In this article I will demonstrate how to get up and running with one of the Bluemix/Watson service examples. I will be using the example provided by IBM in their documentation as the basis for the article but the way in which I achieved the final goal was quite different from the way that they explained it in the example. This example will use: IBM Bluemix as my service provider The Watson Question and Answer service A Node.js service to host the website JetBrains Webstorm IDE [read] Keywords: domino ibm application css integration javascript password server
134


Getting into IBM Bluemix….this could be interesting
Wed, Oct 8th 2014 7:12p   Mark Roden
My interest in IBM Bluemix has grown since it was announced. I took part in the Beta, but frankly didn’t do very much because I really couldn’t figure out what it was or why I cared. Since then though IBM has announced that they are investigating putting Domino into Bluemix. Before I start down this path I have to say at this point that I have no idea what “Domino in Bluemix” even means. I have no idea what that will look like and while I would love to second guess a [read] Keywords: domino ibm xpages application applications development interface java mobile server
100


Opening an XPage in XPiNC and passing Query_String parameters
Tue, Sep 30th 2014 7:22p   Mark Roden
I was very pleasantly surprised to find this works – coincidentally – twice this week someone has asked this question – can I open an XPage in XPiNC directly? I thought the answer was no……and not for the first (and/or last) time I was wrong. The answer lies here – http://www-10.lotus.com/ldd/ddwiki.nsf/dx/Domino_Designer_URLs_for_XPages To prove it I created a plain XPage and added the firebugLite custom control The following XPiNC URL notes://copper/882579C [read] Keywords: ldd lotus notes
95


Closing soon: IBM Domino/Notes Community Survey
Mon, Sep 29th 2014 11:12a   Mark Roden
For the last two weeks PSC has been asking for input from the ICS community on what companies are planning on doing with their Domino Infrastructure. If you have not already done so, please take a couple of minutes to help. The results will be posted next week. http://bit.ly/PSCXPagesSurvey [read] Keywords: domino dominonotes ibm notes community
88


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 ibm xpages community development java office sharepoint
122


Running an XPages/Angular.js application on a Bluemix site
Wed, Sep 17th 2014 7:48p   Mark Roden
In this article I will show you how to run an XPages application based on Angular data within a Bluemix based website. Introduction For background reading on this article please review my series on Angular.js in XPages starting here. I will be using the application described within that article as the starting point for this article. A little background on Bluemix Bluemix is IBM’s new Platform as a Service (PaaS) system which provides the end to end cloud based hosting of application [read] Keywords: domino ibm xpages application applications bug community database interface server skype
101


MWLUG 2014 Slide Deck – Write once, run anywhere: Angular.js in XPages.
Tue, Sep 2nd 2014 1:05p   Mark Roden
Here is the slide deck for those interested – thank you to everyone who attended the presentation and I look forward to talking more on the subject in the future. http://www.slideshare.net/MarkRoden/angularjs-in-xpages [read] Keywords: xpages
71


Going to MWLUG 2014? You need to buy these guys a beer as well….
Sun, Aug 24th 2014 8:07p   Mark Roden
—->>>> Richard Moy [read] Keywords:
100


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 community
79


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
72


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: UK US Global First Name Last Name The following jQuery code makes it work. The getHelp function shows/hides [read] Keywords: ajax application xml
74


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 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 css
57


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 applications
96


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 lotusscript xpages application twitter
89


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 notes xpages database eclipse
69


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
78


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 javascript podcast
78


Speaking at MWLUG 2014: Write once, run anywhere – Angular.js in XPages
Tue, Jul 8th 2014 10:55a   Mark Roden
I am very fortunate and excited to announce that I have been accepted to speak at MWLUG 2014. MWLUG will always have a fond place in my heart because I had my first speaking session there back in 2012 and had such a fantastic time it pushed me to do more. I will speak speaking about Angular.js and the opportunity it avails us as Web Developers. We all know IBM Domino is arguably to world’s most secure and mature NoSQL database. So we will take a look at how we can use it like a NoSQL [read] Keywords: domino ibm xpages application applications database development server
74


Hi Chicago – what changed?
Wed, Jul 2nd 2014 7:16a   Mark Roden
Well it has been on the cards now for 6 months but we finally did it. My family and I moved from Virginia to Chicago and I have started working out of the PSC office in Schaumburg, IL. I was asked nearly 18 months ago if I would consider moving, but for mostly family reasons it took a year or so to organize and agree this was the right thing to do for my career and just as importantly for the family. Working at home has been wonderful for the past two years. But it was also a little limiting [read] Keywords: office
69


Angular.js in XPages #6 – A People Manager CRUD application
Sun, Jun 1st 2014 6:58p   Mark Roden
In this article I will bring together everything discussed in the first 5 articles and demonstrate how to create you first basic CRUD application using Angular.js and XPages. Previous articles Angular.js in XPages #5 – Routing Angular.js in XPages #4 – Using Domino Data Angular.js in XPages #3 – The first app Angular.js in XPages #2 – Setting up a Webstorm / Domino development environment Angular.js in XPages #1 – Using the right IDE for development Introduction In the last article w [read] Keywords: domino ibm ods R8 xpages application database development firefox iphone javascript properties server xml
59


Angular.js in XPages #5 – Routing
Sun, May 25th 2014 6:52p   Mark Roden
In this article I will show how angular using routing to create a bookmarkable URL string and how that fits together with additional controllers. This will start us on the path to creating our basic CRUD application. This article is based on the Routing and Multiple views tutorial  Routers Way back when the world was young (in internet terms a couple of years ago), when single page apps were all the rage, it was noticed that there was a significant drawback to only having one URL index.html; [read] Keywords: ibm xpages ajax application database xml
87


WebSockets comes to XPages!! Awesome – Awesome – Awesome
Tue, May 20th 2014 6:49p   Mark Roden
In this article I will introduce and discuss the OpenNTF WebSockets OSGI plugin by Mark Ambler. The websocket plugin posted to Mark Ambler is based on the http://java-websocket.org/ project. I realize I am not the first person to play with a websocket server on top of a domino database. I know of at least 4 other people who have at least done their own POC for this. But this is the first time I have got my hands on it :) I’m a little excited…… Playing websockets in XPages wit [read] Keywords: agent domino ibm notes rich text sametime xpages application community database integration java javascript network openntf server twitter xml
77


Angular.js in XPages #4 – Using Domino Data
Sun, May 18th 2014 6:36p   Mark Roden
In this article I will demonstrate how to use Angular.js to access Domino Data and display it in place of the hard coded data we used in the previous article. Introduction This article is based off the Angular developer tutorial on XHR and dependency injection . It is essential you go and read that article before continuing. It explains how dependency injection works, why it is used and about Angular services. Modifying the controller In our previous article we used a hard coded json string [read] Keywords: agent domino ibm ldd lotus lotusscript ods xpages ajax application database development java security server
51


Angular.js in XPages #3 – The first app
Sun, May 11th 2014 6:40p   Mark Roden
In this article I will recreate one of the simple Angularjs.org developer tutorials and relate it to how we would build an equivalent XPages application. Create the database As described in the previous article, set up a Domino database with an ODS. Then link your Webstorm to the new ODS structure. Download the Angular code from https://angularjs.org/ it will be an 8M download. Opening the zip file you will see a lot of “angular files”. These are “Dependency files” [read] Keywords: domino ods xpages application applications database development dojo google java server xml
51


Mastering XPages v2 – Review
Sat, May 10th 2014 8:55a   Mark Roden
In this article I will put forth my case as to why you need to buy Mastering XPages v2 – even if you already own v1 Introduction Maybe this book should be entitled – “So you think your an XPages expert? You are not a Master !” Clearly I am not a Master – and couldn’t possibly hope to be one and that is why *I* need this book….. The writing style Perhaps not the most obvious place to start but to me a significant one. There are many styles of writing for [read] Keywords: xpages application applications blogger community css development dojo java javascript mobile properties server
57


jQuery Promises – Taking action .when() multiple ajax calls are complete
Wed, May 7th 2014 6:52p   Mark Roden
jQuery.when() – “Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events” https://api.jquery.com/jQuery.when/ Wouldn’t it be nice to be able to know when two ajax calls are both complete – and then process the data returned from both, at the same time ? Callbacks Off the top of my head I would normally achieve this using a callback – and I have done so in some of my ExtJS in XPage [read] Keywords: xpages ajax
47


Angular.js in XPages #2 – Setting up a Webstorm / Domino development environment
Sun, May 4th 2014 6:29p   Mark Roden
In this article I will show how to set up Domino in a flexible manner to store our Angular applications, while still being able to use Webstorm as our development platform. Creating an Angular App in a Domino database All credit for this idea goes to my boss Andrew Barickman – he came up with the idea and it is genius :) Ultimately we want to create an application which resides within the security model of a Domino database with as little, if any, effort as possible. In a large part [read] Keywords: domino xpages application applications database development security server
58


Angular.js in XPages #1 – Using the right IDE for development
Sun, Apr 27th 2014 7:05p   Mark Roden
In this article we will look at Webstorm (a Javascript IDE) and discuss how that relates to the traditional XPages development environment. Tools Better Tools make better applications (or something like that). It’s true to an extent, you can’t help a poor developer make a great application but with better tools you can make a good developer more productive, which ultimately makes for a better application (probably). In the XPages development world the tooling we have is all based [read] Keywords: domino notes xpages application applications css database development dojo eclipse google integration java javascript server xml
48


Angular.js in XPages series
Wed, Apr 23rd 2014 7:37p   Mark Roden
Introduction Angular.js is an Open Source (MIT) JavaScript framework created and maintained by Google. It is designed to help web developers create quick and functional applications, while reducing the overhead of data binding and state management. If you want to find out more about Angular then look at some of the myriad of great resources around the web. Angular Developer Tutorial New To Angular? Start Learning Here https://www.ng-book.com/ Angular.js the awesome parts (Video) Front end / [read] Keywords: domino xpages application applications community development google java javascript
91


Adding custom HTTP headers to Domino R9 using IBM HTTP Server (IHS)
Sun, Apr 20th 2014 6:41p   Mark Roden
IBM HTTP Server (IHS) was added to R9 so that we could have TLS support for HTTPS encryption. For more on how to do that see Russ Maher’s post(s) on the subject. Under the covers IHS is really a modified version of Apache Web server and comes with some of the Apache options. It gives us the ability to add custom headers to all pages served up by the server. You can turn IHS on by adding the following to your notes.ini – this does require a full reboot HTTPIHSEnabled=1 When the [read] Keywords: domino ibm notes xpages server
62


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. yours faithfully, Your very good friend Marky Roden CC: everyone who has seen this video http://notesin9.com/index.php/2014/03/31/notesin9-141-java-vs-javascript-throwdown/ [read] Keywords: java javascript
54


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 xpages application integration javascript twitter
34


When the community comes together we get the right answer
Sun, Mar 30th 2014 12:41p   Mark Roden
Last week I posted why JavaScript is more critical a skill to learn than Java. There was an outpouring of comments, discussion and responses unlike any I have seen in a while. 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 xpages blogging community java javascript
69


Why learning JavaScript is more critical to XPage developers than Java
Wed, Mar 26th 2014 5:14p   Mark Roden
I have tried to write this article multiple times over the last 2 years, when I read it back to myself it always sounds like I am bitching. Honestly, I usually am and that is why it has not been published. This is a final attempt at a constructive argument against the insistence on many blogs that everyone should learn Java. Many people think I hate Java; I really don’t. I can program Java (I am no expert admittedly) and have done so on multiple occasions. My concerns are always raised whe [read] Keywords: domino ibm lotus notes notes client R4 xpages ajax application applications community css database development dojo google interface java javascript network server websphere xml
43


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. The problem I have a Domino Data Service running on the server and I want to update a document This is the imaginary URL https://xomino.com/issues.nsf/api/data/documents/unid/FDCA9C28A793D3F785257C4D0068BBCA returning the imaginary data just fine { "@href": [read] Keywords: domino ibm ajax application java server
54


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. Example I want to [read] Keywords: css interface xml
46


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 { 'items': [ { 'name': 'AK', 'dc': 23 } ] } and when I fed it through my AJAX code it failed. $.ajax({ dataType: 'json', url: "http://copper.xomino.com/xomino/ExtjsBigData.nsf/xState.xsp?query="+query //url: 'http://coppe [read] Keywords: ajax google javascript
46


jQuery in XPages #20 – NProgress – YouTube-like slim progress bar
Wed, Mar 12th 2014 7:02p   Mark Roden
In this article I will describe how to implement and use the jQuery NProgress nano scrollbar plugin Demonstration The XPages integration of NProgress is demonstrated here Download The demonstration database can be downloaded from the link above or from here NProgress Introduction Since Youtube.com added their nano scroll bar at the top of the page there have been a flurry of different jQuery plugins which mimic the nano progress bar at the top of the screen. The silly thing is that the progre [read] Keywords: xpages ajax application applications css database dojo integration javascript openntf server xml
41


Manually Setting Domino Database Properties through DDE
Sun, Mar 9th 2014 6:27p   Mark Roden
This gets filed under the “I am writing this because I know I am going to forget it, and will need it again” We had a problem in a database whereby we were checking to see if document locking was enabled and if not then it gets programmatically enabled. This reference document from IBM tells you how it can be done in LotusScript. This was done to the database which was deployed around the world. Is there a way to programmatically change Database Properties for a database? 'Set th [read] Keywords: domino dxl ibm lotusscript xpages database eclipse properties
52


Why using XPages Partial Refresh is sometimes easy for developers and bad for users
Tue, Mar 4th 2014 6:14p   Mark Roden
In this article I will discuss the potential issues of using using a Partial Refresh in XPages and how developer addiction and dependency on it is bad for users. Introduction This is the hardest blog post I have written – and I have written and destroyed it about 5 times before this one. Too many times I have come across what I consider to be poor design choices. I am always motivated to write when I am annoyed and rant and whine about how the over use of Partial Refresh is easy for XPag [read] Keywords: domino ibm notes xpages ajax application development dojo google interface java javascript properties server
48


Prototypal inheritance of SSJS across the whole server in XPages
Sun, Mar 2nd 2014 7:17p   Mark Roden
A friend asked me the other day how would I determine where a string lay within a JavaScript Array. I of course answered – “it depends! If you are using newer IE or a non-crappy implementation of the JavaScript engine then use Array.indexOf – it has been around for years…..” var arr = ["simon", "marky", "david"] return arr.indexOf("marky") // 1.0 Well – turns out the friend was asking about SSJS in XPages and it turns out that apparently XPages ha [read] Keywords: xpages application applications database javascript server xml
39


Sorting an unsorted XPages document collection based on a date field
Tue, Feb 25th 2014 6:38p   Mark Roden
In one of my recent applications I had a requirement to return the top 500 search results, but sort them by a specific date field on the document, in descending order. Due to the size of the database doing a view.FTSearchSorted was not feasible as it was too slow. So I searched around and found some code for sorting a JavaScript Array of objects. Creating the array Search the database and push the search results into a JavaScript array var sSearch = "[FIELD Subject contains smith]" var dc:N [read] Keywords: xpages applications database javascript
63


Mustache.js – How to create a client side Repeat control in XPages
Sun, Feb 23rd 2014 6:42p   Mark Roden
Whether or not you realize it, everyone who uses a repeat control in XPages development is actually using a server-side template. Let me demonstrate the concept…. We create an object through many different interactions with the XPages back end APIs and Server-Side JavaScript interactions. The object can be many different constructs. The XPages repeat control then iterates through each member within the object and repeats the same thing over and over based on the repeat control’s st [read] Keywords: xpages ajax applications css development dojo javascript server xml
53


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 The application has the property checked to use runtime optimized JavaScript and CSS. This combines all the dojo css files nicely into one link. Using a jQuery selector I can get a handle on that as follows $( [read] Keywords: xpages application css dojo javascript mobile server
50


Troubleshooting JavaScript library errors in XPages
Sun, Feb 16th 2014 6:47p   Mark Roden
Coincidentally on three separate occasion, with three different customers/developers using three different libraries I encountered the same issue last week. I am going illustrate the process I go through when troubleshooting JavaScript libraries and use this one issue as the example. The same question from each of them: Why is my JavaScript library not working in my XPage? 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 ibm xpages bug database dojo javascript server
52


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 xpages development
53


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 ods R4 R8 xpages application database server
46


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 notes show and tell xpages dojo taking notes
75


IBM Worklight Connect 14 supporting Information
Sat, Feb 1st 2014 8:06p   Mark Roden
Thank you to all who attended the session at IBM Connect this week. If you want to see the slides for the presentation you can find them here http://www.slideshare.net/MarkRoden/ibm-worklight-going-from-xpages-mobile-to-native-mobile-applications The link to download and install Worklight http://www.ibm.com/developerworks/mobile/worklight/download/install.html Install Juno 4.2.2 (SR2) (Eclipse IDE for Java Developers) In Eclipse, click on HelpEclipse Marketplace and search for Worklight Once [read] Keywords: ibm xpages applications eclipse java mobile
47


Ext JS Connect 14
Tue, Jan 28th 2014 9:09p   Mark Roden
This post is in support of the presentation I gave at IBM Connect 2014 – 28th January 2014 To find the demonstrations: http://demo.xomino.com/xomino/extjs.nsf To find the Ext JS 4.2 examples http://docs.sencha.com/extjs/4.2.0/extjs-build/examples/ To find the slide presentation from Connect http://www.slideshare.net/MarkRoden/presentations I hope everyone that attended enjoyed the presentation – please feel free to ask questions and / or hit me up on twitter @MarkyRoden [read] Keywords: ibm twitter
62


Going porn-mode on your browser
Fri, Jan 24th 2014 7:26a   Mark Roden
Simple tip to remember when testing your website changes – porn mode Privacy Well ok “porn mode” is kinda funny and I am sure has nefarious uses – but there is actually a really good one from a developer’s perspective. Incognito (Chrome) or Private (Netscape) or InPrivate(IE) mode forces the browser to not use the cache and/or history and stores nothing about your browsing session (hence porn-mode for the cynical) But what it does for me as a developer is that it fo [read] Keywords:
39


IBM Connect 14 – My sessions: right now and the future
Sun, Jan 19th 2014 7:12p   Mark Roden
Last year was a tremendous experience for me speaking at IBM Connect 2013 and I was very flattered and honored to see so many people come out and see what I had to say. This year will be even better. I know there are a lot of clashes going on with the XPages talks this year but here is why I think you should come and see mine. I will show you how to effectively modernize existing notes views into XPages applications and demonstrate a mobile technology which any XPage mobile developer can easily [read] Keywords: ibm notes xpages applications java javascript mobile
54


Polyfill for IE8 and the XPages REST service date format
Thu, Jan 16th 2014 7:30p   Mark Roden
In my previous post I talked about the date format coming from an XPages REST service – the ISO date format. Well it turns out that IE8 and below do not recognize this date format and will be very upset at you if you try and create a new Date() from it. (It actually return NaN because Dates are really numbers ) Example REST data { "@entryid":"21-6CE8F65D7CB43A5185257C06000B8F00", "StartDate":"2013-07-01T01:19:19Z", "Form":"Position", "Title":"Worker" } new Da [read] Keywords: xpages application google javascript server wiki
49


Dealing with Dates, and localization in XPages
Tue, Jan 14th 2014 5:56p   Mark Roden
In this article I will discuss and demonstrate how to deal with dates in a localized application. We will look at the dojo.locale() library and  discuss how localization affects dates in XPages. Background Dates in JavaScript – nasty horrible things, to be avoided at all costs. So much so that there are a number of date handling specific libraries including moment.js and date.js. In addition to these two Dojo has it’s own built in date parsing library and that can also be utilized [read] Keywords: ibm ldd lotus xpages application dojo javascript properties server
40


One way to validate that two time ranges don’t overlap in JavaScript
Thu, Jan 9th 2014 6:02p   Mark Roden
Today’s programming challenge was to validate that two time ranges in the same day were not overlapping. I had written over 50 lines of JavaScript with if this is before that then if this if after that other one then this – OR – the same in reverse and so on and so on. It was a lot of what seemed unnecessary code – un-elegant was how it felt (if that is a word). So in the spirit of approaching a problem differently (no bullshit box terms here) I came up with the following [read] Keywords: javascript
45


Remove all classes using dojo and jQuery
Tue, Jan 7th 2014 6:59a   Mark Roden
One of last week’s challenges on the side was to take this Connections wiki page and make it readable on a small screen – if you drag the right hand side over to the left you will see that the right navigation menu overlays the non-wrapping text. The main section is forced to a 980px width ! http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Best_Practices__Troubleshooting_Lotus_Connections_3.0#Traces A very brute force approach to this is to remove all the classes from all the elements on th [read] Keywords: connections ibm ldd lotus bookmarklet dojo javascript wiki
40


2013 – Thank you for the best year ever
Mon, Jan 6th 2014 7:11a   Mark Roden
So in theory every year should be the best year ever right? Theory being that you should set yourself reasonable goals to better yourself personally and professionally. Then, if at the end of the year you have achieved those goals, you are better than you ever were before and therefore it will have been the best year ever, right? Doesn’t always work out like that but sometimes it does. So why was 2013 the best year ever (professionally) for me? Well I…… Spoke at Connect2013 (t [read] Keywords: collaboration ibm notes xpages community openntf podcast taking notes
57


Load the browserstack.com local tunnel with a .bat file
Fri, Dec 20th 2013 6:00a   Mark Roden
We are using browserstack.com for our testing on the current project – real IE8 is very different to IE8+ in IE8 mode Anyway I am lazy (efficient) so I created a batch file to run and create the local tunnel. Take the following and add it to a .bat file (windows only of course) and run it when you are logged into the browser stack – this may change based on your JRE install path cd C:Program Files (x86)Javajre7bin java -jar BrowserStackTunnel.jar *YOURKEYHERE* your.localserver.co [read] Keywords: xpages java
47


SSJS JSON parsing part deux
Thu, Dec 19th 2013 8:18a   Mark Roden
Yesterday’s blog post about adding json2.js created a discussion on it’s use and Johann pointed out that there were already JSON parsing functions baked into XPages SSJS. Phil Riand added them back in 8.5.1 and it has actually been mentioned a number of times on various Blogs. So apologies to all for me not knowing about it. I guess I never bothered to look as I knew how to do it with the json2.js Julian Buss added a wiki post about it years ago - http://xpageswiki.com/web/youatn [read] Keywords: xpages database wiki
81


Safe JSON parsing in XPages SSJS
Wed, Dec 18th 2013 12:32p   Mark Roden
JSON is now ubiquitous in the world of JavaScript and the origins can be found a http://www.json.org/. Douglas Crockford was very concerned about using eval() to convert strings to objects and so he created  json2.js which can be found here https://github.com/douglascrockford/JSON-js/blob/master/json2.js. If you look at the code there is a huge RegEx in the middle of it which purposefully ensures that there is no dangerous code which the eval statement is run on. You should read the comments [read] Keywords: ibm lotus notes xpages application applications javascript xml
39


1291: EXTJS in XPages: Modernizing IBM Notes Views Without Sacrificing Functionality
Tue, Dec 10th 2013 9:29p   Mark Roden
I am very happy to announce that I have been accepted to speak a second time at IBM Connect this year !! In this session I am going to quickly review some of the previously published EXTJS related items on the blog (apparently not everyone reads it) but more importantly I want to discuss user experience. If nothing else, I have learned over the last 18 months that not only is EXTJS very cool in loading thousands of notes documents into  usable and functional web based grids, it also demands a s [read] Keywords: ibm notes xpages application applications integration interface
59


Discovering Page Audits in Chrome Dev tools – apparently I am bloated !
Tue, Dec 3rd 2013 2:04p   Mark Roden
I came across a “tooling” presentation by Addy Osmani which is mostly not relevant to XPages development but in there I saw a nugget about Page auditing within Chrome Dev tools. I am staggered about what I found about the site I am working on site and apparently I need to learn more, quickly………. Bring up the site and open Chrome dev tools And then after running it – WOW…apparently I could be doing a better job in here….. I have no idea if I ca [read] Keywords: xpages application css development dojo javascript properties
49


Louis Richardson – Leverage Social Collaboration to Drive Business Results – Dec 9th DCLUG
Wed, Nov 27th 2013 7:36a   Mark Roden
DCLUG is very excited to co-host Louis Richardson who will be in Washington DC December 9th to speak about Social collaboration I saw Louis speak at MWLUG 2012 and I can attest to what  great engaging speaker he is. He is able to distill a concept into a presentation and not make it sound like a sales pitch. The capability speaks for itself, what you need to understand is why you need to use the product, not primarily what the product will do for you. For more on Louis, check out his site - ht [read] Keywords: collaboration ibm lotus mobile
54


Accepted to speak at Connect 2014 – With John Jardin
Mon, Nov 18th 2013 6:00a   Mark Roden
Words cannot describe how excited I am to be speaking at Connect 2014 with my very good friend John Jardin. https://www-304.ibm.com/connections/blogs/socialbusiness/entry/connect_2014_sessions%3A_this_list_is_getting_longer%21?lang=en_us “IBM Worklight: Going From XPages Mobile to Native Mobile Applications, John Jardin, Ukuvuma Solutions; Mark Roden, PSC Group LLC” We are very excited to be talking about IBM Workplace and how any XPages developer currently creating mobile XPages alr [read] Keywords: connections ibm xpages applications community mobile
49


Things you learn about localization in XPages – french script tags
Fri, Nov 15th 2013 7:21a   Mark Roden
In the current project I am working on we are using localization to allow translation into other languages. For more on localization check out this wiki entry Much to my horror I found out yesterday that tags are translated – as if it was just text on the screen. alert('hi Marky') when localization is turned on for French looks like this [fr| alert('hi Marky')] and funnily enough that causes problems in your code. The reason it does this is because by default locali [read] Keywords: ldd lotus xpages database properties wiki xml
41


Nov 21st – DCLUG – Managing large data sets in an XPages application
Tue, Nov 12th 2013 8:25a   Mark Roden
Next week I have the privilege of speaking at DCLUG again. This time discussing EXTJS and how to manage large data sets in an XPages application. For more information and to sign up for the meeting please go here: http://www.meetup.com/DC-Lotus-Professionals/events/150317872/ Date November 21st Time 11:00-11:30 Networking/Lunch 11:30-12:30 Presentation 12:30-13:00 Networking/Close Abstract Moving notes client views to the web has always been a challenge. Out of the box XPages provides us the vi [read] Keywords: ibm lotus notes notes client xpages application dojo integration networking
53


Future-proofing yourself.
Sun, Oct 27th 2013 6:15p   Mark Roden
The other day I got an interesting comment on an old blog post of mine and I felt like it really deserved a separate post in response rather than being lost in the comments. This is a personal assessment of my skills and the need to future proof myself – it is not a sermon – just personal musings which will hopefully inspire. The Comment I have copied the comment here for context. The past several months, I’ve been working on many Notes client applications, but now we’re [read] Keywords: ibm notes notes client xpages ajax application applications community development dojo interface java javascript microsoft server
82


XPages – Saving data sources bound to a panel – a lesson learned
Wed, Oct 9th 2013 6:20p   Mark Roden
In this article I will highlight/document an issue which I came across today – using a Save Button and a Document Data source bound to a panel. so this is what I learned today When you have an xpages document data source bound to a panel and a save button to “saveDocument” The button must be within the panel – otherwise for absolutely no apparent reason it just does not work. I checked the form – yes data was being sub [read] Keywords: xpages widgets xml
55


DCLUG – October 24th – Toolfest Double Header – Teamstudio and Ytria
Sun, Oct 6th 2013 8:12p   Mark Roden
I am very pleased to announce the next  DC Lotus User Group on October 24th will be a double header with Ben Menesi and Jon Andrews from Ytria and Teamstudio respectively Both of these companies have played an huge part in providing the tools that administrators and developers use on a daily basis worldwide. I know I have sung the praises of Teamstudio products before and have been instrumental in bringing them to the new companies I work for.  For the first time ever this will be a morn [read] Keywords: acl agent domino ibm lotus notes notes client xpages applications community integration interface laptop mobile
42


Thanks Bruce
Wed, Oct 2nd 2013 6:09a   Mark Roden
I am a late comer to the OpenNTF community as I have explained before this was more due to the circumstances of my job in the mid 2000s shifting me away from development but I restarted development in 2011 and have not looked back. So I have no known Bruce personally for much more than 18 months but I have know “of” him for much longer (obviously). Unknowingly Bruce was the second person (other than my friends) to ever follow me on twitter (more here) and even by that simple act that [read] Keywords: lotus community development openntf twitter
31


jQuery event delegation
Mon, Sep 23rd 2013 8:24p   Mark Roden
So it turns out that I may have blogged a moment too soon over the weekend…. While the following code works $('.modal').on('shown.bs.modal', function () { $('FORM') .append($('.modal-backdrop, .modal-scrollable')); }) It only works the FIRST time – and if you had tested your code properly Mark you would have found this out to be the case. Too eager to blog weren’t we Marky……*pouts* So anyway like all mistakes a good excuse for more learning  [read] Keywords: xpages blogging
50


Making XPages partialRefresh work in a bootstrap 3 dialog box.
Sun, Sep 22nd 2013 9:28p   Mark Roden
In this article I will improve on the solution I posted last week to my form submittal problem and actually provide a more elegant and robust solution. The problem Dave Leedy I mean to say that Dave Leedy posed a problem to me last Friday which gave me pause for thought. Obviously he had come across this issue before. “Marky have you tried to do a partialRefresh inside of the bootstrap modal dialog?”. I had not and I knew that I had plans to….. Then it struck me – of cou [read] Keywords: xpages application javascript server
57


Why does hitting submit from within a bootstrap dialog not work?
Fri, Sep 20th 2013 5:52a   Mark Roden
In this article I will show why submitting an XPage from within a Bootstrap dialog does not work correctly and also discuss some options for working around the issue. Introduction   The bootstrap modal rocks (In Marky’s opinion) and it can be enhanced with the Bootstrap-Modal extension which gives greater control and more options. But I came across an issue recently whereby I could not “Submit” from within a dialog. Well ok I could submit but none of the fields seemed to be u [read] Keywords: css javascript server
40


Inserting a new Row into a viewPanel (any table) using jQuery
Mon, Sep 9th 2013 6:22a   Mark Roden
This is a short and sweet blog post showing how to programmatically add a new line into a table using jQuery. Introduction I am playing around with some column ordering and I want to add some dummy data to a table – rather than go to the trouble of doing it on the back end I decided to do it using jQuery so that i can easily change the values using Firebug The .before() function The .before() function inserts a set of HTML “before” the selected DOM element. It has a companion . [read] Keywords:
54


typeof() – lifesaving debugger tool
Mon, Sep 2nd 2013 5:54p   Mark Roden
OK so maybe life saving is a little stretch but in this article I will illustrate an occurrence of where using type of() helped solve a real world problem. The Problem I wanted to display a data source within a repeat control – relatively simple situation I guess but my brain was asleep that particular morning. I wanted to display the repeat control value within a computed text control……seemed simple Unfortunately this created an error 500 – one of [read] Keywords: xpages java javascript server
45


Decoupling your CSS from your JavaScript, a “well no duh” moment
Mon, Aug 26th 2013 6:39p   Mark Roden
This weekend I had one of those “oh DUH” moments which I have been struggling with for quite some time. How can I better structure my jQuery selectors and make the code more maintainable? I came across this excellent article – Decoupling your HTML CSS and JavaScript and it all came into focus. The problem Using JavaScript selectors (dojo or jQuery) in XPages can be a problem because of the id naming scheme used by the JSP generator “id=”view:_id1:_id2:link5” [read] Keywords: xpages css dojo eclipse javascript xml
49


EXTJS in XPages #17 – Manually Updating row data via REST
Sun, Aug 25th 2013 7:24p   Mark Roden
In this article I will demonstrate how we can use the same REST service we used to populate our grid, to accept an update to one of the row values. EXTJS in XPages series Here are links to all of the previous articles in this series EXTJS in XPages #16 – Right Click Context Menus EXTJS in XPages #15 – Multi-select of documents EXTJS in XPages #14 – Grid editing and saving data via REST CRUD EXTJS in XPages #13: Totaling your columns with a groupingSummary EXTJS in XPages #12 – Counting [read] Keywords: xpages ajax application database server widget
30


Why “we need to reduce clicks” is sometimes a fallacy.
Mon, Aug 19th 2013 6:43p   Mark Roden
In this article i will discuss why I believe the phrase “we need to reduce clicks” is a fallacy (at times). Introduction The plain statement of “we need to reduce clicks” really does not tell the whole truth about an application when it comes to modernization. I believe the true statement is that “We need to reduce clicks that annoy us“. There is a very clear distinction in my mind and I will try and explain. It is all about design and the user experience. Whe [read] Keywords: application
62


EXTJS in XPages #16 – Right Click Context Menus
Sun, Aug 18th 2013 5:39p   Mark Roden
In this article I will discuss and demonstrate how to create a context menu so that when a user right clicks on  grid they are able to take action. EXTJS in XPages series Here are links to all of the previous articles in this series EXTJS in XPages #15 – Multi-select of documents EXTJS in XPages #14 – Grid editing and saving data via REST CRUD EXTJS in XPages #13: Totaling your columns with a groupingSummary EXTJS in XPages #12 – Counting categories with Grouped columns EXTJS in XPages [read] Keywords: xpages database widget




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition