358 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
SourceTree and Git/Mercurial: Important Information
Fri, Dec 19th 2014 76
OpenNTF Domino API: New Release and Serializing Databases / Documents
Wed, Sep 3rd 2014 110
Why My XPages Buttons Are Only Ever “Buttons”
Fri, Aug 22nd 2014 117
Quick Tip to Quickly Jump To Where You Need to Work
Mon, Aug 18th 2014 97
10 Reasons All Companies Should Use Open Source
Fri, Aug 15th 2014 129
The Perils of getColumnValues().get(0)
Sun, Jul 20th 2014 133
XPages Build Project Investigations Improvement
Wed, Jul 9th 2014 109
Top 10
10 Steps to deploying a successful social business platform Step 9: Now paint the bridge from the other end
Mon, Jun 16th 2014 337
The Perils of getColumnValues().get(0)
Sun, Jul 20th 2014 133
Sessions, logout, sessionScope and userScope
Thu, Oct 24th 2013 130
10 Reasons All Companies Should Use Open Source
Fri, Aug 15th 2014 129
Why My XPages Buttons Are Only Ever “Buttons”
Fri, Aug 22nd 2014 117
OpenNTF Domino API: New Release and Serializing Databases / Documents
Wed, Sep 3rd 2014 110
10 Steps to deploying a successful social business platform Step 10 – Dismantle delivery team
Mon, Jun 16th 2014 109
Triggering an EventHandler from Another Button
Tue, Jul 8th 2014 109
XPages Build Project Investigations Improvement
Wed, Jul 9th 2014 109
Java getAllDocumentsByKey / getAllEntriesByKey Problem With Doubles
Tue, May 20th 2014 105


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



Recent Blog Posts
76


SourceTree and Git/Mercurial: Important Information
Fri, Dec 19th 2014 8:09a   Paul Withers
For anyone who has used the slides from my Show and Tell on source control in January or the subsequent NotesIn9 episode, the recommended Git / Mercurial client was SourceTree. It’s an excellent tool for those who prefer a GUI and runs on Windows and Mac. The advice at the time was to use the embedded Git / Mercurial. For most XPages developers, who were only pushing and retrieving files via SourceTree, that was adequate. However, overnight I became aware of a security vulnerability with G [read] Keywords: show and tell xpages mac security
110


OpenNTF Domino API: New Release and Serializing Databases / Documents
Wed, Sep 3rd 2014 6:12a   Paul Withers
Nathan has uploaded a new release of OpenNTF Domino API. There are a few significant differences in the upload this time. Firstly there is a separate install for Designer Client and Domino Server. That’s to minimise the footprint for the server. Those who have used M4.5 may have noticed the Javadoc support was lost, because we were packaging org.openntf.domino as a jar and incorporating that in the plugin. That meant Domino Designer “couldn’t see” the source files, from w [read] Keywords: collaboration domino ibm xpages database openntf server
117


Why My XPages Buttons Are Only Ever “Buttons”
Fri, Aug 22nd 2014 8:15a   Paul Withers
Buttons in XPages are interesting and potentially dangerous elements. They’re dangerous, mainly to less experienced XPages developers, because they have this apparently helpful combo box that immediately attracts the eye for Button type. Cancel is useful, but to be honest I never set that. All it does, if you look at the source pane, is set immediate=”true”. Based on the level of understanding I’ve got now of tuning events, it makes more sense to set that on the Events [read] Keywords: collaboration ibm xpages properties
97


Quick Tip to Quickly Jump To Where You Need to Work
Mon, Aug 18th 2014 6:12a   Paul Withers
Moment of most celebrated enlightenment usually comes from putting together a frustration with a piece of knowledge gleaned for a completely unrelated reason. A couple of days ago I had such an epiphany. Often when I’m developing I need to check something somewhere else on the XPage or Custom Control. Or I need to add a custom property to a Custom Control, for which I need to position the cursor on the xp:view element of the Custom Control in order to see the Custom Properties panel. But I [read] Keywords: collaboration ibm properties
129


10 Reasons All Companies Should Use Open Source
Fri, Aug 15th 2014 6:12a   Paul Withers
After one of my sessions at IBM Connect I was approached by a developer whose company would not use open source. The comment made me despair more than a little and has festered for some time. I’ve used code and projects from OpenNTF for many, many years before subsequently contributing to OpenNTF. Obviously as a contributor to and now director of OpenNTF my personal opinion on whether or not open source should be used is clear. Not allowing your developers to use open source is like expect [read] Keywords: collaboration connections domino ibm inotes lotus notes notes client symphony xpages application applications best practice community css database development dojo eclipse integration interface java javascript microsoft mobile office openntf openoffice oracle security twitter widgets
133


The Perils of getColumnValues().get(0)
Sun, Jul 20th 2014 4:12p   Paul Withers
Bill F posed a good question on StackOverflow about the issue of object.recycle and when to use it. It’s un understandable question and one I hit years ago after crashing a server looping through 20,000 documents in a search. I raised a PMR, got a response directing me to technotes on recycling in Java. Searching help, wikis and other places gave me no documentation on recycling in SSJS, which gave me reason to believe I was the first to hit the problem in XPages. So I blogged about it at [read] Keywords: agent domino xpages database java openntf server




109


XPages Build Project Investigations Improvement
Wed, Jul 9th 2014 7:15a   Paul Withers
Some time ago I wrote about how you have to build twice if you have Build Automatically switched off, then open an application in Designer and make a change – the first build was incremental. Just to revisit, I would always recommend having Build Automatically switched off unless you’re in an instance of Designer that can only ever have access to a local Domino server or local applications. Building a database remotely is not quick. Building a database has been known to break it if t [read] Keywords: domino ibm xpages application applications database server
109


Triggering an EventHandler from Another Button
Tue, Jul 8th 2014 7:15a   Paul Withers
Today there was a question on StackOverflow about how to trigger an eventHandler of control A from control B. I knew I’d done it before, but couldn’t remember where and couldn’t find where I’d blogged on it. So here is the way I originally did it and the better way. The Padawan’s Way Once you start going to the source pane, you see much more than you do in the Design pane. One of those things you see is that you can click on an xp:eventHandler component and you see [read] Keywords: xpages java properties
99


What Happens When An XPage Loads?
Wed, Jul 2nd 2014 4:11p   Paul Withers
There have been a few questions lately on StackOverflow trying to troubleshoot activity during the initial page load. So I thought I’d write a post to try to clarify the process. This certainly helps me pre-empt some functionality and provides an explanation for some of the questions I’ve seen. Using code from Jesse Gallagher’s XPages Scaffolding in projects has really helped give me this understanding, so I’d like to give Jesse a shoutout for his work. ViewHandlers and C [read] Keywords: xpages database java openntf properties server xml
109


10 Steps to deploying a successful social business platform Step 10 – Dismantle delivery team
Mon, Jun 16th 2014 1:12p   Paul Withers
If all has gone to plan, then a point will be reached (between two–three years on) where it is sensible to dismantle the delivery team and to replace them with platform managers from the different de-partments as the collaborative community matures. This does not necessarily mean that personnel who worked in the delivery team are no longer required, but rather that the role will have changed from a design and development role to a second line platform support and maintenance position. Previous [read] Keywords: collaboration community development




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