329 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
When Does a Control That Has An Id, Not Have An Id?
Thu, May 23rd 2013 59
org.openntf.domino M2 Release and Demo Database
Wed, May 22nd 2013 118
Update on org.openntf.domino
Tue, May 21st 2013 282
Business Use Cases – Customer Service
Sun, May 19th 2013 97
Social Business Use Cases: Marketing & Sales
Sun, May 12th 2013 81
Java and Selections Part Six: Value Picker Solution Continued
Thu, May 9th 2013 103
Java and Selections Part Five: Value Pickers Solution
Wed, May 8th 2013 112
Top 10
Making The Most of the Notes Client – New Cheat Sheets
Wed, Jan 23rd 2013 867
Full Text Search Musings
Wed, Dec 19th 2012 666
New Notes 9 @Functions
Sun, Apr 21st 2013 656
Extension Library Value Picker and extlib.dijit.PickerListSearch
Thu, Dec 20th 2012 634
Inspecting Dojo on 8.5.3
Thu, Dec 6th 2012 557
Notes & Domino 9.0 Gold – A Few of My Favourite Things
Mon, Mar 25th 2013 540
Understanding XPages Error Codes
Wed, Jan 9th 2013 526
Making Your Local Domino Server Work Like You Want
Wed, Mar 6th 2013 526
The Rise of Anti-Social
Thu, Mar 7th 2013 480
Session Slides and Sample Database from IBM Connect
Sun, Feb 10th 2013 392


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



Recent Blog Posts
59


When Does a Control That Has An Id, Not Have An Id?
Thu, May 23rd 2013 4:18p   Paul Withers
As part of some work on XPages OpenLog Logger, I’m looking to not only log SSJS errors but also give the facility to push them to an Error control for the relevant component or an Errors control if they are not associated directly to a control. There have been a couple of challenges around this. First, I’m aggregating error objects into a LinkedHashSet so there are no exact duplicates – because dynamically computed properties can be calculated during a number of phases of the X [read] Keywords: xpages java openntf properties
118


org.openntf.domino M2 Release and Demo Database
Wed, May 22nd 2013 3:20p   Paul Withers
The second release of org.openntf.domino has today been pushed up to OpenNTF. As I blogged earlier in the week, there are a host of enhancements as well as bug fixes. For those wanting to hit the ground running with the project, I’ve posted a video on what needs deploying to the server and your client, embedded below. For anyone who wants a bit more information on how to use the code and some comparisons, I’ve been working on a sample application. It requires M2 as a minimum. So far [read] Keywords: domino application bug database openntf server
282


Update on org.openntf.domino
Tue, May 21st 2013 6:18a   Paul Withers
It’s been a little while since the initial release of org.openntf.domino, but as we’re gearing up towards M2 release, it’s worth giving an update of all the work that’s been going on under the hood. M1 provided the core set of Java code that offered a host of possibilities for looping Collections, avoiding recycle, throwing generic exceptions instead of NotesExceptions and providing the MIMEBean. The jar could also be added to jvm/lib/ext for use in Java agents etc and co [read] Keywords: domino lotus notes xpages application bug database development integration java openntf properties server wiki
97


Business Use Cases – Customer Service
Sun, May 19th 2013 11:14a   Paul Withers
The overarching benefit to deploying Social Business solutions in customer service operations is the ability to engage with customers and understand them more deeply. This helps organisations to anticipate and meet their customers’ needs in ways that differentiate them from the competition. If companies could increase customer retention rates by 5%, they could grow their profits by 25% -100%. Frederick Reichheld, The Loyalty Effect According to a recent ITSV CEO study, ‘Getting closer to the [read] Keywords: collaboration applications blogging email
81


Social Business Use Cases: Marketing & Sales
Sun, May 12th 2013 11:21a   Paul Withers
Social technologies are being used to gather insights about products and brands, opinions about competitors, and perceptions of market segments. This market research and customer insight can be used as input for product requirements and design, advertising campaigns, pricing, packaging, and other marketing and product development activities. In a recent study of 541 executives at 500 companies, 40% found that they could see specific improvements and increases in sales from social customer relati [read] Keywords: collaboration development mobile
103


Java and Selections Part Six: Value Picker Solution Continued
Thu, May 9th 2013 4:18p   Paul Withers
In the previous part I created a ListPicker class that extends IValuePickerData and Serializable. The hasCapability() and getSourceLabels() methods that the IValuePickerData interface requires have been implemented and just return false. In addition to the default constructor public ListPicker(), I’ve created two more: public ListPicker(List) and public ListPicker(Set). Because I’ve just used the generic classes as parameters of the methods, List will take any type of list like an Ar [read] Keywords: ibm ajax apple database interface java javascript openntf properties




112


Java and Selections Part Five: Value Pickers Solution
Wed, May 8th 2013 7:21a   Paul Withers
So we’ve added our Value Picker to the XPage, bound the component to an Edit Box or Dojo List Text Box or some other control that’s bound to a field on a Notes Document or viewScope variable. Now we’re ready to go. A dataProvider for a Value Picker needs to implement the Java class com.ibm.xsp.extlib.component.picker.data.IValuePickerData (implement not extend). I also needed to implement Serializable, just like we do with a bean. IValuePickerData is an Extension Library class [read] Keywords: ibm notes database dojo eclipse interface java openntf properties
127


Java and Selections Part Four: Value Pickers Introduction
Tue, May 7th 2013 8:22a   Paul Withers
The Extension Library brings a new control to the party, the Value Picker. This gives the user an image or link that spawns a dialog from which they can select one or more options and even search for options. (The Value Picker itself doesn’t differentiate whether or not multiple items can be selected. That’s handled by the component into which the selected values are stored and to which the Value Picker is bound. Logically speaking, the Value Picker is bound to a component – an [read] Keywords: domino xpages apple database dojo java properties
150


Java for Selections Part Two: Core Controls and Lists
Sat, May 4th 2013 9:21p   Paul Withers
So enough of the introduction, onto passing some Java to selectors. There are two types of Collections you may have – Lists and Maps. Lists just have values. Maps have keys and values. So if you want the label and the value to be the same, use a List. If you want a different label and value, use a Map, with label in the key and value in the values. I’m going to start simple with Lists and start at the basic level with core controls. This is also relevant to the Dojo controls like Doj [read] Keywords: dblookup domino database dojo java javascript
137


Java and Selections Part Three: Core Controls and Sorted Lists
Sat, May 4th 2013 9:21p   Paul Withers
Ok. So we’ve seen we can pass a Vector or an ArrayList into a selectItems control for a Combo Box or Radio Button. And we’ve seen we can pass it via SSJS or EL (but EL is slightly more efficient). That’s all well and good if your options are already unique and already sorted. But what if they’re not. Well you could run an @Unique and a JavaScript sort once you’ve retrieved it. But part of the point of using Java is better performance, easier debugging and avoiding c [read] Keywords: notes xpages application database java javascript




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