Pages sorted Alphabetically
|
==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 ... |
|
==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 { } ... |
|
==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 ... |
|
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 ... |
|
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" ... |
|
==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 ... |
|
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, ... |
|
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 ... |
|
(work in progress) New controls Hidden input, see [[http:www.qtzar.comblogsqtzar.nsfd6plinksDSLH-7WZQKEDecs Blog]] |
|
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. |