Categories
Notes In 9 Podcast

NotesIn9: 063 Creating an In View Edit Custom Control

In this show Tim Tripcony returns with the first of a two part series. This first part is about creating a custom control to edit fields on an XPage “in place”. So no opening another page or dialog needed. Really nice UI feature!

Categories
Notes In 9 Podcast

NotesIn9: 050 Improving the Type Ahead Control

Today, for my “50th” show I get to welcome another new contibutor to the show. Dr. Mark Roden contributes a video that not only shows us how to improve the built in TypeAhead feature by adding a visual Indicator to tell the user it’s actually working, BUT he also takes a deep dive into FireBug and show’s us how XPages is constructing the control behind the scenes. I think it’s a fascinating look into the inner workings of XPages and Dojo.

Demo Database
Presentation Slides

Categories
Ext. Library Learning XPages Notes In 9 XPages

NotesIn9: 049 XPages: Login and Logout

In this show I take a look at how to use the Login and Logout node of the Extension Libraries Application Layout Control. It should be noted that currently there’s a bug in the extension library where the logout piece doesn’t actually work. So I demonstrate how to get around that until it gets fixed.

Some code from the show:

Setting the “Can Logout” ability:
sessionScope.put(“extlib.user.canlogout”, true)

A link for the manual logout node:

href = facesContext.getExternalContext().getRequest().getContextPath() + “?Logout&redirectTo=” + facesContext.getExternalContext().getRequest().getContextPath()

Control rendering on the manual logout node:

var uName = session.getEffectiveUserName();
if(uName == “Anonymous”) {
return false;
}

else {
return true;
}

Categories
Community Notes In 9 XPages

Learn XPages anywhere now!

I just wanted to point out a really cool thing that Stephan Wissel did.  He blogged today with instructions for easily download all of my NotesIn9 shows to your hard drive.

Here’s his blog post.

So you can already download and use all my shows offline via iTunes which isn’t to difficult to do. But this should allow you to just do a generic “Get All” and load them onto the device of your choice.

I will add that another great way to learn XPages is Matt White’s XPages101.net site. If you like NotesIn9 his stuff is so much better technically. Though I think I try to get a few more jokes in from time to time. 🙂 And guess what, if you’re a subscriber you can download Matt’s videos as well and take them with you as needed! Score!!

I think NotesIn9 is closing in on 7-8 hours worth of training videos, I’m sure Matt has the same. Hmm.. Wonder if we could fill up an iPad between us. haha