| |
| |
| |
Working with XSP Properties | |
| |
| |
Locating and Updating xsp.properties | |
| |
| |
The Timeout Properties | |
| |
| |
xsp.application.timeout | |
| |
| |
xsp.session.timeout | |
| |
| |
xsp.session.transient | |
| |
| |
xsp.application.forcefullrefresh | |
| |
| |
The Theme Properties | |
| |
| |
xsp.theme | |
| |
| |
xsp.theme.web | |
| |
| |
xsp.theme.notes | |
| |
| |
The Resources Properties | |
| |
| |
xsp.resources.aggregate | |
| |
| |
The File Upload Properties | |
| |
| |
xsp.upload.maximumsize | |
| |
| |
xsp.upload.directory | |
| |
| |
The JSF Persistence Properties | |
| |
| |
xsp.persistence.discardjs | |
| |
| |
xsp.persistence.mode | |
| |
| |
xsp.persistence.tree.maxviews | |
| |
| |
xsp.persistence.file.maxviews | |
| |
| |
xsp.persistence.viewstate | |
| |
| |
xsp.persistence.file.gzip | |
| |
| |
xsp.persistence.file.async | |
| |
| |
xsp.persistence.file.threshold | |
| |
| |
xsp.persistence.dir.xspstate | |
| |
| |
xsp.persistence.dir.xspupload | |
| |
| |
xsp.persistence.dir.xsppers | |
| |
| |
The Client Side JavaScript Properties | |
| |
| |
xsp.client.script.dojo.version | |
| |
| |
xsp.client.script.dojo.djConfig | |
| |
| |
The HTML Page-Generation Properties | |
| |
| |
xsp.html.doctype | |
| |
| |
xsp.html.meta.contenttype | |
| |
| |
xsp.html.preferredcontenttypexhtml | |
| |
| |
xsp.html.page.encoding | |
| |
| |
xsp.compress.mode | |
| |
| |
xsp.client.validation | |
| |
| |
xsp.redirect | |
| |
| |
The Error-Management Properties | |
| |
| |
xsp.error.page.default | |
| |
| |
xsp.error.page | |
| |
| |
The User Preferences Properties | |
| |
| |
xsp.user.timezone | |
| |
| |
xsp.user.timezone.roundtrip | |
| |
| |
The AJAX Properties | |
| |
| |
xsp.ajax.renderwholetree | |
| |
| |
The Script Cache Size Properties | |
| |
| |
ibm.jscript.cachesize | |
| |
| |
ibm.xpath.cachesize | |
| |
| |
The Active Content Filtering Properties | |
| |
| |
The Resource Servlet Properties | |
| |
| |
xsp.expires.global | |
| |
| |
The Repeating Control Properties | |
| |
| |
xsp.repeat.allowZeroRowsPerPage | |
| |
| |
The Partial Update Properties | |
| |
| |
xsp.partial.update.timeout | |
| |
| |
The Link Management Properties | |
| |
| |
xsp.default.link.target | |
| |
| |
xsp.save.links | |
| |
| |
The Control Library Properties | |
| |
| |
xsp.library.depends | |
| |
| |
The Composite Data Properties | |
| |
| |
xsp.theme.preventCompositeDataStyles | |
| |
| |
Other Ways of Applying xsp.properties Settings | |
| |
| |
Viewroot Properties | |
| |
| |
Request Properties | |
| |
| |
Applying Properties Using a Theme | |
| |
| |
What Works Where? | |
| |
| |
Conclusion | |
| |
| |
| |
Working with Notes/Domino Configuration Files | |
| |
| |
INI Variables You Should Know About | |
| |
| |
The Java Heap | |
| |
| |
HTTPJVMMaxHeapSize Variable | |
| |
| |
HTTPJVMMaxHeapSizeSet Variable | |
| |
| |
JavaMaxHeapSize Variable | |
| |
| |
JavaMinHeapSize Variable | |
| |
| |
JavaEnableDebug Variable | |
| |
| |
JavaDebugOptions Variable | |
| |
| |
JavaUserClasses Variable | |
| |
| |
OSGI_HTTP_DYNAMIC_BUNDLES Variable | |
| |
| |
XPagesPreload Variable | |
| |
| |
XPagesPreloadDB Variable | |
| |
| |
When and Why Is Preloading Important? | |
| |
| |
Avoid Unnecessary Network Transactions in Your Application Code | |
| |
| |
Optimizing Client Memory Usage | |
| |
| |
vmarg.Xms | |
| |
| |
vmarg.Xmx | |
| |
| |
Enabling Extended Java Code with the java.policy File | |
| |
| |
JavaUserClasses | |
| |
| |
Conclusion | |
| |
| |
| |
Working with the Console | |
| |
| |
About the XSP Command Manager | |
| |
| |
How to Execute the XSP Command Manager Commands | |
| |
| |
show data directory | |
| |
| |
show program directory | |
| |
| |
show version | |
| |
| |
show settings | |
| |
| |
show modules | |
| |
| |
refresh | |
| |
| |
heapdump | |
| |
| |
javadump | |
| |
| |
systemdump | |
| |
| |
Working with the OSGi Console | |
| |
| |
diag | |
| |
| |
ss, ss, or ss | |
| |
| |
start | |
| |
| |
stop | |
| |
| |
b | |
| |
| |
headers | |
| |
| |
help | |
| |
| |
How to Launch Notes/Designer Along with the OSGi Console | |
| |
| |
Common Console Commands You Should Know | |
| |
| |
help | |
| |
| |
load [task-name] | |
| |
| |
load [task-name] -? | |
| |
| |
quit | |
| |
| |
restart server | |
| |
| |
tell [task-name] quit | |
| |
| |
restart task [task-name] | |
| |
| |
show server | |
| |
| |
show conf [notes.ini variable] | |
| |
| |
set conf [notes.ini variable=value] | |
| |
| |
tell adminp [options] | |
| |
| |
load chronos [options] | |
| |
| |
load updall [path] [options] | |
| |
| |
load design [source] [target] [options] | |
| |
| |
load fixup [path] [options] | |
| |
| |
show tasks | |
| |
| |
show allports | |
| |
| |
show diskspace | |
| |
| |
show heartbeat | |
| |
| |
Conclusion | |
| |
| |
| |
Working with the XSP Client Side JavaScript Object | |
| |
| |
What Is the XSP Client Side JavaScript Object? | |
| |
| |
Summary of the XSP Client Side JavaScript Object Functions | |
| |
| |
The Public XSP Client Side JavaScript Object Functions | |
| |
| |
XSP.alert(message) : void | |
| |
| |
XSP.confirm(message) : boolean | |
| |
| |
XSP.error(message) : void | |
| |
| |
XSP.prompt(message, defaultValue) : string | |
| |
| |
XSP.djRequire(moduleName) : object | |
| |
| |
XSP.addPreSubmitListener(formId, listener, clientId, scriptId) : void | |
| |
| |
XSP.addQuerySubmitListener(formId, listener, clientId, scriptId) : void | |
| |
| |
XSP.canSubmit() : boolean | |
| |
| |
XSP.allowSubmit() : void | |
| |
| |
XSP.setSubmitValue(submitValue) : void | |
| |
| |
XSP.getSubmitValue() : object | |
| |
| |
XSP.validateAll(formId, valmode, execId) : boolean | |
| |
| |
XSP.getFieldValue(node) : string | |
| |
| |
XSP.getDijitFieldValue(dj) : object | |
| |
| |
XSP.validationError(clientId, message) : void | |
| |
| |
XSP.scrollWindow(x, y) : void | |
| |
| |
XSP.partialRefreshGet(refreshId, options) : void | |
| |
| |
XSP.partialRefreshPost(refreshId, options) : void | |
| |
| |
XSP.attachClientFunction(targetClientId, eventType, clientScriptName) : void | |
| |
| |
XSP.attachClientScript(targetClientId, eventType, clientScript) : void | |
| |
| |
XSP.addOnLoad(listener) : void | |
| |
| |
XSP.showSection(sectionId, show) : void | |
| |
| |
XSP.findForm(nodeOrId) : object | |
| |
| |
XSP.findParentByTag(nodeOrId, tag) : object | |
| |
| |
XSP.getElementById(elementId) : object | |
| |
| |
XSP.hasDijit() : boolean | |
| |
| |
XSP.trim(s) : string | |
| |
| |
XSP.startsWith(s, prefix) : boolean | |
| |
| |
XSP.endsWith(s, suffix) : boolean | |
| |
| |
XSP.toJson(o) : string | |
| |
| |
XSP.fromJson(s) : object | |
| |
| |
XSP.log(message) : void | |
| |
| |
XSP.dumpObject(object) : string | |
| |
| |
How XPages Uses the Dojo Framework | |
| |
| |
Dojo Types and Attributes | |
| |
| |
Working with Dojo Dijits | |
| |
| |
IDs in the HTML Source and the Requirement to Use the "#{id:" Syntax | |
| |
| |
Scripts Accessing Dojo Controls Need to Use dijit.byId | |
| |
| |
Dojo Controls Are Not Available While the HTML Page Is Loading | |
| |
| |
Bad AJAX Requests to an XPage Can Cause Loss of Data | |
| |
| |
XPages Input Validation Can Interact with Dojo Layout Controls | |
| |
| |
Dojo Control Interaction with XPages Partial Update | |
| |
| |
Client-Side Debugging Techniques | |
| |
| |
XSP Object Debug Functions | |
| |
| |
Client-Side Debugging with Dojo | |
| |
| |
Other Miscellaneous Client-Side Debugging Information | |
| |
| |
Conclusion | |
| |
| |
| |
Server-Side Scripting | |
| |
| |
What Can I Do with Server Side JavaScript? | |
| |
| |
XPages Object Model | |
| |
| |
Server-Side Scripting Objects and System Libraries | |
| |
| |
Summary of Server-Side Global Functions | |
| |
| |
getComponent(id:String): UIComponent | |
| |
| |
getClientId(id:String): String | |
| |
| |
getLabelFor(component:UIComponent):UIComponent | |
| |
| |
getView(): UIViewRoot | |
| |
| |
getForm(): UIForm | |
| |
| |
save():void | |
| |
| |
Working with Java Made Simpler | |
| |
| |
Importing Java Packages into Server Side JavaScript | |
| |
| |
Creating Custom Java Classes | |
| |
| |
Creating Managed Beans | |
| |
| |
Conclusion | |
| |
| |
| |
Server-Side Debugging Techniques | |
| |
| |
The "Poor Man's" Debugger | |
| |
| |
print(message) : void & println(message) : void | |
| |
| |
_dump(object) : void | |
| |
| |
Using try/catch Blocks | |
| |
| |
How to Set Up a Server for Remote Debugging | |
| |
| |
Debugging Java Code and Managed Beans | |
| |
| |
Debugging XPages Extension Plug-ins | |
| |
| |
How to Configure notes.ini and rcpinstall.properties for Logging | |
| |
| |
Interpreting a Stack Trace: Where to Go from Here? | |
| |
| |
Understanding the XPages Request Handling Mechanism | |
| |
| |
Understanding the XPages Request Processing Lifecycle | |
| |
| |
XPages Toolbox | |
| |
| |
Conclusion | |
| |
| |
| |
Definitive Resources | |
| |
| |
| |
Useful Online Resources | |
| |
| |
| |
Make Your Own Journal | |
| |
| |
Index | |