354 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
XPages OpenLog Logger v5.0
Wed, Apr 23rd 2014 77
Mastering XPages 2nd Edition Released
Tue, Apr 22nd 2014 160
Database.getApiPath(): One of the Hidden Gems of OpenNTF Domino API
Tue, Apr 15th 2014 166
Adding Bootswatch Themes to Bootstrap4XPages
Mon, Apr 7th 2014 150
OpenNTF Domino API: Understanding Listeners
Wed, Mar 26th 2014 181
SBT and Propogating XPages Performance Preferences to Notes Clients Via Policy
Mon, Mar 24th 2014 131
Show Submit Button Only When All Mandatory Fields Completed
Thu, Mar 20th 2014 190
Top 10
2014: The Year Notes and Domino Stopped Looking Like Notes and Domino
Sat, Feb 1st 2014 466
BP204: Slides and Demo Application
Fri, Jan 31st 2014 358
The Name Picker, Readers / Authors Fields and OpenNTF Domino API Helper Methods
Thu, Nov 21st 2013 331
Understanding SSJS
Wed, Feb 5th 2014 324
Domino Server + Connections + Sametime VM Image
Mon, Feb 3rd 2014 319
Compatibility Mode: What Any XPages (or Web Developer) Needs To Know
Wed, Feb 19th 2014 311
Back-End Developers Are From Mars, Front-End Developer Are From Venus
Sat, Feb 1st 2014 298
SHOW 103 – Source Control An End To End Solution
Wed, Jan 29th 2014 276
XPages OpenLog Logger v4.0
Mon, Feb 10th 2014 272
Sessions, logout, sessionScope and userScope
Thu, Oct 24th 2013 250


Quick Tip for iOS Browser Development
paulwithers    

Last week, when preparing for the XPages Mobile Controls session at BLUG, Eamon Muldoon introduced me to a useful tip when testing on iOS. The problem is that many browsers such as Firefox and Safari use, by default, webkit styling, so use Android stylesheets.

But Safari has an option to change the user agent.

The first step is to enable the Develop menu. Go to EditPreferences. Then on the Advanced tab, check Show Develop menu in menu bar.

This will enable the Develop menu. From here you can go to the User Agent submenu and change the user agent to e.g. iPhone, iPad, or choose Other… to set up a custom user agent.

User Agent menu

Now you can use the browser to see the iOS stylesheets and simulate functionalityfor a specific user agent.



---------------------
http://www.intec.co.uk/quick-tip-for-ios-browser-development/
Mar 27, 2012
35 hits



Recent Blog Posts
77


XPages OpenLog Logger v5.0
Wed, Apr 23rd 2014 8:12a   Paul Withers
Events in my personal life took over at the end of March, and I realised I had not yet blogged about the last release of XPages OpenLog Logger. This had a number of feature enhancements. The first was to move the openLogBean from requestScope to sessionScope. The reason for doing this was to address issues developers had encountered when an error is logged and the code subsequently redirects to a different XPage. Once a redirect happens, it’s a new request on the server, so requestScope, a [read] Keywords: domino xpages archiving database development openntf server
160


Mastering XPages 2nd Edition Released
Tue, Apr 22nd 2014 7:12a   Paul Withers
Mastering XPages has been released today by IBM Press, as followers of Twitter or anyone who pre-ordered the book from IBM Press. Amazon will be shipping shortly. I had the honour or being one of the technical editors of the book and it is well worth investing in, whether you bought the first edition or not. There is a vast amount of new material (1168 pages compared to 784) including a number of additional examples for real-life applications like managing document locking in XPages. Not surpris [read] Keywords: domino ibm xpages application applications properties server twitter
166


Database.getApiPath(): One of the Hidden Gems of OpenNTF Domino API
Tue, Apr 15th 2014 6:11a   Paul Withers
Currently I’m in the process of going through ensuring documentation is available for all methods in OpenNTF Domino API. It’s going to take some time, not least because Javadocs need adding for all lotus.domino methods, as well as the additional methods we’ve added. One of the benefits is I’m finding out about methods that have been available for a long time that are really useful. One of those is Database.getApiPath(). Although the name may seem unclear for a start, it&# [read] Keywords: domino lotus xpages application database openntf
150


Adding Bootswatch Themes to Bootstrap4XPages
Mon, Apr 7th 2014 7:11a   Paul Withers
Last week I started playing with Bootstrap4XPages. It’s been around for a few months now and is part of OpenNTF Essentials. But I finally got round to playing with it. Although having lots of whitespace seems in vogue for websites, personally I don’t like that. So one of my first steps was to change the theme. Fortunately, Bootswatch allows a host of themes to just lay on top of Bootstrap, in the same kind of way versions of OneUI have various themes. Tim Tripcony did a NotesIn9 some [read] Keywords: xpages application css enterprise openntf
181


OpenNTF Domino API: Understanding Listeners
Wed, Mar 26th 2014 7:11a   Paul Withers
Since M3 we’ve had Listeners implemented in the OpenNTF Domino API. Although there’s potential for even greater implementation of listeners through the API, they’re already extremely powerful. Think about triggering specific code whenever a document is saved from XPages. The concept is very powerful and there has been an example in the Demo database for many months. But as I’ve been going through reviewing Javadoc comments in the API, I’ve realised it’s never [read] Keywords: domino xpages database java openntf wiki
131


SBT and Propogating XPages Performance Preferences to Notes Clients Via Policy
Mon, Mar 24th 2014 7:11a   Paul Withers
XPages in Notes Client is one area that is receiving constant development. With 8.5.3 we gained Domino server and Notes client preferences XPagesPreload=1 and XPagesPreloadDB=myServer!!myDb.nsf/myXPage.xsp,myLocalDb.nsf/test.xsp. These preloaded the XPages runtime and preloads specific databases. Then with 9.0 we gained the functionality in Notes Client to define XPages that need to run on the server on a new XPages Performance tab in the Preferences. Enabling applications to run on server has [read] Keywords: connections domino ibm notes notes client xpages application applications database desktop development eclipse javascript properties server




190


Show Submit Button Only When All Mandatory Fields Completed
Thu, Mar 20th 2014 4:11p   Paul Withers
Today I had this query about refreshing multiple areas of the page on a blog post about partial execution: I have several input text fields with onChange events that do a partial updates on panels (a panel for each field) that contain the images that display whether the required field is completed. But I also have a submit button at the top of the xPage, that only becomes usable when all required fields are completed. So, I’d like to be able to refresh that button also, from each required fiel [read] Keywords: xpages java javascript server
172


Slides from OpenNTF Domino API Session at Engage
Thu, Mar 20th 2014 3:11p   Paul Withers
Earlier this week I had the pleasure to present with Martin Jinoch at Engage in Nertherlands. It was good to present on the API with someone who’s main involvement has been as a consumer, though very much an active member of discussions on existing and new functionality. Here are the slides, which included more recent developments like picker data sources and a formula parser. A new release of the API will be coming out in the coming weeks, so stay tuned. [read] Keywords: domino openntf
179


Preloading XPiNC Applications
Wed, Mar 12th 2014 4:11p   Paul Withers
Recently I’ve been working on an application for XPages in Notes Client. Part of that has been using Domino Data Services in the application. One of the problems I came across was that the Domino Data Service was not running as the current logged on user, even though I was calling it from Java. I needed to pass credentials. But even when passing the credentials, it was not working on a local XPiNC application. Instead it was throwing an ECL security exception, even though the signer had th [read] Keywords: domino ibm notes notes client xpages application applications database java openntf properties security server
226


Method Parameters and The Importance of Final in Java
Thu, Mar 6th 2014 6:11a   Paul Withers
Most developers (certainly myself!) are lazy. We look to re-use code and write the briefest code we can. Sometimes it backfires! When writing a method, either in Java or LotusScript, we can often pass parameters around with little concern. I came across that some years ago with LotusScript when objects were being changed by a function when I didn’t intend that. That was when I learned that you could define a sub or function in two ways. So consider the following code: Dim myStr as String [read] Keywords: lotusscript best practice java twitter




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