Skip to main content link. Accesskey S

XPages Wiki

Submit Search

YouAtNotes XPages Wiki


Page12345

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. <pre> <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> </pre> == iPhone example == By Mark Hughes, see ...

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. Most of them taken from Steve Castledine . ==Increasing the possible workload of the server== XPages are using Java in the background, and the amount of memory Java can consume in the Domino server is ...

New in 8.5.1

Julian Buss | October 21, 2009 7:57:20 AM | Tags:

(work in progress) New controls Hidden input, see [[http:www.qtzar.comblogsqtzar.nsfd6plinksDSLH-7WZQKEDecs Blog]]

Page12345
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 wiki help you?
Did this saved you time? Express your gratitude by making a donation:
PayPal - The safer, easier way to pay online!