Categories
Mobile Notes In 9 XPages

NotesIn9 108: XPages Mobile Controls Problem and Solution

This is a rush show.  I didn’t mean to make this show at this time, but it looks like I solved a problem that has been frustrating me for a while so I had to take a quick break and document it and get this out.

The problem is with trying to do a refresh in the onChange event of an edit control in the confines of XPages Mobile Controls.  I’ve done this before in a production app, but recently I tried making a new version of that app, starting from scratch, and I couldn’t get the same behavior.

Really really frustrating stuff.

Hopefully, if you’re working with Mobile controls this will help you.

Categories
Notes In 9 Podcast XPages

NotesIn9 107: Launch Attachments from a View Control

In this show Steve Zavocki, a new contributor and a CUSTOMER, comes on the show to give a demo on using the view controller to launch attachments.

He blogs at http://notesspeak.blogspot.com.  Don’t miss his about page with details how he got started with XPages.  Great story there.

In this show he and I mention Stephan Wissel’s blog post on working with Attachments.  That link is here:

http://www.wissel.net/blog/d6plinks/SHWL-86QKNM

Thanks!

UPDATE:  Don’t miss Steve’s blog post about this technique.

http://notesspeak.blogspot.com/2013/02/how-to-launch-attachment-from-view.html

Categories
Java Notes In 9 Podcast XPages

NotesIn9 106: Intro to Java Controller Classes

In this show Jesse Gallagher, a great new contribitor, comes on to give us an over view of using Java Controller Classes to help seperate your business logic from your XPage.  By moving your logic outside of the XPage you get much cleaner XML source for your XPage.

If you’re new to the thought of using Java inside XPages, I’d suggest don’t focus on the actual syntax that Jesse’s using here but the overall concepts.  This is very similar to using Lotusscript custom classes to hold your business logic so you have cleaner agents and view buttons.

Hope you like it.

Categories
Notes In 9 Podcast XPages

NotesIn9 105: Introduction to SSJS Debugger

In this show an Fredrik Norling, and IBM Champion and awesome develolper, comes on NotesIn9 for the very FIRST time!

Frederik, is going to give us a really good and indepth demo on using the new SSJS debugger of Designer 9.0.  This isn’t just a getting started, but an indepth guide on using it.  Not to be missed!

I also announce my next “event” in the show.  It’s called “XPages Mobile Madness”. Basically I want to get a bunch of mobile related shows on.  I’ll talk about this more in a seperate blog post.

Thanks for watching!

Dave

Categories
Driveto99 Notes In 9 Podcast XPages

NotesIn9 88: Using Google Maps with XPages

In this episode we welcome another a brand new contributor! I’m excited to get Martin Meijer on the show to talk about the XPages Google Maps custom control that he created for OpenNTF.org. He’ll show what you can do with it and how to use it.

Categories
XPages

My XPages Brain Freeze

Well I screwed up yesterday… spent WAY too long on something in XPages because I still suffer from “Classic Notes Muscle Memory”. So I just thought I’d mention this in case someone else ever does this maybe they’re catch it quicker.

In XPages you can separate your code application from your data storage databases very nicely. This is something you really can’t do in notes client development and I find myself seperating logic and date quite often. In this example I have a NSF file with code needed for an iPad Mobile web application. But all the data is in a different database. Separating your code from your data is really seamless and nice to work with. This isn’t a big deal at all, until you get so into the coding that you actually forget where your data is.

I spent way to long yesterday on a piece of code in Java that was supposed to save a document. It was right, I knew it was right but it just didn’t work. Probably every XPager knows that feeling.

Anyway it turns out that it worked fine, but I was simply saving it to the CURRENT database rather then the data database that I needed to. OPPS!! I just completely forgot about the separation.

So the moral of the story is always know where you’re data is supposed to go. 🙂

Categories
XPages

XPages URL CheatSheet – Draft Version

This really isn’t ready, and I didn’t intend to publish it today, because it’s UGLY, but it looks like someone on the XPages Forum could use it so what the heck.

I’ve been working on an Online “CheatSheet” to help with working with URL’s in XPages. Basically how do you get the value you might need or are looking for.

Again this is rough, and I’m FAR from an expert at this stuff so I’ll just ask if people have particular code snippets for this kinda thing, please let me know and I’ll update this page.

here it is:

XPages URL CheatSheet – (Early Draft)

Categories
Community Podcast XPages

NotesIn9: 068 XPages Media Library Application

In this show I go over my new OpenNTF contribution – The XPages Media Library. This demo is basically a how to use and setup the application.

Categories
Community XPages

XPages.TV upgraded and OpenNTF Contribution

This morning I upgraded the XPages.TV site to a new codebase that is more of an actual application then the single XPage the old site was.

Last night I made my first ever contribution to OpenNTF by contributing this code. I call it XPages Media Library. This is a full application I’ve been working on for a while. The purpose of the app is to be able to present Videos and Audio Media to users and make it easy to find and consume content. I’ve wanted to make improvements for a LONG time.

While my focus is on XPages.TV, it’s designed to be able to host multiple “shows/categories” with multiple authors and contributors. So for example this could be used for an internal corporate training library where media files are separated by application or even department.

For the heart of this app I’ve used the Projekktor player as it seems to me to be the best video project out there. And I’m pretty sure I’ve seen all of them the last 18 months. 🙂 Projekktor carries a pretty nice GPL 3 license so that’s what the project is as I couldn’t use Apache.

Projekktor is an HTML5 based player with a flash fall back. A key to me is that the videos should play perfectly on most mobile devices, especially iOS devices.

I’ve not included any documentation just yet, I’ll be doing a NotesIn9 on using this very shortly.

There are still a couple of bugs I am working out, especially with the gravatars, and it’s FAR from feature complete so I hope to have updates coming somewhat regularly.

XPages.TV contains a “Feedback” button where you can leave a message for me if you have any problems with the site or videos playing. Please let me know if you have any problems.

Thanks!

Categories
Learning XPages Notes In 9 Podcast XPages

NotesIn9: 56 XPages: Beyond the Introduction

This is actually a “repeat” I guess you would say. I’m posting this again because I realized that I never put this show on it’s own post. It was originally posted here which is kind of buried in a post about about an update to the cheatsheet. So I thought I’d give this a proper post for search engines and Internet tools.

This show is actually a part 2 of my own “XPages Jumpstart”. The first being “Introduction to XPages

This 50ish minute show is very Demo heavy and discusses custom controls, UI Frameworks, Server Side JavaScript (SSJS), Dojo, Repeat Controls, Rendering, and even an early attempt at creating a “Custom Class” with SSJS. Many of the demos are also the basis for xpagescheatsheet.com and the demo app is downloadable from there as well.

Anyway – in case anyone missed this, here it is.