Categories
Uncategorized

iOS 8 Breaks XPages Mobile Controls

You can’t click.  You can’t do a thing.  I believe it’s a dojo thing but I’m not sure.

 

I’m about to test FP2 and will update this post.

This… is  BAD!!

Categories
Day Job XPages

Apple’s iOS8 Breaks uploading Photos

In the day job I have users that use an iPad to upload photos to an XPages application.

I just learned today that this breaks with iOS8.  More information can be found here:

http://www.mobilexweb.com/blog/safari-ios8-iphone6-web-developers-designers

http://stackoverflow.com/questions/25790873/uploading-files-over-http-fails-on-ios-8-gm-safari

http://blog.uploadcare.com/post/97884147203/you-cannot-upload-files-to-a-server-using-mobile-safari

 

I’m hopeful this is a BUG that will be fix and not something Apple has intentionally done.

For now the plan is to just hide the upload button if you’re running iOS 8.  Note we use my fileVault thing which will likely be my next blog post and not the file upload control that comes with XPages.

 

Below is the quick and dirty code I’m going to try and use to hide the button to iOS 8 users.  This will not work most likely for iOS 8.0.1.  Since we don”t know if it’ll be fixed then we’ll simply cross that bridge when we come to it.

Note: This code is intended to run on Domino 9.0.1 so I make use of the deviceBean that’s built in.

UPDATE: Made some updates to the code

function isApple8() {

var uAgent = context.getUserAgent().getUserAgent();

if ((deviceBean.isIpad()) || (deviceBean.isIphone())) {

// Note the space after the 8

if (uAgent.indexOf(“8.0 “) > 0) {

// This is iOS 8

return true;

} else {

// This is iOS but NOT version 8

return false;

}

} else {

// this is NOT iOS

return false;

}

}

 

Categories
Community Notes In 9

Big NotesIn9 news coming next week

It’s time…

 

 

 

Categories
Java Notes In 9 XPages

NotesIn9 155: Java based Debug Control Part 3

In this show Greg Reeder, XPage developer returns for part 2 of his series to talk some Java programming and how you might be able to use it to build a logging control for errors and messages.

This is the third of a 3 part series from Greg which I’m publishing all at once due to the length and complexity of the information.

Categories
Java Podcast

NotesIn9 154: Java based Debug Control Part 2

In this show Greg Reeder, XPage developer returns for part 2 of his series to talk some Java programming and how you might be able to use it to build a logging control for errors and messages.

This is the second of a 3 part series from Greg which I’m publishing all at once due to the length and complexity of the information.

Categories
Java Podcast XPages

NotesIn9 153: Java based Debug Control Part 1

In this show Greg Reeder, XPage developer and new contributor joins the show to talk some Java and how you might be able to use it to build a logging control for errors and messages.

This is the first of a 3 part series from Greg which I’m publishing all at once due to the length and complexity of the information.

Categories
Java Uncategorized

NotesIn9 152: JSON and Java

In this show Frank van der Linden, another brand new contributor comes on to give us a little demo of using JSON and JAVA in XPages.  If you look closely you might even see a little Connections going on.

Categories
Notes In 9

Changes for NotesIn9

Well if you’re seeing this you probably already know what the news is.  I’ve made some big changes to my blog.

I’ve moved to a new host, upgraded to WordPress 4 and am playing with a new theme.

I want to thank Chris Miller for hosting my blog since almost the very beginning of NotesIn9.  He really stepped in and saved me when I had problems with my original setup.

In addition to the new theme, (which might change later) I’ve updated the About page and some of the links to try and make it easier to find my other sites and especially the Episode Guide. Addtional ways to find older shows are the new Tag Cloud and a search feature which I never had before.

If anyone sees any problems or has any suggestions please let me know!

Looking forward I’ve just got a ton of shows that I need to get out. I needed to get out.  We have a bunch of great new contributors coming as well as my MWLug Presentation.

Hope you like the content!

 

Categories
Learning XPages Notes In 9 XPages

NotesIn9 PDF Edition: Using Resource Bundles to store config information in XPages

I’m really excited to have a NEW contributor today.  Please welcome Dan Soares to the show!  Well kinds of at least.  I’ve been trying to get him on for a LONG time and while I’ve yet to get a video I have received from him a great article and sample database on using resource bundles in XPages.

Thanks Dan!

 

P.S. If your company blocks videos either from this site or YouTube, please print this article out on the company printer, read it on company time and have a little chuckle when done!

 

 

Using resource bundles to store configuration information in your XPages application

 

configexample.nsf

Categories
Notes In 9 Podcast XPages

NotesIn9 151: Bootstrap ProgressBars in XPages

In this show I demonstrate how to build some XPages custom controls to make a Bootstrap ProgressBar and stacked ProgressBar.

I also mention Daniel Friedrich’s blog at http://xpagesandme.wordpress.com/.  I highly recommend you check that out.