Skip to main content link. Accesskey S

The useful resource for IBM Lotus Domino XPages development

Submit Search

Available in the Appstore!All the content of xpageswiki.com for iPhone or iPad for offline access.

Page123456

Pages sorted Alphabetically

Browser compatibility

Julian Buss | May 18, 2009 8:48:44 PM | Tags:browser, client, UI

==Internet Explorer 8== IE 8 is supported since Domino 8.5.1. You can force IE8 to act like IE7 by using this code in beforeRenderResponse event: {code:} // first option uses compatibility mode, second option too but stronger // X-UA-Compatible: IE=7 // X-UA-Compatible: IE=EmulateIE7 if ...

Debugging and error logging

Julian Buss | April 6, 2009 11:58:21 AM | Tags:debug, error

==Show error page== The default error page does not tell you what was wrong. Use Page Properties -> XPage -> "display default error page" while in development. Reset this setting when going to production. ==Error handling== Sourround your code with an error handler like this: {code:|200} try { } ...

Developing for an iPhone or iPad

Julian Buss | July 8, 2009 8:30:16 AM | Tags:browser

==Tell the iPhone to use a fixed screen size== Found by Mark Hughes. {code:} <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> {code} iPhone display is 480x320 pixel. The iPhone browser viewport is 320x356 (landscape) and 480x208 (portrait). ==Set ...

How to create a picklist style dialog

Julian Buss | May 19, 2009 3:43:54 PM | Tags:code, dojo, UI

Found in [[http://dominoextnd.blogspot.com/2009/05/xpages-how-to-create-view-picklist.html | Mark Hughes Blog]]: - Create a custom control with a panel, a view inside the panel and other componets as you like - this control will become the dialog. Set for example "picklistDialogPanel" as name for ...

How to export to Excel or other formats

Julian Buss | April 14, 2010 3:41:25 PM | Tags:

==Basic export== You can write data directly to the browser and tell him to download the data instead of displaying it. Here an example with an CSV-file: {code:} var exCon = facesContext.getExternalContext(); var writer = facesContext.getResponseWriter(); var response = exCon.getResponse(); ...

How to output custom content like print from an agent

Julian Buss | May 14, 2009 9:05:53 PM | Tags:code, javascript, agent

You can use server side javascript in a XPage to write custom content to the browser, just like with agents and "print" statements in classic web development. This tip is taken from Stephan Wissel from [[http://www.wissel.net/blog/d6plinks/SHWL-7MGFBN]]. - create a Xpage - set the "rendered" ...

How to secure your application

Julian Buss | April 6, 2009 1:51:36 PM | Tags:security

==General security== ==Control access to the application== Use the application's ACL (file -> application -> access control list) to control which user can do what. Any user who has not logged in is "Anonymous". Any user who has logged in, but does not have a special entry (name or group) in the ...

How to use object oriented server side javascript

Julian Buss | January 6, 2010 1:53:35 PM | Tags:javascript

This is a short howto for people who know how to code object oriented in other languages. ==Create a class== {code:} function myClass(param1, param2) { var private_member1 = param1; var private_member2 = param2; this.method1 = function () { // do something this.method2 = function(param1, ...

Memory Usage and Performance

Julian Buss | July 9, 2009 1:08:16 PM | Tags:

A collection of tipps for optimizing memory usage and performance for a XPage application. ==General tips== Use Domino 8.5.3 and enable the application setting for dynamic resource aggregation. This makes a HUGE difference. Add RAM to the server. The more RAM, the better. RAM is more important ...

Special chars and escaping

Julian Buss | June 30, 2009 7:12:04 AM | Tags:code, UI

Non breaking space Using {code:} nbsp; {code} is not allowed, but you can use {code:} 160; {code} instead. Other special chars Use the <number>; notation. See [[http:www.degraeve.comreferencespecialcharacters.phpthis list]] for more.

Page123456
Use  searchlotus.com  for news in the Web related to Lotus Notes and Domino,
and to search those sites.
Check  youatnotes.com  for great Lotus Notes, Domino and XPages software.
Did this information help you?
Please honor our efforts and flattr this!