354 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Database.getApiPath(): One of the Hidden Gems of OpenNTF Domino API
Tue, Apr 15th 2014 113
Adding Bootswatch Themes to Bootstrap4XPages
Mon, Apr 7th 2014 128
OpenNTF Domino API: Understanding Listeners
Wed, Mar 26th 2014 169
SBT and Propogating XPages Performance Preferences to Notes Clients Via Policy
Mon, Mar 24th 2014 123
Show Submit Button Only When All Mandatory Fields Completed
Thu, Mar 20th 2014 183
Slides from OpenNTF Domino API Session at Engage
Thu, Mar 20th 2014 162
Preloading XPiNC Applications
Wed, Mar 12th 2014 163
Top 10
2014: The Year Notes and Domino Stopped Looking Like Notes and Domino
Sat, Feb 1st 2014 451
BP204: Slides and Demo Application
Fri, Jan 31st 2014 341
The Name Picker, Readers / Authors Fields and OpenNTF Domino API Helper Methods
Thu, Nov 21st 2013 318
Understanding SSJS
Wed, Feb 5th 2014 313
Domino Server + Connections + Sametime VM Image
Mon, Feb 3rd 2014 308
Compatibility Mode: What Any XPages (or Web Developer) Needs To Know
Wed, Feb 19th 2014 299
Back-End Developers Are From Mars, Front-End Developer Are From Venus
Sat, Feb 1st 2014 281
SHOW 103 – Source Control An End To End Solution
Wed, Jan 29th 2014 265
XPages OpenLog Logger v4.0
Mon, Feb 10th 2014 255
Sessions, logout, sessionScope and userScope
Thu, Oct 24th 2013 226


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
27 hits



Recent Blog Posts
113


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
128


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
169


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
123


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
183


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
162


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
163


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




210


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
127


Speaking at Engage.ug
Tue, Mar 4th 2014 7:14a   Paul Withers
Two weeks from now I’ll be speaking at Engage.ug, along with a host of illustrious names from IBM and the community. I’ll be speaking with Martin Jinoch about the OpenNTF Domino API. After speaking on the API solo at various user groups and during speedgeeking at IBM Connect, it will be interesting to co-host the session with someone who consumes the API and has been very active in working on the Demo database and providing feedback on the API. As ever, the material has been updated [read] Keywords: domino ibm community database development java openntf
190


Configuring Eclipse for Domino Debug Plugin
Mon, Feb 24th 2014 7:12a   Paul Withers
Some time ago Niklas Heidloff blogged about three kinds of XPages developers – those who just use drag and drop with SSJS / JavaScript; those who use Java but only in an NSF; and those who develop with Java outside the NSF. For some time I’ve been doing some development outside the NSF, but after discussions with some other developers, I’m beginning to see the benefits of moving all Java outside the NSF. It may add some deployment challenges, but will also save a lot on reusabi [read] Keywords: domino notes xpages community development eclipse java javascript server vm




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