369 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
Latest 7 Posts
Settings bean - parameterized method call from EL
Mon, Apr 23rd 2012 303
Easy to print Lotusphere 2012 Pocket Agenda
Wed, Jan 11th 2012 361
How to set the correct DOCTYPE
Fri, Dec 16th 2011 221
Wish list for Xpages development
Wed, Dec 14th 2011 198
Fix IE9 submit events
Sun, Jun 19th 2011 250
Fix default type for submit buttons in IE
Sun, Jun 19th 2011 585
Xpages - Java Bean lessons of the day
Wed, May 25th 2011 306
Top 10
Fix default type for submit buttons in IE
Sun, Jun 19th 2011 585
Easy to print Lotusphere 2012 Pocket Agenda
Wed, Jan 11th 2012 361
Xpages - Java Bean lessons of the day
Wed, May 25th 2011 306
Multiple file upload, the easy way
Mon, Apr 25th 2011 303
Settings bean - parameterized method call from EL
Mon, Apr 23rd 2012 303
Fix IE9 submit events
Sun, Jun 19th 2011 250
How to set the correct DOCTYPE
Fri, Dec 16th 2011 221
Wish list for Xpages development
Wed, Dec 14th 2011 198
Bulk cleanup old Working Set databases
Sun, May 15th 2011 171
Bulk cleanup old Working Set databases, part 2
Sun, May 15th 2011 142


Thimo Jansen
Blog Title Code maniac
Blog Description Tips and thoughts from an IBM Lotus web developer
Blog URL http://blog.thimojansenit.nl
RSS Feed http://blog.thimojansenit.nl/feeds/posts/default?alt=rss
PlanetLotus Feed http://planetlotus.org/profiles/rss/thimo-jansen
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked May 21, 2012 8:12:24 PM EST. Realtime Update:
Landed Here May 11, 2011
Location Arnhem, the Netherlands
Posts: # / 1st / Latest - -
Total Hits 3,109. myPL RSS Selections: 7


Recent Blog Posts
303


Settings bean - parameterized method call from EL
Mon, Apr 23rd 2012 2:19p   Thimo Jansen
With Xpages it's convenient to keep your settings in a properties file. They're easy to create, maintain and access from EL (Expression Language), SSJS (Server Side JavaScript) and Java. And they're fast too! But what if your settings are somewhere else, like in a central database? What can you do to create something that works from all three languages (EL, SSJS and Java) and have it fast too? Beans are great for solving these kind of problems. But there's one issue: it's not possible to u [read] Keywords: xpages blogger database interface java javascript properties server wiki
361


Easy to print Lotusphere 2012 Pocket Agenda
Wed, Jan 11th 2012 2:28a   Thimo Jansen
IBM provides a PDF with an overview of everything Lotusphere: the Lotusphere Pocket Agenda (for a download link, see Lotusphere 2012 sessions page). It's a really nice reference, but the PDF is a bit of a challenge to print on A4 or Paper. Last night I had some fun with combining and rotating the pages to get an easily printable PDF and here I share them with you (hoping IBM doesn't mind). There are two versions: Printed onto A4, with 4 pages combined per page. These require eagle eyes or re [read] Keywords: ibm lotus lotusphere blogger
221


How to set the correct DOCTYPE
Fri, Dec 16th 2011 3:33a   Thimo Jansen
By default Domino prints out the following, half decent DOCTYPE, leaving out the link to the DTD: This causes browsers to render the page in quirks mode and not care very much about standards. This makes it harder to get pages to render the same in the different browsers (Internet Explorer, Firefox, Chrome). If you care about a correct layout of the page you would want something like: Or if you're lazy, like I am, and maybe want to pretend to do HTML 5, use: For Xpages it's simply a se [read] Keywords: agent domino lotusscript xpages application blogger firefox properties
198


Wish list for Xpages development
Wed, Dec 14th 2011 3:25a   Thimo Jansen
Just in time for the holiday season, here's my Santa Claus wish list for enhancements in Domino Designer to aid Xpages development. Building websites, or should I say web applications, in Designer has become an absolute joy with the introduction of Xpages. With each new release the IDE becomes more advanced and the capabilities of the platform are unheard of. Thank you Santa! But there are things left to be wished for. Here's my short list. And allow me to leave out the obvious things like a [read] Keywords: domino xpages apple application applications blogger database development java
250


Fix IE9 submit events
Sun, Jun 19th 2011 2:14p   Thimo Jansen
In my previous blog on how to fix the default type for buttons in IE I ended with a remark that although the method described fixes the button type, in Internet Explorer 9 the save action still does not work. This seems to be IE9 specific, as IE8 works as expected. After a bit of reverse engineering I found the cause of the problem and came up with a solution. Looking at the submitted data there is a difference between Firefox and Internet Explorer 9. In IE9 the field $$xspsubmitid is empty, i [read] Keywords: ibm blogger dojo firefox javascript server widget
585


Fix default type for submit buttons in IE
Sun, Jun 19th 2011 9:13a   Thimo Jansen
For submit buttons - you know, the new Click me type - to work properly in Internet Explorer you have to explicitly add the type of the button. So the above example becomes Click me. With Themes in Xpages it's very easy to fix this on an application wide level. Open your favorite themeAdd the following tags: Button.Submit type submit Now all the buttons in your application with an Xpages button of "Button type" "submit" will have the t [read] Keywords: xpages application blogger
306


Xpages - Java Bean lessons of the day
Wed, May 25th 2011 9:10a   Thimo Jansen
This Xpages stuff is still fairly new to me and there are lots of little things I struggle with. Today was spend trying to figure out how to build some of the log-in/log-out logic. For a couple of problems I could not find a direct answer on the internet, so I thought I'd share what I came up with. Remove a bean from the session In the application I'm building there's this "User" bean that holds all kinds of user data and provides some application logic. When the user clicks the log out b [read] Keywords: xpages application blogger java javascript properties xml




142


Bulk cleanup old Working Set databases, part 2
Sun, May 15th 2011 1:12p   Thimo Jansen
Earlier today I wrote a post describing how you could cleanup the Working Set by editing the XML that stores the Working Sets. I stated that you cannot do this though the Package Explorer view, as a delete from the view would also remove the database. That turns out to be wrong and thanks to Nathan Freeman for pointing it out. When you delete an entry from the Package Explorer view, it asks for confirmation and displays a checkbox with "Delete project contents on disk". I thought it was about [read] Keywords: domino blogger database development server workspace xml
171


Bulk cleanup old Working Set databases
Sun, May 15th 2011 6:11a   Thimo Jansen
Domino Designer's Workings Sets are a great help in the life of a Lotus Domino developer. They make switching between projects a lot easier and up your productivity. But after a while they become cluttered with databases you might not be working on anymore. Cleaning up from either Designer's Application view or the "Managing Working Sets" popup can only be done one database at a time. And it's a slow process, not something you'd want to full your working day with. The Package Explorer vie [read] Keywords: domino lotus notes application blogger database eclipse workspace xml
127


Recover Designer Working Sets
Wed, May 11th 2011 3:53p   Thimo Jansen
If your Domino Designer environment is as stable as mine, you loose your precisely crafted Working Sets at least once a week. I still do not know why Designer is as instable as it has been the last few weeks, but at least I have found a way to recover a lost Working Set. Hooray! The first step is to make sure you have a backup of the notes/data directory. I recommend CrashPlan+. The family plan is hard to beat in price if you have more than one computer or a couple of VM's. It allows you to do [read] Keywords: domino notes blogger eclipse vm workspace xml
303


Multiple file upload, the easy way
Mon, Apr 25th 2011 12:35p   Thimo Jansen
It turns out to be very easy to offer a multiple file upload control in Lotus Domino. If, and that's the big one, the end-user is on Firefox, Safari or Chrome. Internet Explorer, even including version 9, doesn't support this. The steps are as follows: Add a File Upload Control to a Notes formOpen its properties and go to tab "" Add "multiple" to the field "Other"Open the form in one of the supporting browsers, click "Browse" and you can select and upload multiple files with one uploa [read] Keywords: domino lotus notes blogger firefox properties
44


Search for empty fields
Mon, Mar 21st 2011 2:38p   Thimo Jansen
For many, many years I thought there was no way to search for empty fields in documents. I thought it was not possible, but it turns out it is: The answer is to use the search term "NOT [fieldname] is present", of course substituting "fieldname" with the actual name for your application. Source: Alan Lepofsky's post Searching for blank fields. Thanks to @arnecoomans for the tip! [read] Keywords: application blogger twitter
98


Don't use shared fields on mail forms
Fri, Mar 18th 2011 2:39p   Thimo Jansen
Domino provides an easy way to send database documents by email (SMTP) without requiring any work on formatting it: let Domino use the document's form to figure out a way to render the ASCII email. In LotusScript it works like this:Call .send(True)Even when sent through SMTP, the email will still kinda look like the way the document's form was designed. Easy and convenient, when looks are not that important.But today I just couldn't get the document to be included in the email. Whatever I tri [read] Keywords: domino lotusscript blogger database email smtp




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